[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21734] branches/blender2.5/blender/ release/ui/space_logic.py: fix from last commit.

Dalai Felinto dfelinto at gmail.com
Mon Jul 20 22:42:15 CEST 2009


Revision: 21734
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21734
Author:   dfelinto
Date:     2009-07-20 22:42:13 +0200 (Mon, 20 Jul 2009)

Log Message:
-----------
fix from last commit.
I thought """ """ could be used everywhere to make comments in python

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/space_logic.py

Modified: branches/blender2.5/blender/release/ui/space_logic.py
===================================================================
--- branches/blender2.5/blender/release/ui/space_logic.py	2009-07-20 20:34:14 UTC (rev 21733)
+++ branches/blender2.5/blender/release/ui/space_logic.py	2009-07-20 20:42:13 UTC (rev 21734)
@@ -138,26 +138,14 @@
 		if gs.physics_engine != "NONE":
 			flow.itemR(gs, "physics_gravity")
  
-			split = layout.split()
-			col = split.column()
-			col.itemR(gs, "use_occlusion_culling", text="Enable Occlusion Culling")
+			row = layout.row()
+			row.itemR(gs, "use_occlusion_culling", text="Enable Occlusion Culling")
 	
-			sub = split.column()
-			sub.active = gs.use_occlusion_culling
-			sub.itemR(gs, "occlusion_culling_resolution", text="resol.")
+			row = layout.row()
+			row.active = gs.use_occlusion_culling
+			row.itemR(gs, "occlusion_culling_resolution", text="resol.")
 
-# Activity Culling is deprecated I think. Let's leave it commented by now
-"""
 			split = layout.split()
-			col = split.column()
-			col.itemR(gs, "activity_culling")
-			
-			sub = split.column()
-			sub.active = gs.activity_culling
-			sub.itemR(gs, "activity_culling_box_radius")
-"""
-
-			split = layout.split()
 			col = split.column(align=True)
 			col.itemR(gs, "physics_step_max", text="phys")
 			col.itemR(gs, "physics_step_sub", text="sub")





More information about the Bf-blender-cvs mailing list