Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
29abbccc
Commit
29abbccc
authored
Jun 07, 2020
by
Marcus Elg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix fbx import assimp error
parent
8da68fe9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
editor_scene_importer_assimp.cpp
modules/assimp/editor_scene_importer_assimp.cpp
+2
-1
No files found.
modules/assimp/editor_scene_importer_assimp.cpp
View file @
29abbccc
...
@@ -145,7 +145,8 @@ Node *EditorSceneImporterAssimp::import_scene(const String &p_path, uint32_t p_f
...
@@ -145,7 +145,8 @@ Node *EditorSceneImporterAssimp::import_scene(const String &p_path, uint32_t p_f
// aiProcess_EmbedTextures |
// aiProcess_EmbedTextures |
//aiProcess_SplitByBoneCount |
//aiProcess_SplitByBoneCount |
0
;
0
;
aiScene
*
scene
=
(
aiScene
*
)
importer
.
ReadFile
(
s_path
.
c_str
(),
post_process_Steps
);
String
g_path
=
ProjectSettings
::
get_singleton
()
->
globalize_path
(
p_path
);
aiScene
*
scene
=
(
aiScene
*
)
importer
.
ReadFile
(
g_path
.
utf8
().
ptr
(),
post_process_Steps
);
ERR_FAIL_COND_V_MSG
(
scene
==
nullptr
,
nullptr
,
String
(
"Open Asset Import failed to open: "
)
+
String
(
importer
.
GetErrorString
()));
ERR_FAIL_COND_V_MSG
(
scene
==
nullptr
,
nullptr
,
String
(
"Open Asset Import failed to open: "
)
+
String
(
importer
.
GetErrorString
()));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment