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
Rémi Verschelde
dac150108a
Merge pull request #10846 from hpvb/fix-sign-compare
...
Fix signed and unsigned comparisons
2017-09-01 21:52:55 +02:00
Juan Linietsky
8f30c52a37
Removed ontop property, added a material rendering priority system. Fixes #9935 , closes #10135
2017-09-01 13:01:08 -03:00
Poommetee Ketson
ed606ded52
Fix files header
2017-09-01 21:07:55 +07:00
Rémi Verschelde
bf5b02cb71
Merge pull request #10832 from Paulb23/auto_indent_setting
...
Added setting to toggle auto indent.
2017-09-01 08:14:47 +02:00
Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Daniel J. Ramirez
f1214041c6
Updated Editor Built-In types.
2017-08-31 21:15:30 -05:00
Paulb23
d586b98a20
Added setting to toggle auto indent
2017-08-31 19:42:47 +01:00
Rémi Verschelde
f00760b22c
Merge pull request #10382 from toger5/dark_icons
...
Light Theme
2017-08-31 11:47:18 +02:00
Rémi Verschelde
b3496ee7ab
Merge pull request #10763 from poke1024/realtime-polygon-2d-fix
...
Fixes two glitches in polygon2d wip mode introduced with #10614
2017-08-31 10:57:46 +02:00
toger5
7793bfc544
added icon updating to most ui elements
2017-08-30 21:47:09 +02:00
Scayze
fbda0cc45c
AutoUse Pencil on Polygon creation
2017-08-30 12:52:06 +02:00
Rémi Verschelde
98ad0e5a02
Merge pull request #10743 from djrm/pr_improved_spatial_gizmo
...
Better spatial gizmo.
2017-08-30 12:46:53 +02:00
Rémi Verschelde
fd7ad7d80a
Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signal
...
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-30 12:46:00 +02:00
Juan Linietsky
9c3bddfac2
Merge pull request #10745 from neikeq/fix-docdata-and-stuff
...
DocData and virtual method type hints fixes
2017-08-29 20:11:07 -03:00
poke1024
d8fcc7d1c2
Fixes two glitches in polygon2d wip mode introduced with #10614
2017-08-29 20:29:03 +02:00
Ignacio Etcheverry
c16d00591b
DocData and type hints fixes
...
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types
- Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string.
- PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void.
- Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29 19:40:21 +02:00
Wilson E. Alvarez
a400a65c8a
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-29 10:24:10 -04:00
Juan Linietsky
089cf8176e
removed DISCARD built in variable, replaced by actual discard GLSL instruction, fixes #9677
2017-08-29 10:15:49 -03:00
Daniel J. Ramirez
78c3cf6e68
Better spatial gizmo.
...
Now it is posible to move spatial nodes along a plane.
2017-08-28 20:39:45 -05:00
Rémi Verschelde
0f7376921f
Merge pull request #10614 from poke1024/realtime-polygon-2d
...
Adds realtime updates to polygon 2d editing
2017-08-28 23:58:34 +02:00
Juan Linietsky
8fce79aaee
-Some fixes to code completion.
...
-Fix getter in code completion being displayed when it shouldn't
-Clean up preview generation for editors and exposed it as editor plugin
2017-08-28 00:04:24 -03:00
Rémi Verschelde
7e8a7dea2e
Merge pull request #10667 from Zylann/freelook_inertia
...
Added freelook inertia
2017-08-28 00:06:25 +02:00
Juan Linietsky
d23f323cde
-Moved script run to editor, removed from project
...
-fixed to code completion
-fix shader crash bug reported by tagcup
2017-08-27 19:04:19 -03:00
Rémi Verschelde
7ad14e7a3e
Dead code tells no tales
2017-08-27 22:13:45 +02:00
Juan Linietsky
37da8155a4
-Largely rewrote gridmap to simplify it
...
-Got editor working again
-Added a current-floor marker on selection
2017-08-27 16:02:00 -03:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Marc Gilleron
28e1c88f6e
Added freelook inertia
2017-08-27 02:21:26 +02:00
Rémi Verschelde
612099e377
Merge pull request #10591 from Rubonnek/possible-null-ptr-dereference
...
Added/Fixed null pointer checks
2017-08-27 02:10:56 +02:00
Rémi Verschelde
5976e8d7de
Merge pull request #10625 from Rubonnek/fixed-leaks
...
Fixed several memory leaks
2017-08-27 02:10:32 +02:00
Wilson E. Alvarez
7a07895920
Added/Fixed null pointer checks
2017-08-26 16:58:47 -04:00
Hein-Pieter van Braam
9a1d9a41eb
Add several missing Null checks in _notification
...
This fixes #6118
2017-08-26 22:50:15 +02:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
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
Bernhard Liebl
1ea2b9be72
polygon2d realtime editing
...
editing nodes in the polygon2d editor now updates the polygon in realtime; the previous outline is shown, but this can be disabled via a new editor setting
2017-08-26 11:57:54 +02: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
Wilson E. Alvarez
1577f41653
Fixed several memory leaks
2017-08-25 08:47:05 -04: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