Juan Linietsky
dd7145b778
-Split EditorPlugin into EditorPlugin and EditorInterface
...
-Added EditorInterface to EditorScript
-Added functions to save the scene to EditorInterface
2017-08-26 10:33:07 -03:00
Juan Linietsky
fbfed97a1b
Changed camera interpolation to work when LMB is pressed and no modifiers are pressed
2017-08-26 09:10:57 -03:00
Juan Linietsky
1894157c9f
-Massive clean up to gizmos
...
-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-26 00:47:28 -03:00
Andreas Haas
6134d8741d
Editor: Add some more translatable strings.
2017-08-25 18:49:45 +02:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
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-24 23:08:24 +02:00
Juan Linietsky
36e0a72c77
-Code completion for enumerations
...
-Disabled GDNative and GDNativeScript so build compiles again
2017-08-24 00:06:56 -03:00
Rémi Verschelde
78d9936f8d
Merge pull request #10573 from tagcup/gizmo_aabb_scaling_order
...
Fix the order of transformations for selection bounding box in spatial editor.
2017-08-23 08:10:53 +02:00
Ferenc Arn
d9d9571c8c
Fix the order of transformations for selection bounding box in spatial editor.
...
This was broken in #7438 where the ordering of scaling in Basis::scale() was fixed, but this line of code (which relied on the incorrect behavior) wasn't updated correctly.
Fixes #9894 .
2017-08-22 20:05:41 -04:00
Pedro J. Estébanez
c2a1f3b814
Add ability to undo auto-indent
...
Closes #10420 .
2017-08-22 19:52:17 +02:00
Rémi Verschelde
b759fc47e6
Merge pull request #10538 from groud/fix_useless_separator
...
Fix unneeded separator in Script Editor's Debug menu
2017-08-22 08:49:11 +02:00
Gilles Roudiere
5ea403c0ce
Fix uneeded separator
2017-08-22 08:43:23 +02:00
Rémi Verschelde
c2346b92b2
Merge pull request #10507 from toger5/override_code_them_bg
...
added setting to override the theme background with editor theme color
2017-08-22 08:14:46 +02:00
Hein-Pieter van Braam
24bc47b179
Add null check to ScriptEditor get_current_tab_control() call
...
This fixes #10517
2017-08-22 02:35:04 +02:00
toger5
ce4eb30778
added setting to override the theme background with editor theme color
2017-08-21 23:19:27 +02:00
Wilson E. Alvarez
738d2ab969
Removed unnecessary assignments
2017-08-21 15:15:55 -04:00
Juan Linietsky
541fdffc0a
Merge pull request #10319 from neikeq/pr-engine-editor-hint
...
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Rémi Verschelde
f4e2baae7f
Merge pull request #10476 from Paulb23/delete_current_line_issue_9643
...
Delete current line, issue 9643
2017-08-20 15:25:28 +02:00
Rémi Verschelde
dca8df47b4
Merge pull request #10460 from Zylann/orbit_sensitivity
...
Added option for mouse orbit sensitivity
2017-08-20 15:24:35 +02:00
Rémi Verschelde
5627047c32
Merge pull request #10455 from groud/control_margin_fixes
...
Some control fixes and removed other useless lines
2017-08-20 15:24:00 +02:00
Paulb23
de95e65d10
Delete current line, issue 9643
2017-08-20 13:31:30 +01:00
Marc Gilleron
a88c759ff1
Added option for mouse orbit sensitivity
2017-08-19 21:57:43 +02:00
Gilles Roudiere
06256cd778
Some control fixes and removed useless lines
2017-08-19 19:10:00 +02:00
toger5
475502e638
Removed style box border for script panel. Fixes #10410
2017-08-19 17:30:48 +02:00
Ignacio Etcheverry
90b8a5b71e
Removes editor_hint from SceneTree
2017-08-19 01:29:45 +02:00
Juan Linietsky
cbcf40bd31
-Volume sliders, mute, solo and fx bypass are functional, closes #9021
...
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Juan Linietsky
b20952ebff
Update script signals in real-time when script changes. Fixes #8980
2017-08-18 16:44:03 -03:00
Juan Linietsky
72be8876ea
Properly manage drawing of primitives when they lack an area, fixes #8930
2017-08-18 15:12:48 -03:00
Marcelo Fernandez
eab850524e
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17 19:51:13 -03:00
Rémi Verschelde
19aff15a1a
Tilemap Editor: Setting to hide tile info in the menu bar
...
Based on e513ecb7a1
.
2017-08-16 19:51:55 +02:00
Rémi Verschelde
5485233549
Merge pull request #10300 from H4kor/anchor
...
Show Anchor even when Control-Node is hidden
2017-08-16 17:34:33 +02:00
Rémi Verschelde
b1ecaaa22b
Merge pull request #10307 from Rubonnek/update-argument-names
...
Updated function argument names
2017-08-16 17:17:56 +02:00
Rémi Verschelde
6345347190
Merge pull request #10326 from kubecz3k/spatial-click-improve
...
spatial selection if subscene geometry is far from origin
2017-08-16 17:13:27 +02:00
Juan Linietsky
6380975ee2
Merge pull request #10166 from toger5/asset_lib_style_overrides
...
fixed loading old theme styleboxes.
2017-08-15 20:00:44 -03:00
Juan Linietsky
1ecb48b8c2
Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889
2017-08-15 19:49:28 -03:00
kubecz3k
129ebca41d
Merge pull request #9889 from groud/control_enhancements
...
Control node enhancements
2017-08-15 22:55:49 +02:00
Juan Linietsky
cb0e357d0b
Converting to MeshLibrary works again, fixes #8092
2017-08-15 11:41:17 -03:00
Jakub Grzesik
78e72c8e79
spatial selection if subscene geometry is far from origin
2017-08-14 09:53:46 +02:00
Gilles Roudiere
0041e08f74
Avoids inverted anchors
...
Add a push_opposite_anchor argument pushing the opposite anchor if
needed
2017-08-13 21:20:14 +02:00
Gilles Roudiere
c26af6f2b7
Adds a function to set Anchors with a layout preset
2017-08-13 21:20:14 +02:00
Gilles Roudiere
e8c83b31bd
Added the possibility to move all anchors at once when they are clustered
2017-08-13 21:20:13 +02:00
Gilles Roudiere
f5ff7e9fa0
Make anchors snap to each other
2017-08-13 21:20:13 +02:00
Gilles Roudiere
b73613e1eb
Displays percentages when dragging anchors
2017-08-13 21:20:13 +02:00
Gilles Roudiere
2032cb2522
Simplifies the canvas editor code
2017-08-13 21:20:13 +02:00
Gilles Roudiere
3264cea7ae
Add lines to make understandable when anchors are snapped
2017-08-13 21:20:13 +02:00
Gilles Roudiere
b329cb9c71
Snap anchors when dragged, depending on the zoom level
2017-08-13 21:20:13 +02:00
Gilles Roudiere
fcff42dcb7
Make anchors draggable
2017-08-13 21:20:13 +02:00
Gilles Roudiere
bd0384a9e9
Add anchor visualization
2017-08-13 21:20:13 +02:00
Gilles Roudiere
0d35d4d53b
Replace GUI anchor type by a float between 0 and 1
2017-08-13 21:20:13 +02:00
Niko Abeler
07809c162f
Showing anchor icon in editor if control-node is hidden ( fixes #9542 )
2017-08-13 17:35:59 +02:00
Wilson E. Alvarez
428f03cf06
Updated function argument names
2017-08-12 15:12:49 -04:00