[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4065] contrib/py/scripts/addons/ space_view3d_paint_bprojection.py: Bprojection: set the x location to 1.0, so the plan is immediatly visible

geo kgeo kgeogeo at hotmail.com
Tue Dec 18 21:26:22 CET 2012


Revision: 4065
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4065
Author:   kgeogeo
Date:     2012-12-18 20:26:18 +0000 (Tue, 18 Dec 2012)
Log Message:
-----------
Bprojection: set the x location to 1.0, so the plan is immediatly visible

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-12-18 20:03:31 UTC (rev 4064)
+++ contrib/py/scripts/addons/space_view3d_paint_bprojection.py	2012-12-18 20:26:18 UTC (rev 4065)
@@ -257,7 +257,7 @@
     custom_fnlevel = IntProperty(name="Fast navigate level", description="Increase or decrease the SubSurf level, decrease make navigation faster", default=0)
     
     custom_location = FloatVectorProperty(name="Location", description="Location of the plane",
-                                          default=(0,0,-1.0),
+                                          default=(1.0,0,-1.0),
                                           subtype = 'XYZ', 
                                           soft_min = -10,
                                           soft_max = 10,
@@ -315,7 +315,7 @@
     
     # plane properties 
     Ob.custom_location = FloatVectorProperty(name="Location", description="Location of the plane",
-                                           default  = (0, 0, -1.0),
+                                           default  = (1.0, 0, -1.0),
                                            subtype  = 'XYZ', 
                                            size     = 3,
                                            step     = 0.5,
@@ -819,8 +819,7 @@
             bpy.ops.object.shape_key_add(from_mix = False)
             
             bpy.ops.object.create_view()
-            # ----------------------------------------------
-            # XXX, this isnt future proof, DON'T USE INDEX's - campbell                    
+                    
             km = bpy.data.window_managers['WinMan'].keyconfigs['Blender'].keymaps['3D View']
             l = ['view3d.rotate','view3d.move','view3d.zoom','view3d.viewnumpad','MOUSE','KEYBOARD','MIDDLEMOUSE','WHEELINMOUSE','WHEELOUTMOUSE','NUMPAD_1','NUMPAD_3','NUMPAD_7']
             for kmi in km.keymap_items:
@@ -1403,4 +1402,4 @@
     bpy.utils.unregister_module(__name__)
 
 if __name__ == "__main__":
-    register()
\ No newline at end of file
+    register()



More information about the Bf-extensions-cvs mailing list