Gilles Roudiere
ee61d5d04b
Implement smart snapping. Fixes a bug with anchors single-axis move (when they were rotated).
2017-09-17 23:22:13 +02:00
Gilles Roudiere
a6f577a9f2
Avoid grid step to go below zero
2017-09-17 23:19:05 +02:00
Gilles Roudiere
7c24a26bc2
Use shift to move anchors on a single axis
2017-09-17 23:19:05 +02:00
Gilles Roudiere
bf6d7add01
Implement shortcuts to multiply/divide the grid step
2017-09-17 23:19:05 +02:00
Gilles Roudiere
fc52a74ffc
Fusion the lock/unlock and the group/ungroup buttons
2017-09-17 23:19:05 +02:00
Gilles Roudiere
975f7eeec3
Adds keyboards shortcuts
2017-09-17 23:19:05 +02:00
Gilles Roudiere
335688ce78
Implements rulers
2017-09-17 23:19:05 +02:00
Gilles Roudiere
72e0a68a81
Fixes axis badly displayed with high zooming values
2017-09-17 23:04:30 +02:00
Gilles Roudiere
71b45614fd
Split some functions to make the code more readable (maybe at the price of a neglibile performance loss)
2017-09-17 23:04:30 +02:00
Gilles Roudiere
f48b76fd8d
Make the shortcuts for setting the pivot editable
2017-09-17 23:04:30 +02:00
Gilles Roudiere
69091d4035
Display draggable anchors only if the parent is not a container
2017-09-17 23:04:30 +02:00
Gilles Roudiere
100c788884
Display width and height when dragging a node side
2017-09-17 23:04:30 +02:00
Gilles Roudiere
ad1028471c
Draw a ghost rect when dragging nodes if it's rotated/scaled
2017-09-17 23:04:30 +02:00
Gilles Roudiere
dbc4dbdec1
Displays margins values when moving the node
2017-09-17 23:04:30 +02:00
Rémi Verschelde
7655587efb
Merge pull request #11251 from toger5/q_e_fix_freelook
...
swapped up down shortcut for freelook (to fit unreal)
2017-09-17 22:49:13 +02:00
Rémi Verschelde
4208518c4d
Merge pull request #11356 from Paulb23/text_editor_theme_crash
...
Fixed segfault on loading text editor theme
[ci skip]
2017-09-17 17:57:00 +02:00
Paulb23
a48dc9aa17
Fixed segfault on loading text editor theme
2017-09-17 13:19:38 +00:00
Jakob Schwab
f98f65fd7f
Adds missing shortcuts to TileEditor. Keeps fill-tool selected after use
...
The following keyboard shortcuts are now available:
-Bucket fill (G)
-Paint Tile (P)
-Transpose Tile (T)
Fixes #10918
2017-09-17 13:09:04 +02:00
Rémi Verschelde
c74bab66aa
Merge pull request #11274 from Rubonnek/keep-argument-names-consistent
...
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-17 12:53:48 +02:00
Rémi Verschelde
53990c7bb9
Merge pull request #11196 from poke1024/canvas-old-rect
...
Adds display of old bounding box as suggested by Zephilinox in issue …
2017-09-17 12:44:36 +02:00
Poommetee Ketson
d8ca7d4405
Merge pull request #11282 from djrm/pr_script_editor_auto_theme
...
Added adaptive text editor theme
2017-09-17 08:55:13 +07:00
Poommetee Ketson
5ccaf36c6b
Merge pull request #11338 from marcelofg55/clang_compilefix
...
Compile fix for clang error on spatial_editor_plugin.cpp
2017-09-17 08:25:36 +07:00
Guilherme Felipe
6d13e11373
Add missing icons in animation tree editor
2017-09-16 22:10:01 -03:00
Marcelo Fernandez
ac9c400adc
Compile fix for clang error on spatial_editor_plugin.cpp
2017-09-16 19:16:40 -03:00
Juan Linietsky
82f9836a1c
forgot to set proper default values for new camera interpolation
2017-09-16 12:14:12 -03:00
Juan Linietsky
844c5e12e6
Fixed to InputDefault, button mask was wrong. Fixes to editor camera interpolation.
2017-09-16 12:12:41 -03:00
Daniel J. Ramirez
ba11dc3f48
Added adaptive text editor theme, this includes the shader editor
2017-09-15 16:08:22 -05:00
Wilson E. Alvarez
072e379ffe
Renamed function arguments to keep them consistent between declaration and implementation
2017-09-14 13:49:15 -04:00
poke1024
d9b68c5f5d
adds display of old bounding box as suggested by Zephilinox in issue #10936
2017-09-14 17:46:24 +02:00
Rémi Verschelde
8c08f2380d
Merge pull request #11253 from djrm/pr_better_docs
...
Improved editor docs
2017-09-14 12:06:36 +02:00
Hein-Pieter van Braam
3f4062c708
Merge pull request #11246 from djrm/pr_better_script_temperature
...
More consistent script color temperatures.
2017-09-14 09:05:31 +02:00
Rémi Verschelde
8e8724126c
Merge pull request #11195 from poke1024/fix10936
...
Sprite selection rectangle updates again (fixes #10936 )
2017-09-14 08:58:36 +02:00
Daniel J. Ramirez
d21f20eb5f
Several fixed to editor doc.
...
Improved style
Fixed editor help issues
Added editor help index
2017-09-14 01:13:37 -05:00
poke1024
9ba92f5baa
sprite selection rectangle updates again (fixes issue 10936)
...
sprite selection rectangle was not updating in real time when dragging or rotating sprites; undoing translation/rotation changes did not update sprite rectangles either.
2017-09-14 07:12:50 +02:00
toger5
1d6f19f3a2
swapped up down shortcut for freelook (to fit unreal)
2017-09-14 01:36:42 +02:00
Daniel J. Ramirez
7a362afb88
More consistent script color temperatures.
2017-09-13 14:07:05 -05:00
Rémi Verschelde
97a2ed6fa6
Merge pull request #11081 from djrm/pr_better_3d_grid
...
Better looking spatial editor grid
2017-09-13 19:30:47 +02:00
Rémi Verschelde
27ae3c839d
Merge pull request #7908 from SaracenOne/recast
...
In-editor navmesh generation.
2017-09-13 19:22:29 +02:00
Rémi Verschelde
d85472bef0
Merge pull request #10826 from tuga3d/toggle-comment-behavior
...
Smarter toggle comment block. fixes #10720
2017-09-13 19:21:25 +02:00
Rémi Verschelde
91a85d8805
Merge pull request #11047 from toger5/interpolation_chnage
...
Modify inertia implementation for freelook and orbit
2017-09-12 14:06:04 +02:00
Rémi Verschelde
5f8f8e4922
Merge pull request #11025 from volzhs/script-editor
...
Fit script editor grid with others
2017-09-12 13:39:51 +02:00
Rémi Verschelde
0e8f44016e
Merge pull request #11020 from toger5/theme_animation_editor_colors
...
removed hardcoded color and added theme update for animation editor
2017-09-12 13:29:28 +02: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
cf941fdc35
Merge pull request #11026 from hpvb/fix-assign-in-if
...
Remove assignment and declarations in if statements
2017-09-12 11:57:49 +02:00
toger5
226f2ae2f2
fix always updating +removed print +use EDITOR_DEF
2017-09-11 22:54:49 +02:00
toger5
e835d80a3f
update icons for animation_player_plugin (top bar)
2017-09-09 04:19:43 +02:00
Daniel J. Ramirez
f8dad1e61b
Better looking spatial editor grid
2017-09-08 18:49:30 -05: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
8230bf0a2f
Remove assignment and declarations in if statements
...
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam
67a706fc1b
Fix various assorted warnings
...
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +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
toger5
b1f804094d
Modify inertia implementation for freelook and orbit
...
- freelook now uses position based inertia (holding a key for a
specific time always rults in the same distance traveled independent
of inertia setting)
- orbit inertia now is angle bases. (not transformation based) ->
camera always takes the same path.
- added setting for orbit inertia
- added setting hints for freelook settings.
2017-09-07 15:55:58 +02:00
toger5
44f12be3f4
Revert "Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718 "
...
This reverts commit 895140389a
.
2017-09-07 15:55:58 +02:00
Juan Linietsky
895140389a
Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718
2017-09-07 09:58:38 -03:00
volzhs
41cc85fb20
Fit script editor grid with others
2017-09-07 06:25:57 +09:00
Rémi Verschelde
0b8fa1e010
Remove dead ButtonGroup code
2017-09-06 14:41:34 +02:00
Paulo Gomes
af40c8698b
Smarter toggle comment block. issue #10720
...
Added check to see if all lines in selection are commented (is_commented)
If so remove the comment from each line else add a comment.
If the line is empty, with trailing spaces or tabs, remove those.
This will add an extra comment character to the lines that are already commented,
so when you uncomment a block it retains the previous commented lines.
Following Zylann logic, if the selected lines are all commented out,
it removes one # from each. Otherwise, it adds one.
It works how it is, but i would like some feedback on how to implement this.
2017-09-05 00:04:08 +01:00
Rémi Verschelde
7f262e484a
Merge pull request #10907 from SaracenOne/spatial_edit_drag
...
Added support for drag and drop in spatial editor.
2017-09-04 23:05:31 +02:00
Rémi Verschelde
bba365fab7
Merge pull request #10931 from djrm/pr_style_fixes
...
Improved color temperature in script editor
2017-09-04 22:50:54 +02:00
Rémi Verschelde
729cfa39e2
Merge pull request #10941 from Noshyaar/pr-cursor
...
2DEditor: enhance viewport cursor shape
2017-09-04 22:46:20 +02:00
Saracen
92e77d5ff2
Recast integration.
2017-09-04 21:41:57 +01:00
Juan Linietsky
6d233c651b
-Changed KinematicBody API yet again to make it friendlier
...
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-04 07:49:42 -03:00
Rémi Verschelde
b5d2d0a9a5
Merge pull request #10939 from neikeq/fix-overridden-external-editors
...
Fixes language overridden external editors
2017-09-04 08:12:29 +02:00
Rémi Verschelde
08dde55e4f
Merge pull request #10920 from Paulb23/smooth_scrolling_shader_editor
...
Enabled smooth scrolling for shader editor
2017-09-04 08:07:41 +02:00
Rémi Verschelde
fb263b73aa
Merge pull request #10901 from toger5/script_background_cleanup
...
StyleBoxSupport for RichTextLabel and cleanup for script+docs backgrounds fixes #10685
2017-09-04 08:05:17 +02:00
Rémi Verschelde
ec8f44ed5f
Merge pull request #10895 from Paulb23/fix_delete_animation_frames
...
Fixed delete animation frames in AnimatedSprite, issue 10788
2017-09-04 08:00:21 +02:00
Poommetee Ketson
fd68c3b68f
2DEditor: enhance viewport cursor shape
2017-09-04 11:36:12 +07:00
Ignacio Etcheverry
52a7be4eef
Fixes language overridden external editors
2017-09-03 21:23:36 +02:00
Juan Linietsky
adde89e8b1
-Added an optimization so physics shapes are configured later, speeds up grid map loading and editing
2017-09-03 14:54:15 -03:00
Paulb23
a3c5e84f59
Enabled smooth scrolling for shader editor
2017-09-03 13:32:52 +01:00
Daniel J. Ramirez
215b110cd3
Improved color temperature in script editor
2017-09-03 02:44:59 -05:00
SaracenOne
d3cb8d12ff
Added support for drag and drop in spatial editor.
2017-09-03 05:00:23 +01:00
Paulb23
00ccaa5559
Fixed delete animation frames in AnimatedSprite, issue 10788
2017-09-02 17:35:42 +01:00
toger5
b606285219
Unified script panel backgrounds.
...
- simplefied it with using the new rtl.
- removed ("ScriptPanel", "EditorStyles") for since rtl now can be used
- unified backgrounds when script editor color is set to transparent => option to set background color adapt to theme is deprecated.
2017-09-02 18:28:35 +02:00
toger5
7cb76cd628
Revert "added setting to override the theme background with editor theme color"
...
This reverts commit ce4eb30778
.
2017-09-02 03:55:23 +02: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
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
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
Jakub Grzesik
be8ae8df93
fix crash after click on MeshInstance with no owner
...
Due to how spatial selection works, after clicking on
MeshInstance that had no owner editor was crashing.
2017-08-11 19:59:30 +02:00
Rémi Verschelde
c231bda520
Merge pull request #10240 from djrm/pr_hidden_tilemap_menu
...
Hide tilemap menu when no tilemap is selected
2017-08-11 10:43:07 +02:00
Rémi Verschelde
bed66afee4
Merge pull request #10237 from Paulb23/convert_indent_save_issue_9841
...
Fixed undo when converting indent with no changes, issue 9841
2017-08-11 10:41:32 +02:00
Rémi Verschelde
fd6b9d9ac7
Merge pull request #10231 from djrm/pr_fix_add_sprite_dialog
...
Improved add texture as node dialog
2017-08-11 10:40:46 +02:00
Daniel J. Ramirez
e4a9233a83
Hide tilemap menu when no tilemap is selected
2017-08-10 14:48:48 -05:00
Paulb23
e91bde6521
Fixed undo when converting indent with no changes, issue 9841
2017-08-10 19:23:45 +01:00
Daniel J. Ramirez
03f62495ca
Improved add texture as node dialog
2017-08-10 11:40:28 -05:00
Jakub Grzesik
d2d62122e2
ability to click on spatial subscene to select it
2017-08-09 18:40:02 +02:00
Juan Linietsky
dbb6a39722
Moved mirror and rotations to the tile mapen, to avoid taking up too much toolbar space, fixes #6461
2017-08-08 22:46:26 -03:00
Juan Linietsky
950b205609
Clean up canvas item when changing state, closes #5977
2017-08-08 21:12:32 -03:00
toger5
a9da258a65
fixed loading old theme styleboxes
2017-08-08 18:36:35 +02:00
Juan Linietsky
5e1116da4c
Added proper local transform snapping, closes #4985
2017-08-08 07:55:21 -03:00
Juan Linietsky
1939e83a65
Attempt to resolve #4673
2017-08-08 07:13:17 -03:00
Juan Linietsky
a0d969c560
Revert "fixed loading old theme styleboxes"
2017-08-07 16:00:34 -03:00
Rémi Verschelde
3121b3a4f4
Merge pull request #10141 from ISylvox/lower_case_godot_api
...
Makes all Godot API's Methods lower_case
2017-08-07 14:59:39 +02:00
Rémi Verschelde
b31ba2f187
Merge pull request #10097 from toger5/asset_lib_style_overrides
...
fixed loading old theme styleboxes
2017-08-07 14:47:27 +02:00
Rémi Verschelde
722011bb75
Merge pull request #10082 from Noshyaar/pr-viewport2
...
SpatialEditor: fix "Top", overflow preview button
2017-08-07 14:42:31 +02:00
Rémi Verschelde
307a04268b
Merge pull request #10078 from Noshyaar/pr-viewport
...
SpatialEditor: uniform min/max of fov,znear,zfar
2017-08-07 14:42:03 +02:00
Rémi Verschelde
ebf19d72b5
Merge pull request #9878 from toger5/theme_border_settings_change
...
Theme border settings change + updating styles
2017-08-07 14:07:57 +02:00
Indah Sylvia
5ae78fdf6a
Makes all Godot API's methods Lower Case
2017-08-07 18:24:35 +07:00
toger5
f035e4a24a
fixed loading old theme styleboxes
2017-08-05 01:33:46 +02:00
Poommetee Ketson
1cc655a40d
SpatialEditor: fix "Top", overflow preview button
2017-08-04 20:46:22 +07:00
toger5
3b2a4cc52a
editor: update helps and script panel on theme could change.
2017-08-04 14:57:15 +02:00
Poommetee Ketson
b8feae4db6
SpatialEditor: uniform min/max of fov,znear,zfar
...
Clamp FOV to [0.01, 179], Znear and Zfar to [0.01, 10000]
2017-08-04 18:23:10 +07:00
Andreas Haas
95da12212b
TileMap: Fix infinite loop when trying to bucket-delete empty tiles.
...
Right-clicking when the bucket tool is enabled means "erase all instances of this tile".
So it doesn't make sense to try doing this for empty tiles :P
Fixes #10065
2017-08-03 20:46:13 +02:00
Andreas Haas
708ddb05af
ScriptEditor: ctrl+click can open scenes/resources.
...
Closes #9654
2017-08-02 19:23:57 +02:00
Rémi Verschelde
85088275c5
Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-Sync
...
Texture region now updates when changing an Atlas region rect
2017-08-01 00:15:37 +02:00
Poommetee Ketson
6dde105be7
SpatialEditor: fix transform dialog
2017-07-31 20:00:02 +07:00
Rémi Verschelde
76005a8e75
Style: Apply clang-format on all files
...
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-30 22:53:40 +02:00
Jakub Grzesik
ff5ffeafeb
ScriptEditor -> 'script_close' signal hint correction
2017-07-29 14:22:06 +02:00
Rémi Verschelde
a4c150d26c
Merge pull request #9906 from Noshyaar/pr-theme
...
ThemeEditor: fix broken dialog
2017-07-28 11:14:21 +02:00
Poommetee Ketson
8350e4853e
ThemeEditor: fix broken dialog
2017-07-27 14:17:02 +07:00
Rémi Verschelde
f5c3ee595d
Merge pull request #9852 from groud/canvas_editor_update
...
Some more CanvasItemEditor improvements
2017-07-27 08:52:07 +02:00
Marc Gilleron
754679da0a
Initialize freelook shortcuts properly
2017-07-27 04:00:23 +02:00
Gilles Roudiere
ffe2072741
Change the grid offset when the snap is set as relative
2017-07-25 21:10:43 +02:00
Rémi Verschelde
303370d03d
Merge pull request #9702 from groud/canvas_editor_update
...
[WIP] Canvas editor code clean-up (and improvements)
2017-07-25 08:40:39 +02:00
Juan Linietsky
66009706c9
-Ability to set default import presets for type
...
-More presets for scene importer
-Option in scene importer to export root nodes as separate scenes
-Fixed MeshInstance preview
2017-07-23 18:50:25 -03:00
Rémi Verschelde
bde84112d8
Merge pull request #9788 from Zylann/freelook_modifier
...
Added configurable modifier key to activate freelook
2017-07-23 13:15:46 +02:00
Rémi Verschelde
ba7fdcfd02
Merge pull request #9762 from Paulb23/_scipt_close_tab_selection_issue_8400
...
Fixed script tab selection on file close, issue 8400
2017-07-23 13:09:59 +02:00
Rémi Verschelde
50ab88bf15
Merge pull request #9761 from Noshyaar/pr-fix
...
ScriptEditor: suppress get_child errors
2017-07-23 13:09:47 +02:00