mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Making Godot Easier to Use..
-=-=-=-=-=-=-=-=-=-=-=-=-=-= -Auto indenter in code editor, this makes it much easier to paste external code. -Zoom in 2D viewport now uses the mouse pointer as reference. -Obscure hack to see where code/line of GDScript in C++ backtrace. -Fixed a bug where keys would get stuck on X11 if pressed simultaneously -Added Api on IP singleton to request local IPs. -Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
This commit is contained in:
@@ -98,6 +98,13 @@ void _ResourceSaver::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("save","path","resource:Resource"),&_ResourceSaver::save, DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("get_recognized_extensions","type"),&_ResourceSaver::get_recognized_extensions);
|
||||
|
||||
BIND_CONSTANT(FLAG_RELATIVE_PATHS);
|
||||
BIND_CONSTANT(FLAG_BUNDLE_RESOURCES);
|
||||
BIND_CONSTANT(FLAG_CHANGE_PATH);
|
||||
BIND_CONSTANT(FLAG_OMIT_EDITOR_PROPERTIES);
|
||||
BIND_CONSTANT(FLAG_SAVE_BIG_ENDIAN);
|
||||
BIND_CONSTANT(FLAG_COMPRESS);
|
||||
}
|
||||
|
||||
_ResourceSaver::_ResourceSaver() {
|
||||
|
||||
Reference in New Issue
Block a user