summaryrefslogtreecommitdiff
path: root/modules/assimp/import_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/assimp/import_state.h')
-rw-r--r--modules/assimp/import_state.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/assimp/import_state.h b/modules/assimp/import_state.h
index b16366b38c..ee22800ac4 100644
--- a/modules/assimp/import_state.h
+++ b/modules/assimp/import_state.h
@@ -55,7 +55,6 @@ namespace AssimpImporter {
* This makes the code simpler and contains useful lookups.
*/
struct ImportState {
-
String path;
Node3D *root;
const aiScene *assimp_scene;
@@ -88,6 +87,9 @@ struct ImportState {
// this means we can detect
// what bones are for other armatures
List<aiBone *> bone_stack;
+
+ // EditorSceneImporter::ImportFlags
+ uint32_t import_flags;
};
struct AssimpImageData {
@@ -118,12 +120,12 @@ struct RecursiveState {
bone(_bone) {}
Transform node_transform;
- Skeleton3D *skeleton = NULL;
- Node3D *new_node = NULL;
+ Skeleton3D *skeleton = nullptr;
+ Node3D *new_node = nullptr;
String node_name;
- aiNode *assimp_node = NULL;
- Node *parent_node = NULL;
- aiBone *bone = NULL;
+ aiNode *assimp_node = nullptr;
+ Node *parent_node = nullptr;
+ aiBone *bone = nullptr;
};
} // namespace AssimpImporter