[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3820] contrib/py/scripts/addons/ space_view3d_paint_bprojection.py: BProjection: Fixed more typos.

Gaia Clary gaia.clary at machinimatrix.org
Sat Oct 6 21:11:22 CEST 2012


Revision: 3820
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3820
Author:   gaiaclary
Date:     2012-10-06 19:11:22 +0000 (Sat, 06 Oct 2012)
Log Message:
-----------
BProjection: Fixed more typos. changed default location of plane to <0,0,-1>(previous choice was too arbitrary)

Modified Paths:
--------------
    contrib/py/scripts/addons/space_view3d_paint_bprojection.py

Modified: contrib/py/scripts/addons/space_view3d_paint_bprojection.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_paint_bprojection.py	2012-10-06 14:48:10 UTC (rev 3819)
+++ contrib/py/scripts/addons/space_view3d_paint_bprojection.py	2012-10-06 19:11:22 UTC (rev 3820)
@@ -253,7 +253,7 @@
         em.custom_active_view = self.custom_active_view
 
 class custom_props(bpy.types.PropertyGroup):
-    custom_location = FloatVectorProperty(name="Location", description="Location of the plan",
+    custom_location = FloatVectorProperty(name="Location", description="Location of the plane",
                                            default=(0,0,-1.0),
                                            subtype = 'XYZ', size=3)
                                            
@@ -262,7 +262,7 @@
                                          
     custom_scale = FloatVectorProperty(name="Scales", description="Scale the planes",
                                        subtype = 'XYZ', default=(1.0, 1.0),min = 0.1, size=2)
-    custom_propscale = FloatProperty(name="PropScale", description="Scale the Plan",
+    custom_propscale = FloatProperty(name="PropScale", description="Scale the Plane",
                                            default=1.0,min = 0.1)
                                                                                     
     custom_linkscale = BoolProperty(name="linkscale", default=True)
@@ -290,11 +290,11 @@
 
 # Function to create custom properties
 def createcustomprops(context):
-    Ob = bpy.types.Object    
+    Ob = bpy.types.Object
     
     # plane properties 
-    Ob.custom_location = FloatVectorProperty(name="Location", description="Location of the plan",
-                                           default=(5.0,0.0,-1.0),
+    Ob.custom_location = FloatVectorProperty(name="Location", description="Location of the plane",
+                                           default=(0, 0, -1.0),
                                            subtype = 'XYZ', size=3, update = update_Location)
                                            
     Ob.custom_rotation = FloatProperty(name="Rotation", description="Rotate the plane",
@@ -305,7 +305,7 @@
                                          
     Ob.custom_scale = FloatVectorProperty(name="Scales", description="Scale the planes",
                                           subtype = 'XYZ', default=(1.0, 1.0),min = 0.1, size=2,update = update_Scale)
-    Ob.custom_propscale = FloatProperty(name="PropScale", description="Scale the Plan",
+    Ob.custom_propscale = FloatProperty(name="PropScale", description="Scale the Plane",
                                            default=1.0,min = 0.1,update = update_PropScale)
     Ob.custom_old_scale = FloatVectorProperty(name="old_Scales", description="Old Scale the planes",
                                           subtype = 'XYZ', default=(1.0, 1.0),min = 0.1, size=2)
@@ -313,7 +313,7 @@
     Ob.custom_linkscale = BoolProperty(name="linkscale", default=True, update = update_LinkScale)
     
                                 
-    Ob.custom_sub = IntProperty(name="Subdivide", description="Number of subdivision of the plan",
+    Ob.custom_sub = IntProperty(name="Subdivide", description="Number of subdivision of the plane",
                                      min=0, max=20, default=0)                                
     
     # UV properties



More information about the Bf-extensions-cvs mailing list