fix scale initialization in implicit composition of similarity

This commit is contained in:
Johannes Schönberger
2012-07-22 16:41:58 +02:00
parent be6bb0c809
commit 2ae4dd4551
+1 -1
View File
@@ -339,7 +339,7 @@ class SimilarityTransform(ProjectiveTransform):
"""
if scale is None:
scale = (1, 1)
scale = 1
if rotation is None:
rotation = 0
if translation is None: