mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
23 lines
409 B
C++
23 lines
409 B
C++
#include "editor_plugin_collada_mdr.h"
|
|
|
|
void EditorPluginColladaMdr::_notification(int p_what) {
|
|
switch (p_what) {
|
|
case NOTIFICATION_ENTER_TREE:
|
|
_importer.instance();
|
|
|
|
add_import_plugin(_importer);
|
|
|
|
break;
|
|
case NOTIFICATION_EXIT_TREE:
|
|
remove_import_plugin(_importer);
|
|
|
|
_importer.unref();
|
|
|
|
break;
|
|
}
|
|
}
|
|
|
|
EditorPluginColladaMdr::EditorPluginColladaMdr(EditorNode *node) {
|
|
_node = node;
|
|
}
|