Juan Linietsky
22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
...
Onion skinning
2017-11-26 15:13:35 -03:00
Pedro J. Estébanez
922cf9fbb0
Fix crash on node duplication
...
That happened when an instanced scene was being duplicated while it also contained nodes added to it in the scene holding the instance.
Plus:
- Add comments about the logic behind all this.
- Move the null guard to where it can protect the most, but consider it a runtime error rather that a situation we expect.
Fixes #13282 .
2017-11-25 21:14:35 +01:00
Pedro J. Estébanez
d0e09d84f0
Implement onion skinning for the animation editor
2017-11-25 13:25:14 +01:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Rémi Verschelde
2ea5ac17e8
Merge pull request #13159 from AndreaCatania/ray
...
Removed type_mask and fixed some variable name
2017-11-22 16:40:20 +01:00
Will Nations
e1c907ec73
Node.duplicate(): instanced node's descendants' properties now update
...
w/ original's runtime values.
2017-11-21 23:04:40 -06:00
AndreaCatania
d6e413bb9c
Removed type_mask and fixed some variable name
2017-11-21 22:56:40 +01:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
...
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Bojidar Marinov
0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
...
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Rémi Verschelde
25b860ee2a
Merge pull request #13132 from Chaosus/preserve_dupsignals_flags
...
Preserve duplicate signal flags
2017-11-21 14:25:50 +01:00
Chaosus
fc74dbabd5
Preserve duplicate signal flags
2017-11-21 11:46:19 +03:00
Bernhard Liebl
80ad8afc85
Native pan and zoom for macOS
2017-11-21 09:11:39 +01:00
Pedro J. Estébanez
5a0be858f4
Let SceneTreeDock duplicate nodes via Node::duplicate()
...
Helps with #11182 .
2017-11-19 21:30:17 +01:00
Pedro J. Estébanez
7286966971
Remove out-of-logic assignment of instance's original scene
2017-11-19 21:30:17 +01:00
Pedro J. Estébanez
803b3934d6
Fix duplication of signals
...
- Partially revert 6496b53549
, adding a comment about why duplications of signals must happen as a second phase.
- Add fallback logic for connections to nodes not in the duplicated hierarchy.
- Remove redundant call to `Node::_duplicate_signals()`.
Fixes #12951 .
2017-11-19 15:07:05 +01:00
Ian
12b4e232b2
fix signals disconnecting on changing target node type
2017-11-13 17:44:58 -05:00
Chaosus
6496b53549
Duplicate signals fixes
2017-11-13 18:42:07 +03:00
letheed
482e07af7e
Unify degree members and properties
2017-11-10 12:52:07 +01:00
letheed
ab2647a0d0
Remove deprecated rotation methods
2017-11-10 09:09:30 +01:00
Juan Linietsky
79f81b77e2
-Modules can now add custom version info (added it for Mono)
...
-Version string takes this version info
-Ability to download templates from the interweb (listing does not work yet)
2017-11-01 23:13:27 -03:00
Poommetee Ketson
9cadb9e5f3
Bind unbound enums, rearrange some by value
2017-10-22 01:58:02 +07:00
Poommetee Ketson
9b634180aa
Refactor Fixed to Physics
2017-10-21 21:28:08 +07:00
Rémi Verschelde
f2f75d1f11
Merge pull request #12149 from endragor/check-input-handled
...
Check if input is handled before handling it
2017-10-20 22:47:31 +02:00
Rémi Verschelde
067fc88488
Merge pull request #12224 from NathanWarden/scene_tree_added_signal
...
Added a node_added signal to the SceneTree
2017-10-20 22:10:47 +02:00
geequlim
eeacae563c
Fix window display shrink can't set to float numbers
2017-10-20 12:52:18 +02:00
Nathan Warden
999ad9c0a8
Added a node_added signal to the SceneTree
2017-10-19 10:46:00 -05:00
Poommetee Ketson
f9f3829bd2
Fix Viewport clear mode is bool instead of int, fixes #12202
2017-10-19 18:17:11 +07:00
Ruslan Mustakov
5da02a0d9c
Check if input is handled before handling it
2017-10-16 19:13:33 +07:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Rémi Verschelde
5567cbe6ae
Merge pull request #11545 from Paulb23/line_edit_caret_blink_resetting_issue_10764
...
Fixed caret blink and speed resetting in scenes, issue 10764
[ci skip]
2017-09-25 23:10:32 +02:00
Poommetee Ketson
0761efaf36
Merge pull request #11552 from Tetane/master
...
Add missing constant binding STRETCH_ASPECT_EXPAND in SceneTree
2017-09-25 19:20:52 +07:00
Tetane
b3f3a91e15
Add a missing constant binding in SceenTree
...
Add missing constant binding "STRETCH_ASPECT_EXPAND"
(I cannot test it because godot does not compile anymore on my pc (windows10))
2017-09-24 20:29:18 +02:00
Paulb23
8b80e97338
Fixed caret blink and speed resetting in scenes, issue 10764
2017-09-24 17:22:47 +01:00
Rémi Verschelde
a1779c9044
Merge pull request #11013 from MednauN/master
...
Fix duplication of node with script
2017-09-21 10:53:58 +02:00
Rémi Verschelde
4820dfc570
Let queue_free() work on nodes which are not in the scene tree
...
In practice such nodes could directly be free()'ed, but this little change
prevents users from leaking memory by mistake.
Closes #9074 .
2017-09-20 21:49:56 +02:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
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-20 13:11:10 +02:00
Evgeny Zuev
521280ec44
Fix duplication of node with script
...
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-20 10:56:31 +07:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Rémi Verschelde
aabbd00284
Merge pull request #10908 from hpvb/fix-unused-variables
...
Fix unused variable warnings
2017-09-12 12:55:53 +02:00
Rémi Verschelde
0f006994d8
Merge pull request #11007 from saltares/issue-9988
...
Renames _add_child_below_node() to add_child_below_node(). Fixes #9988 .
2017-09-12 12:04:03 +02:00
Rémi Verschelde
3941e01a57
Merge pull request #11041 from hpvb/fix-clang-format-error
...
Fix serveral recent new clang-format errors
[ci skip]
2017-09-12 11:16:36 +02:00
Bojidar Marinov
ebee9898ca
Fix duplication of nodes resulting in shared metadata
...
Fixes #9547
2017-09-11 12:34:36 +03:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam
5e18967d77
Fix serveral recent new clang-format errors
2017-09-08 00:20:16 +02:00
Juan Linietsky
1eeda0f32f
Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true.
2017-09-07 11:22:07 -03:00
David Saltares
0549484c77
Renames _add_child_below_node() to add_child_below_node(). Closes #9988 .
2017-09-05 22:43:28 +01:00
Hein-Pieter van Braam
9c63ab99f0
Fix use of unitialized variables
...
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
Juan Linietsky
5653477a30
Exposed new ClearMode function to Viewport clases, closes #9995
2017-08-31 11:15:10 -03:00
Juan Linietsky
4d4c1dfc1b
Do not error flood if removing default environment. Closes #9945
2017-08-31 08:56:15 -03:00