summaryrefslogtreecommitdiff
path: root/scene/main/node.cpp
AgeCommit message (Collapse)Author
2017-03-18Merge pull request #8037 from RandomShaper/remove-warningRémi Verschelde
Remove warning on owner re-assignment
2017-03-18Merge pull request #8014 from AlexHolly/fix-remove-and-skipRémi Verschelde
fix remove_and_skip()
2017-03-15Remove warning on owner re-assignmentPedro J. Estébanez
2017-03-12fix remove_and_skip()AlexHolly
2017-03-11Fix connection errors when replacing nodeIgnacio Etcheverry
- Avoid connecting the signals to nonexistent methods - Preserve only persistent connections
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-20Add more options to Node.duplicate()Pedro J. Estébanez
to decide whether signals, groups and/or scripts should be set in the copied nodes or not; it's default value makes the method include everything, as usual
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-14no more errors related to missing GlobalConfig::Get (or so I hope)Juan Linietsky
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-13Node name casing: fix mistake from previous commitRémi Verschelde
2017-01-13Reenable node name case setting + code cleanupsRémi Verschelde
The method _generate_serial_child_name is indeed called relatively often in editor mode, but that commented out code chunk hardly adds to its slowness (and with the default setting, not at all). Also did various related code cleanups and simplifications.
2017-01-12Must now register with set_transform_notify() to get ↵Juan Linietsky
NOTIFICATION_TRANSFORM_CHANGED
2017-01-12Project setting to control node name casingRay Koopa
(cherry picked from commit 87fd54b2f18928213021fef7f330d0c314cf7ac7)
2017-01-12Renamed most signals so they refer to:Juan Linietsky
-An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-10- _ready() callback only happens once now, if you want to receive it again, ↵Juan Linietsky
use request_ready() - C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks - callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-03Begin modifying properties to make them more friendly to script and doc.Juan Linietsky
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-11-30Revert "Do not emit NOTIFICATION_READY more than once (breaking change)"Rémi Verschelde
This reverts commit b6eab006dbd21d25a664486809109fffa9533124. This commit broke compatibility in an undesired way, as outlined in https://github.com/godotengine/godot/issues/3290#issuecomment-263388003
2016-11-17Do not emit NOTIFICATION_READY more than once (breaking change)Bojidar Marinov
Currently, there is no notification with the old behaviour, so probably breaks all cpp code relying on that notification as well.
2016-11-17Guard agains duplicate calling of _ready when instanced in _enter_treeBojidar Marinov
Fixes #6005
2016-11-03Keep groups when replacing nodesIgnacio Etcheverry
2016-10-10Revise serial naming behaviorPedro J. Estébanez
2016-10-08Refactor node naming APIs used by editorPedro J. Estébanez
Make 'name_num_separator' a project setting Make all node operations separator-aware
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
2016-09-07Renamed the bind_native functions to bind_vararg, should make it show the ↵Juan Linietsky
documentation more clearly and also make it easier to bind to C#
2016-08-19Brand new networked multiplayerJuan Linietsky
2016-08-14Added high level networked multiplayer to Godot.Juan Linietsky
It's complete, but absolutely and completely untested, undocumented and NSFW. Have fun :-)
2016-07-19WIP bugfix for existing connectionsJuan Linietsky
2016-07-07Remove unused variables (third pass) + dead codeRémi Verschelde
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-06Fix several bugs related to node duplication and signals, closes #5405Juan Linietsky
2016-06-28Change method of storing folding, solves problems with inheritance, closes #3395Juan Linietsky
2016-06-21Make return type explicit.Saracen
2016-06-20property remove parent owned nodes when using replace, fixes #4128Juan Linietsky
2016-06-13Better error text when trying to add/remove/move child nodes in a busy ↵Juan Linietsky
parent, closes #4838
2016-06-09Preserve signal connections when replacing the target nodeIgnacio Etcheverry
2016-06-07-Heavily improved editor startup and exit performanceJuan Linietsky
2016-06-04Created a NodeDock with signals and groupsJuan Linietsky
2016-05-17-Added configuration warning system for nodesJuan Linietsky
-Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
2016-05-13Node duplication positions under duplicated node, issue 964Paulb23
2016-05-11-begun implementing drag & drop editor wideJuan Linietsky
-filesystem dock dnd support -property list dnd support -scene tree dnd support
2016-05-04Fix wrong return and argument types in documentationIgnacio Etcheverry
2016-04-12Keep editable instances data when replacing tree root nodeIgnacio Etcheverry
2016-03-09remove trailing whitespaceHubert Jarosz
2016-01-22-make sure instance placeholder works with duplicate(), fixes #3378Juan Linietsky