mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix #105965: Add fur modifier properties missing UI data
Currently assigning values to IDProperties clears their UI data. That is fixed by #106161, but that is too risky for 3.5. Instead, work around the issue by triggering `MOD_nodes_update_interface` function which recreates the UI data of the modifier properties. Pull Request: https://projects.blender.org/blender/blender/pulls/106190
This commit is contained in:
parent
3ea5006416
commit
ba4442ef41
1 changed files with 4 additions and 0 deletions
|
|
@ -170,6 +170,10 @@ class QuickFur(ObjectModeOperator, Operator):
|
|||
|
||||
curves_object.modifiers.move(0, len(curves_object.modifiers) - 1)
|
||||
|
||||
# Workaround for #105965: Rebuild UI data of modifier input properties.
|
||||
for modifier in curves_object.modifiers:
|
||||
modifier.node_group = modifier.node_group
|
||||
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue