Browse Source

Merge pull request #67805 from TokageItLab/fix-postimport-anim-arg

Fix passed dictionary to `internal_process()` in importer plugin for animation
Rémi Verschelde 2 năm trước cách đây
mục cha
commit
93df2b0f6d

+ 1 - 1
editor/import/resource_importer_scene.cpp

@@ -1373,7 +1373,7 @@ Node *ResourceImporterScene::_post_fix_node(Node *p_node, Node *p_root, HashMap<
 					}
 					}
 
 
 					for (int i = 0; i < post_importer_plugins.size(); i++) {
 					for (int i = 0; i < post_importer_plugins.size(); i++) {
-						post_importer_plugins.write[i]->internal_process(EditorScenePostImportPlugin::INTERNAL_IMPORT_CATEGORY_ANIMATION, p_root, p_node, anim, node_settings);
+						post_importer_plugins.write[i]->internal_process(EditorScenePostImportPlugin::INTERNAL_IMPORT_CATEGORY_ANIMATION, p_root, p_node, anim, anim_settings);
 					}
 					}
 				}
 				}
 			}
 			}