summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2017-11-01-Modules can now add custom version info (added it for Mono)Juan Linietsky
-Version string takes this version info -Ability to download templates from the interweb (listing does not work yet)
2017-10-22Bind unbound enums, rearrange some by valuePoommetee Ketson
2017-10-21Refactor Fixed to PhysicsPoommetee Ketson
2017-10-20Merge pull request #12149 from endragor/check-input-handledRémi Verschelde
Check if input is handled before handling it
2017-10-20Merge pull request #12224 from NathanWarden/scene_tree_added_signalRémi Verschelde
Added a node_added signal to the SceneTree
2017-10-20Fix window display shrink can't set to float numbersgeequlim
2017-10-19Added a node_added signal to the SceneTreeNathan Warden
2017-10-19Fix Viewport clear mode is bool instead of int, fixes #12202Poommetee Ketson
2017-10-16Check if input is handled before handling itRuslan Mustakov
2017-09-30Renamed fixed_process to physics_processAndreaCatania
2017-09-25Merge pull request #11545 from ↵Rémi Verschelde
Paulb23/line_edit_caret_blink_resetting_issue_10764 Fixed caret blink and speed resetting in scenes, issue 10764 [ci skip]
2017-09-25Merge pull request #11552 from Tetane/masterPoommetee Ketson
Add missing constant binding STRETCH_ASPECT_EXPAND in SceneTree
2017-09-24Add a missing constant binding in SceenTreeTetane
Add missing constant binding "STRETCH_ASPECT_EXPAND" (I cannot test it because godot does not compile anymore on my pc (windows10))
2017-09-24Fixed caret blink and speed resetting in scenes, issue 10764Paulb23
2017-09-21Merge pull request #11013 from MednauN/masterRémi Verschelde
Fix duplication of node with script
2017-09-20Let queue_free() work on nodes which are not in the scene treeRémi Verschelde
In practice such nodes could directly be free()'ed, but this little change prevents users from leaking memory by mistake. Closes #9074.
2017-09-20Rename pos to position in user facing methods and variablesletheed
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
2017-09-20Fix duplication of node with scriptEvgeny Zuev
When duplicating node with script, properties of script weren't copied sometimes. It happened because properties were copied in arbitrary order, and properties of the script were setted before the "script" property itself, i.e. while script is sill NULL. Also, DUPLICATE_SCRIPTS flag wasn't working - script was always copied because `_duplicate` looked for "script/script" property while it should be just "script". Now "script" property is being set before all others, and "script/script" changed to `CoreStringNames::get_singleton()->_script`.
2017-09-13Fix enums bindingsMaxim Sheronov
Add missed bindings for enums Move some enums to class to have correct output of api.json
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-12Merge pull request #11007 from saltares/issue-9988Rémi Verschelde
Renames _add_child_below_node() to add_child_below_node(). Fixes #9988.
2017-09-12Merge pull request #11041 from hpvb/fix-clang-format-errorRémi Verschelde
Fix serveral recent new clang-format errors [ci skip]
2017-09-11Fix duplication of nodes resulting in shared metadataBojidar Marinov
Fixes #9547
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08Fix serveral recent new clang-format errorsHein-Pieter van Braam
2017-09-07Restored auto snapping of controls to pixels, fixes #10847 and probably ↵Juan Linietsky
several more issues. Made it optional in the project settings but defaults to true.
2017-09-05Renames _add_child_below_node() to add_child_below_node(). Closes #9988.David Saltares
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01Fix files headerPoommetee Ketson
2017-08-31Exposed new ClearMode function to Viewport clases, closes #9995Juan Linietsky
2017-08-31Do not error flood if removing default environment. Closes #9945Juan Linietsky
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27Viewport: fix 'size' binding from Rect2 to Vector2Poommetee Ketson
2017-08-27Merge pull request #10579 from quinnyo/rpc-sender-idRémi Verschelde
Method to get ID of RPC calling peer
2017-08-26Add two missing Null checksHein-Pieter van Braam
These Null checks were removed in #10581 but actually changed the logic of the functions in this case. This fixes #10654
2017-08-26Node: Add debug info to add_child reparenting checkRémi Verschelde
Use it to remove buggy add_child in EditorAudioBus
2017-08-26-Massive clean up to gizmosJuan Linietsky
-Make sure handles are always visible (on top) -Fixed instanced scene selection (should work properly now) -Added interpolated camera -Customizable gizmo colors in editor settings
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-23add SceneTree method to get ID of rpc calling peerQuinn Schwab
2017-08-22Add missing NULL check for the new show_about() callMarcelo Fernandez
2017-08-22Fix build after merge of #10254Rémi Verschelde
2017-08-22Merge pull request #10254 from marcelofg55/masterRémi Verschelde
Added notification const NOTIFICATION_WM_ABOUT
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-21Merge pull request #10443 from karroffel/propagate_callRémi Verschelde
add "propagate_call" method to Node
2017-08-20Fixed segfault when hovering over scene tree elements and showing tooltips.Wilson E. Alvarez
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-19add "propagate_call" method to NodeKarroffel
It is possible to propagate a notification down the Node tree by using `propagate_notification`, but there was no such method for doing the same but with method calls. This commit adds the `propagate_call` method, which calls a method on a node and all child nodes. An optional paramter `parent_first` determines whether the parent node gets called before or after the children have been visited. It defaults to false, so the parent gets called last.
2017-08-18Small fix that makes overal UI (including dragging spliiters) much, much faster.Juan Linietsky
Flushing messages meant that for every event, UI was reaccomodating everything. This is relly slow. Messages will have to happen sometime later, during iteration most likely. I still can't fix the overall code editor slowness on Mesa+Radeon, I suspect it's a driver issue.