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:
authorCampbell Barton <ideasman42@gmail.com>2010-09-03 11:25:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-03 11:25:37 +0400
commitd0c54d3d0e77f0ed6b73ed5c3ac100ebd5e58660 (patch)
treee20fc4af058ed1a1dd48f0c8100c32988769b1a4 /release/scripts/ui/properties_physics_softbody.py
parent870469ec0e49f47b61fe9bda27c4b11fdd955d6b (diff)
use set as a suffix (matches operators)
- set_frame() --> frame_set() - set_context_pointer() --> context_pointer_set() material adding works for curves and metaballs, new function to remove materials. materials.link() didnt well fit how this is used elsewhere - order matters - it can be linked more than once. - remove(material), isnt that useful since you need to manage indicies. ... use list style functions instead. materials.append(mat) / materials.pop(index)
Diffstat (limited to 'release/scripts/ui/properties_physics_softbody.py')
-rw-r--r--release/scripts/ui/properties_physics_softbody.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_physics_softbody.py b/release/scripts/ui/properties_physics_softbody.py
index b9c4c87c78d..08abf048c50 100644
--- a/release/scripts/ui/properties_physics_softbody.py
+++ b/release/scripts/ui/properties_physics_softbody.py
@@ -55,7 +55,7 @@ class PHYSICS_PT_softbody(PhysicButtonsPanel, bpy.types.Panel):
if md:
# remove modifier + settings
- split.set_context_pointer("modifier", md)
+ split.context_pointer_set("modifier", md)
split.operator("object.modifier_remove", text="Remove")
row = split.row(align=True)