- add cloth button wasnt working because it was set to execute the operator.

- for adding an operator, start with a blank name and dont write the default one. (still writes each name you type in, will need to fix this properly)
- move the AddPresetBase class into presets.py since all the presets are defined there.
This commit is contained in:
2009-11-22 13:15:21 +00:00
parent 0fe908181e
commit 247f9cfc04
3 changed files with 56 additions and 51 deletions

View File

@@ -78,6 +78,8 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel):
if wide_ui:
split.column()
split.operator_context = 'INVOKE_DEFAULT'
if md:
cloth = md.settings