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
17099eca
Unverified
Commit
17099eca
authored
May 11, 2020
by
Rémi Verschelde
Committed by
GitHub
May 11, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38677 from Calinou/tweak-post-import-script-message
Tweak the error message displayed when a post-import script fails
parents
92022cd4
0d7b6279
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
resource_importer_scene.cpp
editor/import/resource_importer_scene.cpp
+3
-1
No files found.
editor/import/resource_importer_scene.cpp
View file @
17099eca
...
...
@@ -1582,7 +1582,9 @@ Error ResourceImporterScene::import(const String &p_source_file, const String &p
post_import_script
->
init
(
base_path
,
p_source_file
);
scene
=
post_import_script
->
post_import
(
scene
);
if
(
!
scene
)
{
EditorNode
::
add_io_error
(
TTR
(
"Error running post-import script:"
)
+
" "
+
post_import_script_path
);
EditorNode
::
add_io_error
(
TTR
(
"Error running post-import script:"
)
+
" "
+
post_import_script_path
+
"
\n
"
+
TTR
(
"Did you return a Node-derived object in the `post_import()` method?"
));
return
err
;
}
}
...
...
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