BProjection: fix a small bug with shortcut on z location
authorGeo Kgeo <kgeogeo@hotmail.com>
Tue, 3 Apr 2012 10:59:13 +0000 (10:59 +0000)
committerGeo Kgeo <kgeogeo@hotmail.com>
Tue, 3 Apr 2012 10:59:13 +0000 (10:59 +0000)
space_view3d_paint_bprojection.py

index 23a369df908d7482df4deb658eaa068aaddc9346..1d121088811acc3bd42f6ed67147cb6cf128408c 100644 (file)
@@ -680,7 +680,7 @@ class RotateView3D(Operator):
                     ob.custom_scale = [s[0] + deltax/20, s[1] + deltay/20]
                                           
             if 'Z' in self.key:                
-                ob.custom_z+=deltax/10
+                ob.custom_location.z+=deltax/10
                       
             if 'R' in self.key:
                 ob.custom_rotation+=deltax