Solved a bug when creating a new geometry object: the sale factor is initialized first to ensure it is initialized before it is used.
assigned to @fherrero
mentioned in commit 98223daa
merged