Skip to content

Commit

Permalink
fix: render trigger before first rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
xVanTuring committed Jul 16, 2024
1 parent d9f7ba1 commit 06354fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion importer/scene_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ def find_sbs_graph_class(self, importing_graph: ImportingGraphItem, m_sublender)

def configure_graph(self, active_material_template, clss_info, clss_name, material):
graph_setting = getattr(material, clss_name)
setattr(graph_setting, consts.SBS_CONFIGURED, True)
if active_material_template != consts.CUSTOM:
self.inflate_material_by_template(active_material_template, clss_info, graph_setting, material)
else:
self.enable_all_output(clss_info, graph_setting)
setattr(graph_setting, consts.SBS_CONFIGURED, True)

def enable_all_output(self, clss_info, graph_setting):
for output_info in clss_info.output_info.list:
Expand Down

0 comments on commit 06354fb

Please sign in to comment.