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
76289b5d
Commit
76289b5d
authored
May 15, 2017
by
Rémi Verschelde
Committed by
GitHub
May 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8761 from noshyaar/pr2
AssetInstaller: fix toggling dir bug, scan after install
parents
27dd4151
3ee1952e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
editor_asset_installer.cpp
editor/editor_asset_installer.cpp
+2
-0
No files found.
editor/editor_asset_installer.cpp
View file @
76289b5d
...
...
@@ -184,6 +184,7 @@ void EditorAssetInstaller::open(const String &p_path, int p_depth) {
dir_map
[
path
]
=
ti
;
ti
->
set_text
(
0
,
path
.
get_file
()
+
"/"
);
ti
->
set_icon
(
0
,
get_icon
(
"folder"
,
"FileDialog"
));
ti
->
set_metadata
(
0
,
String
());
}
else
{
String
file
=
path
.
get_file
();
String
extension
=
file
.
get_extension
().
to_lower
();
...
...
@@ -305,6 +306,7 @@ void EditorAssetInstaller::ok_pressed() {
if
(
EditorNode
::
get_singleton
()
!=
NULL
)
EditorNode
::
get_singleton
()
->
show_warning
(
"Package Installed Successfully!"
,
"Success!"
);
}
EditorFileSystem
::
get_singleton
()
->
scan_changes
();
}
void
EditorAssetInstaller
::
_bind_methods
()
{
...
...
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