MaterialX Realtime results update in viewport render #10

Merged
Bogdan Nagirniak merged 4 commits from Vasyl-Pidhirskyi/blender-addons:BLEN-412 into materialx-addon 2023-05-18 08:22:01 +02:00
Showing only changes of commit 012e5e0bdd - Show all commits

View File

@ -373,7 +373,8 @@ class MxNode(bpy.types.ShaderNode):
if f: if f:
self.inputs[i].hide = not getattr(self, self._folder_prop_name(f)) self.inputs[i].hide = not getattr(self, self._folder_prop_name(f))
self.update_prop(context) if context:
self.update_prop(context)
def check_ui_folders(self): def check_ui_folders(self):
if not self._ui_folders: if not self._ui_folders: