Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2013-04-25 14:05:49 +0400
committerJoshua Leung <aligorith@gmail.com>2013-04-25 14:05:49 +0400
commitfa02cccf2a7b03f22d9f318fa27321d19027669e (patch)
treecd196a9be7d8574acc86c2f5b74609fca628825c /release/scripts
parenta25703eb36c6d88d93e2d0645d413c339ce82d36 (diff)
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).
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index dc73d5981d7..f949cbd9745 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -524,16 +524,16 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
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 @@ class PARTICLE_PT_physics(ParticleButtonsPanel, Panel):
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