aboutsummaryrefslogtreecommitdiff
path: root/scene/main
Commit message (Collapse)AuthorAgeFilesLines
* Renamed fixed_process to physics_processAndreaCatania2017-09-307-69/+69
|
* Merge pull request #11545 from ↵Rémi Verschelde2017-09-251-1/+1
|\ | | | | | | | | | | | | Paulb23/line_edit_caret_blink_resetting_issue_10764 Fixed caret blink and speed resetting in scenes, issue 10764 [ci skip]
| * Fixed caret blink and speed resetting in scenes, issue 10764Paulb232017-09-241-1/+1
| |
* | Merge pull request #11552 from Tetane/masterPoommetee Ketson2017-09-251-0/+1
|\ \ | |/ |/| Add missing constant binding STRETCH_ASPECT_EXPAND in SceneTree
| * Add a missing constant binding in SceenTreeTetane2017-09-241-0/+1
| | | | | | | | Add missing constant binding "STRETCH_ASPECT_EXPAND" (I cannot test it because godot does not compile anymore on my pc (windows10))
* | Merge pull request #11013 from MednauN/masterRémi Verschelde2017-09-211-1/+12
|\ \ | | | | | | Fix duplication of node with script
| * | Fix duplication of node with scriptEvgeny Zuev2017-09-201-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | Let queue_free() work on nodes which are not in the scene treeRémi Verschelde2017-09-201-2/+5
| | | | | | | | | | | | | | | | | | In practice such nodes could directly be free()'ed, but this little change prevents users from leaking memory by mistake. Closes #9074.
* | | Rename pos to position in user facing methods and variablesletheed2017-09-202-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | 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.
* | Fix enums bindingsMaxim Sheronov2017-09-131-0/+9
| | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde2017-09-122-6/+0
|\ \ | | | | | | Fix unused variable warnings
| * | Fix unused variable warningsHein-Pieter van Braam2017-09-082-6/+0
| |/ | | | | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* | Merge pull request #11007 from saltares/issue-9988Rémi Verschelde2017-09-121-1/+1
|\ \ | | | | | | Renames _add_child_below_node() to add_child_below_node(). Fixes #9988.
| * | Renames _add_child_below_node() to add_child_below_node(). Closes #9988.David Saltares2017-09-051-1/+1
| | |
* | | Merge pull request #11041 from hpvb/fix-clang-format-errorRémi Verschelde2017-09-121-2/+1
|\ \ \ | | | | | | | | | | | | | | | | Fix serveral recent new clang-format errors [ci skip]
| * | | Fix serveral recent new clang-format errorsHein-Pieter van Braam2017-09-081-2/+1
| | |/ | |/|
* / | Fix duplication of nodes resulting in shared metadataBojidar Marinov2017-09-111-2/+19
|/ / | | | | | | Fixes #9547
* / Restored auto snapping of controls to pixels, fixes #10847 and probably ↵Juan Linietsky2017-09-072-0/+23
|/ | | | several more issues. Made it optional in the project settings but defaults to true.
* Fix use of unitialized variablesHein-Pieter van Braam2017-09-021-2/+2
| | | | The second in my quest to make Godot 3.x compile with -Werror on GCC7
* Fix files headerPoommetee Ketson2017-09-012-2/+2
|
* Exposed new ClearMode function to Viewport clases, closes #9995Juan Linietsky2017-08-312-20/+21
|
* Do not error flood if removing default environment. Closes #9945Juan Linietsky2017-08-311-0/+4
|
* Dead code tells no talesRémi Verschelde2017-08-274-162/+13
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2716-16/+16
|
* Viewport: fix 'size' binding from Rect2 to Vector2Poommetee Ketson2017-08-271-1/+1
|
* Merge pull request #10579 from quinnyo/rpc-sender-idRémi Verschelde2017-08-272-0/+12
|\ | | | | Method to get ID of RPC calling peer
| * add SceneTree method to get ID of rpc calling peerQuinn Schwab2017-08-232-0/+12
| |
* | Add two missing Null checksHein-Pieter van Braam2017-08-261-1/+4
| | | | | | | | | | | | | | These Null checks were removed in #10581 but actually changed the logic of the functions in this case. This fixes #10654
* | Node: Add debug info to add_child reparenting checkRémi Verschelde2017-08-261-7/+11
| | | | | | | | Use it to remove buggy add_child in EditorAudioBus
* | -Massive clean up to gizmosJuan Linietsky2017-08-261-1/+1
| | | | | | | | | | | | | | -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
* | Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-244-76/+63
|/ | | | | | | | | | | | 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/
* Add missing NULL check for the new show_about() callMarcelo Fernandez2017-08-221-1/+1
|
* Fix build after merge of #10254Rémi Verschelde2017-08-221-1/+1
|
* Merge pull request #10254 from marcelofg55/masterRémi Verschelde2017-08-221-0/+14
|\ | | | | Added notification const NOTIFICATION_WM_ABOUT
| * Added notification const NOTIFICATION_WM_ABOUTMarcelo Fernandez2017-08-171-0/+14
| |
* | Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky2017-08-218-66/+72
|\ \ | | | | | | ClassDB: Provide the enum name of integer constants
| * | ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-208-66/+72
| | |
* | | Merge pull request #10443 from karroffel/propagate_callRémi Verschelde2017-08-212-0/+20
|\ \ \ | | | | | | | | add "propagate_call" method to Node
| * | | add "propagate_call" method to NodeKarroffel2017-08-192-0/+20
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fixed segfault when hovering over scene tree elements and showing tooltips.Wilson E. Alvarez2017-08-201-0/+4
| | |
* | | Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-204-31/+10
|\ \ \ | |/ / |/| | Adds Engine::is_editor_hint() method
| * | Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-194-31/+10
| | |
* | | Small fix that makes overal UI (including dragging spliiters) much, much faster.Juan Linietsky2017-08-181-77/+2
| | | | | | | | | | | | | | | | | | 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.
* | | Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-162-5/+5
| | | | | | | | | | | | Fixes #10244.
* | | Allow zero-padded serial namingPedro J. Estébanez2017-08-161-1/+2
| | | | | | | | | | | | | | | | | | Thereby, the editor will acknowledge node namings such as _Thing003_ so that a duplicate, for instance, will be named _Thing004_, instead of _Thing4_, that was the case formerly. Closes #7758.
* | | Merge pull request #9889 from groud/control_enhancementskubecz3k2017-08-151-2/+2
|\ \ \ | | | | | | | | Control node enhancements
| * | | Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-2/+2
| | |/ | |/|
* | | Fix debug materials, closes #8607Juan Linietsky2017-08-151-20/+21
| | |
* | | Ensure nothing is found outside modal stack, but keep logic going. Fixes #7622Juan Linietsky2017-08-151-2/+1
|/ /
* | Merge pull request #10198 from jjay/f/stretch_aspect_expandRémi Verschelde2017-08-112-5/+5
|\ \ | |/ |/| Add "expand" option for stretch aspect, no more black bars