[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56288] trunk/blender/release/scripts/ startup/bl_ui/properties_particle.py: Bugfix [#35075] Physics Panel of Particles Fluid is Truncated
Joshua Leung
aligorith at gmail.com
Thu Apr 25 12:05:49 CEST 2013
Revision: 56288
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56288
Author: aligorith
Date: 2013-04-25 10:05:49 +0000 (Thu, 25 Apr 2013)
Log Message:
-----------
Bugfix [#35075] Physics Panel of Particles Fluid is Truncated
Some RNA Properties were not updated in UI scripts after a recent refactoring
there removing "use_" prefix from some of the boolean properties (strangely
though, while every other property attached to SPHFluidSettings.flag has gone
from "use_factor_blah" to "factor_blah", use_factor_density still keeps the old
prefix).
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_particle.py 2013-04-25 09:39:03 UTC (rev 56287)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_particle.py 2013-04-25 10:05:49 UTC (rev 56288)
@@ -524,16 +524,16 @@
if fluid.solver == 'DDR':
sub = col.row()
- sub.prop(fluid, "repulsion", slider=fluid.use_factor_repulsion)
- sub.prop(fluid, "use_factor_repulsion", text="")
+ sub.prop(fluid, "repulsion", slider=fluid.factor_repulsion)
+ sub.prop(fluid, "factor_repulsion", text="")
sub = col.row()
- sub.prop(fluid, "stiff_viscosity", slider=fluid.use_factor_stiff_viscosity)
- sub.prop(fluid, "use_factor_stiff_viscosity", text="")
+ sub.prop(fluid, "stiff_viscosity", slider=fluid.factor_stiff_viscosity)
+ sub.prop(fluid, "factor_stiff_viscosity", text="")
sub = col.row()
- sub.prop(fluid, "fluid_radius", slider=fluid.use_factor_radius)
- sub.prop(fluid, "use_factor_radius", text="")
+ sub.prop(fluid, "fluid_radius", slider=fluid.factor_radius)
+ sub.prop(fluid, "factor_radius", text="")
sub = col.row()
sub.prop(fluid, "rest_density", slider=fluid.use_factor_density)
@@ -563,8 +563,8 @@
col = split.column()
col.label(text="Advanced:")
sub = col.row()
- sub.prop(fluid, "rest_length", slider=fluid.use_factor_rest_length)
- sub.prop(fluid, "use_factor_rest_length", text="")
+ sub.prop(fluid, "rest_length", slider=fluid.factor_rest_length)
+ sub.prop(fluid, "factor_rest_length", text="")
col.label(text="")
sub = col.column()
sub.active = fluid.use_viscoelastic_springs
More information about the Bf-blender-cvs
mailing list