[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40558] trunk/blender: add missing imports to wm.py and remove "." from rna descriptions.
Campbell Barton
ideasman42 at gmail.com
Mon Sep 26 11:31:25 CEST 2011
Revision: 40558
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40558
Author: campbellbarton
Date: 2011-09-26 09:31:24 +0000 (Mon, 26 Sep 2011)
Log Message:
-----------
add missing imports to wm.py and remove "." from rna descriptions.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_operators/wm.py
trunk/blender/source/blender/makesrna/intern/rna_particle.c
Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py 2011-09-26 08:51:02 UTC (rev 40557)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py 2011-09-26 09:31:24 UTC (rev 40558)
@@ -1321,6 +1321,7 @@
)
def execute(self, context):
+ import os
from os.path import basename
import shutil
@@ -1826,6 +1827,7 @@
@staticmethod
def path_from_addon(module):
+ import os
import addon_utils
for mod in addon_utils.modules(addon_utils.addons_fake_modules):
Modified: trunk/blender/source/blender/makesrna/intern/rna_particle.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_particle.c 2011-09-26 08:51:02 UTC (rev 40557)
+++ trunk/blender/source/blender/makesrna/intern/rna_particle.c 2011-09-26 09:31:24 UTC (rev 40558)
@@ -2068,7 +2068,7 @@
prop= RNA_def_property(srna, "courant_target", PROP_FLOAT, PROP_NONE);
RNA_def_property_range(prop, 0.01, 10);
RNA_def_property_float_default(prop, 0.2);
- RNA_def_property_ui_text(prop, "Adaptive Subframe Threshold", "The relative distance a particle can move before requiring more subframes (target Courant number). 0.1-0.3 is the recommended range.");
+ RNA_def_property_ui_text(prop, "Adaptive Subframe Threshold", "The relative distance a particle can move before requiring more subframes (target Courant number). 0.1-0.3 is the recommended range");
RNA_def_property_update(prop, 0, "rna_Particle_reset");
prop= RNA_def_property(srna, "jitter_factor", PROP_FLOAT, PROP_NONE);
@@ -2881,7 +2881,7 @@
* ParticleSettings.courant_target instead. */
prop= RNA_def_property(srna, "dt_frac", PROP_FLOAT, PROP_NONE);
RNA_def_property_range(prop, 1.0f/101.0f, 1.0f);
- RNA_def_property_ui_text(prop, "Timestep", "The current simulation time step size, as a fraction of a frame.");
+ RNA_def_property_ui_text(prop, "Timestep", "The current simulation time step size, as a fraction of a frame");
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
RNA_def_struct_path_func(srna, "rna_ParticleSystem_path");
@@ -2903,4 +2903,3 @@
}
#endif
-
More information about the Bf-blender-cvs
mailing list