- 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:
@@ -78,6 +78,8 @@ class PHYSICS_PT_cloth(PhysicButtonsPanel):
|
||||
if wide_ui:
|
||||
split.column()
|
||||
|
||||
split.operator_context = 'INVOKE_DEFAULT'
|
||||
|
||||
if md:
|
||||
cloth = md.settings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user