MustardUI icon indicating copy to clipboard operation
MustardUI copied to clipboard

Error won't allow to add custom shader properties

Open mokujinh opened this issue 1 year ago • 0 comments

Error:

Python: Traceback (most recent call last):
  File "C:\Users\Username\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\MustardUI\menu\menu_configure.py", line 125, in draw
    sec = rig_settings.body_custom_properties_sections[scene.mustardui_section_uilist_index]
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: bpy_prop_collection[index]: index 0 out of range, size 0

The conditions for this error may be (not sure) because I added the old MustardUI Float/Bool names to the initial values for some skin shader properties, example: Value node name: MustardUI Float - Subsurface Value node label: Subsurface

While working in configuration mode every other option (including end configuration mode) will disappear after that error message, it'll come back after I manually delete the shader property, BUT it won't let me manually add the node values properties again without the error showing up again now, even after changing back the value nodes names without the mustardui part on it, not allowing me to continue configuring the model.

mokujinh avatar May 13 '24 06:05 mokujinh