You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
-Support for changing fonts
-Detect when free() might crash the project and throw error -fixed 2D Bounce in physics (3d still broken) -renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible. -large amount of fixes
This commit is contained in:
@@ -909,7 +909,14 @@ void CustomPropertyEditor::_action_pressed(int p_which) {
|
||||
Vector<String> extensions=hint_text.split(",");
|
||||
for(int i=0;i<extensions.size();i++) {
|
||||
|
||||
file->add_filter("*."+extensions[i]+" ; "+extensions[i].to_upper() );
|
||||
String filter = extensions[i];
|
||||
if (filter.begins_with("."))
|
||||
filter="*"+extensions[i];
|
||||
else if (!filter.begins_with("*"))
|
||||
filter="*."+extensions[i];
|
||||
|
||||
|
||||
file->add_filter(filter+" ; "+extensions[i].to_upper() );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user