Commit Graph

1234 Commits

Author SHA1 Message Date
Juan Linietsky d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud de01b7941d Fixes 2D IK 2018-09-20 22:33:49 +02:00
Rémi Verschelde 76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
Rémi Verschelde 46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde 14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde 69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
Add files to tree view
2018-09-20 18:32:13 +02:00
Rémi Verschelde 9136f1287e
Merge pull request #22282 from ibrahn/spatial_editor_origin_init
fix branch on uninit in spatial_editor_plugin
2018-09-20 15:50:41 +02:00
Chaosus e4c8efd051 Fix "This control can't grab focus." warning spam 2018-09-20 15:29:38 +03:00
Ibrahn Sahir ce15cf8ebc fix branch on uninit in spatial_editor_plugin
Moved the initialisation of origin_enabled up a bit, to be inited before
it's accessed in _init_grid. A step towards cleaner valgrind output and
removes an opportunity for a random occurance of the origin/grid
z-fighting issue.

Also removed unused variable last_grid_snap to avoid later confusion.
2018-09-20 13:06:13 +01:00
Rémi Verschelde 0a6626a5d1
Merge pull request #22268 from DualMatrix/highlight_no_save
Fixed syntax highlighting setting not being saved
2018-09-20 13:51:33 +02:00
DualMatrix 494354c835 Added ability to hide edit lock and groups in editor view
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
DualMatrix 4efcf9c943 Fixed syntax highlighting setting not being saved
Fixed syntax highlighting setting not being saved
2018-09-20 11:31:53 +02:00
groud c3e66536cc Fixes polygon editor blocking other editor actions (move, scale...) 2018-09-19 14:26:04 +02:00
groud e1c92e32e6 Fixes selection of toplevel CanvasItems in the editor 2018-09-19 11:05:24 +02:00
Chaosus a3fdaa4f21 Disconnect previous visual shader node connection before new connect 2018-09-19 10:30:45 +03:00
Rémi Verschelde 58c8c05012
Merge pull request #22096 from elasota/fix-visual-shader-colors
Fix visual shader color constants not retaining edits
2018-09-19 08:40:49 +02:00
groud 5172642c32 Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
Michael Alexsander Silva Dias 75d5d81b8a Remove unnecessary "OK"s text settings 2018-09-15 21:40:50 -03:00
Rémi Verschelde 437af1450e
Merge pull request #22111 from Chaosus/unification
Few unification fixes for canvas_item and spatial editor toolbars
2018-09-16 01:26:36 +02:00
Chaosus 2fe0365661 Few unifications between canvas_item and spatial editors 2018-09-15 18:44:26 +03:00
Rémi Verschelde 2cf024ed91
Merge pull request #22069 from scayze/fix_reload_scripts
Fix scripts not reloading when edited externally
2018-09-15 15:10:56 +02:00
elasota 37595e183d Fix visual shader color constants not retaining edits 2018-09-15 02:47:38 -04:00
elasota f5c7d64492 Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
Rémi Verschelde d934cbcbc9 Set default CanvasItemEditor zoom shortcut to KEY_EQUAL
At least on en_US QWERTY (and various QWERTY-derived variants)
and fr_FR AZERTY, "+" is an indirect key obtained by pressing
"Shift" + "=", so using "=" in the binding makes it easier to
access.

It doesn't work this way on other layouts like de_DE QWERTZ though,
but since 'script_editor/zoom_in' also uses KEY_EQUAL, setting
the same for consistency.

Fixes #22067.
2018-09-14 21:42:47 +02:00
Manuel Strey ebd518c9c9 fix scripts not reloading when edited externally 2018-09-14 17:24:12 +02:00
willnationsdev 5436abefe4 Refactor editor icon retrieval 2018-09-14 09:27:56 -05:00
groud b2633a97b9 Add thumnails to the tree view 2018-09-14 10:14:33 +02:00
Rémi Verschelde ae8f984cf3
Merge pull request #21730 from reisraff/fixing_key_shortcut
#21500 Fixing key shortcut
2018-09-13 12:09:17 +02:00
Rémi Verschelde 6c20c3a534
Merge pull request #21819 from DualMatrix/built-in-script
Made editor automatically open the scene of built in scripts
2018-09-13 11:27:22 +02:00
Rémi Verschelde 1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz 08bde5b2de Misc. typos
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde 68cc2cf3bf
Merge pull request #21997 from akien-mga/fix-script-name
Fix default script name in ScriptCreateDialog
2018-09-12 16:42:54 +02:00
Rémi Verschelde f98d946cd9
Merge pull request #21934 from groud/add_scale_mode
Add a scale mode to the 2D editor
2018-09-12 14:24:33 +02:00
Rémi Verschelde fb77cdf2f2 Fix default script name in ScriptCreateDialog
It would default either to '.gd' when created from the script editor,
or to 'res:///NodeName.gd' (three '/') when created from the scene tree dock.
2018-09-12 12:29:50 +02:00
Rémi Verschelde c7fc3dcab3
Merge pull request #21878 from RyanStein/bugfix-14400
Make `_sort_list_on_update` true before opening files, fixes 14400
2018-09-12 11:18:10 +02:00
Rémi Verschelde 1db4b307f9
Merge pull request #21984 from groud/fix_2D_selection
Fix 2D selection
2018-09-12 11:13:36 +02:00
Rémi Verschelde 277b24dfb7 Make core/ includes absolute, remove subfolders from include path
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
groud 9dc81e6ca7 Fix 2D selection 2018-09-11 20:58:01 +02:00
groud 2f316bc608 Add a scale mode to the 2D editor 2018-09-11 17:48:57 +02:00
Rémi Verschelde 45b609f46a Replace last occurrences of PropertyEditor by EditorInspector
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin

Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Hugo Locurcio 621a5457ed
Display camera coordinates in the 3D viewport's information pane 2018-09-11 00:04:09 +02:00
Rémi Verschelde 96014b6391
Merge pull request #21911 from groud/fix_locked_nodes
Fixes 2D nodes lock not working
2018-09-10 23:43:25 +02:00
groud 1d83f36a26 Fixes 2D nodes lock not working 2018-09-09 22:17:54 +02:00
Ryan Stein 1cdc04c9c4 Check for double-colon on open recent script. 2018-09-08 22:26:05 -04:00
Ryan Stein 7fdb8f72c0 Make `_sort_list_on_update` true before opening new help or script files in the ScriptEditor. 2018-09-08 14:33:54 -04:00
DualMatrix 3f672307d7 Made editor automatically open scenes of built in scripts.
Made editor automatically open scenes of built in scripts when attempting to open that script.
2018-09-07 00:34:39 +02:00
Rémi Verschelde 8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde 5fe01d4cfc Move ParticlesMaterial code to its own resource file
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.

Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
paul gruenbacher 8c14cd5b69 added get_camera_method to spatial editor plugin viewport
amend

added get_camera_method to spatial editor plugin viewport
2018-09-03 14:00:21 -04:00
Rafael Reis d1d1f4a776 #21500 Fixing key shortcut 2018-09-03 11:39:07 -03:00
JFonS 4a412943d4 Fix selection of instanced scenes in 3D 2018-09-02 22:31:03 +02:00
Hugo Locurcio af139af69e
Fix some editor shortcuts' default values not being set properly
This also changes the uppercase/lowercase/capitalize shortcuts
to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts
with the new Find Next shortcut.

This closes #21612.
2018-09-01 16:20:47 +02:00
JFonS 07d9b7af7a Fix regression #21262 in Path Gizmo
closes #21262
2018-08-30 14:24:24 +02:00
Rémi Verschelde 9eb4d4ab2d Add missing copyright headers 2018-08-29 22:41:17 +02:00
Marcelo Fernandez 20bea1e231 Unexpose TileMap set_celld 2018-08-29 09:00:00 -03:00
Rémi Verschelde 6c8aa939e4
Merge pull request #21539 from yurchor/master
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan 06e73522dc Fix vformat(), minor typos and word puzzles 2018-08-29 11:50:39 +03:00
Rémi Verschelde b6c170165c
Merge pull request #21485 from JFonS/fix_selection
Saner selection code for instanced scenes in 3D,  should close #21447
2018-08-29 10:08:41 +02:00
Rémi Verschelde 7e79fb80db Fix z-fighting on origin grid lines in spatial editor
Fixes #21264.
2018-08-29 09:27:50 +02:00
Tommi Komulainen aded18104b Scale the Item List Editor window size with the editor scale
Makes the dialog bigger and more usable on HiDPI screens.

Fixes #21520
2018-08-28 19:17:29 +02:00
Rémi Verschelde ac38b7e97b
Merge pull request #21496 from tko/macos-complete
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
2018-08-28 07:40:55 +02:00
Tommi Komulainen c2f0b4c9c6 [macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
The default shortcut for Spotlight search is Command+Space so try not to
use it. Instead use Ctrl+Space similar to Xcode.
2018-08-27 20:39:43 +02:00
Tommi Komulainen 464756ec0f [macOS] fix conflicting keybindings for (Find and) Replace...
```
Play Scene        Command+R           (no change)
Replace...        Command+R        => Option+Command+F
Find Function...  Option+Command+F =>   Ctrl+Command+J
```

On macOS Option+Command+F is commonly used for Find and Replace so use
it instead to avoid conflicting with "Play Scene"

And as Option+Command+F is currently used by "Find Function..." rebind
the latter to Control+Command+J which is the Xcode shortcut for
"Jump to Definition"

Fixes #19817
2018-08-27 20:28:24 +02:00
Rémi Verschelde 9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Omicron 71397e0e17
Typo in text string
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
JFonS b58bb95c86 Saner selection code for instanced scenes in 3D, should close #21447
Selecting instanced scenes still doesn't work properly because gizmos are not being added to instanced nodes.
I will probably work on fixing all the shenanigans around selection, but that will take some time.
This part of the code should work better for the moment.
2018-08-27 16:02:49 +02:00
Rémi Verschelde fc1d464f1f
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-27 09:43:00 +02:00
Rémi Verschelde 0f4ba4481a
Merge pull request #21432 from JFonS/fix_material_convert
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-27 08:55:41 +02:00
Michael Alexsander Silva Dias df4f3aecd8 Fix Members/Help Overview getting their items deselected when a tooltip appears 2018-08-26 23:55:45 -03:00
Mariano Javier Suligoy c64ab97063 TileSet editor Fixes
Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398
Add some checks for TileID validation before accessing to it's properties. Fixes #21397
Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402
Restore hability to asign/unasign an script to a tileset. Fixes #20886
2018-08-26 17:10:01 -03:00
JFonS ee06cfe6e5 Fix "Convert To ShaderMaterial" option not working, closes #20891 2018-08-26 12:25:41 +02:00
Michael Alexsander Silva Dias 7d13f6ad30 Small improvements to the Spatial Editor's multiple viewport mode 2018-08-25 17:43:27 -03:00
Mariano Suligoy 1f4a891a9c Texture Region: Cache auto-slice information into the texture. Fixes #11503 2018-08-25 09:02:05 -03:00
Rémi Verschelde 0b67d1665d Style: Fix previous commits from @reduz 2018-08-24 16:50:29 +02:00
Rémi Verschelde f733c6470d
Merge pull request #21110 from natrim/particles2d_editor
Particles2D: fix editing Visibility Rect from new inspector
2018-08-24 15:31:31 +02:00
Rémi Verschelde cd945e28de
Merge pull request #21272 from paulloz/tilemap-tools-enhancements
tilemap_editor: change move and duplicate tools
2018-08-24 15:18:06 +02:00
Rémi Verschelde 571dab7d1e
Merge pull request #21356 from akien-mga/drop-shadergraph
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 15:02:26 +02:00
Rémi Verschelde 52466d57e9 Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
Juan Linietsky 0161e95f01 some checks for node removed, may fix #20863 2018-08-24 08:29:40 -03:00
Paul Joannon 3f1b977263
tilemap_editor: change move and duplicate tools
* Move now behaves like a Cut
* Duplicate now behaves like a Copy
* You can continue Pasting after Cut or Copy
2018-08-24 11:58:01 +02:00
Rémi Verschelde e22f0515c9 Drop old ShaderGraph code, obsoleted by VisualShader 2018-08-24 11:49:08 +02:00
Juan Linietsky bffaa835fc -Fix blend tree rename, closes #20210
-Fixed activity lines in blend tree
2018-08-23 16:44:10 -03:00
JFonS 927f9f283f Remove material errors after opening new project, fixes #21073 2018-08-23 10:50:30 +02:00
Michael Alexsander Silva Dias 6fa1b5eca7 Add option to move Tile/GridMap editors to another side 2018-08-22 19:18:23 -03:00
Michael Alexsander Silva Dias 5c6be1aea5 Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors 2018-08-22 16:52:38 -03:00
Mariano Javier Suligoy 810b73c01e Display tile ID along with name
Fixes #20895.
2018-08-22 14:35:50 +02:00
Rémi Verschelde 0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Laurent Van Acker 4d6a6e0813 Add modulation of tiles from tileset in palette and editor draw 2018-08-22 01:36:43 +02:00
Michael Alexsander Silva Dias d0f55ab6e4 Fix MeshLibrary editor 2018-08-21 19:06:52 -03:00
Rémi Verschelde 404ee1a56b Style: Fix issues that went past CI 2018-08-21 21:28:06 +02:00
Hugo Locurcio dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.

This closes #21200.
2018-08-20 20:21:56 +02:00
Juan Linietsky c1bd768ca2
Merge pull request #18822 from QbieShay/master
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky c7e4527a88 Massive rewrite to AnimationTree. Many APIs changed in order to:
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde 5d09877da8
Merge pull request #21154 from Chaosus/grid_2d_color
Added setting to change color of 2d editor grid
2018-08-19 14:17:55 +02:00
Chaosus 66c25d4829 Added possibility to change color of 2d editor grid 2018-08-19 10:04:16 +03:00
QbieShay bb14ef5623 added spring arm node. 2018-08-18 14:34:42 +02:00
Hugo Locurcio 442029b1c0
Fix the 3D grid flickering when the origin is enabled 2018-08-17 23:22:03 +02:00
Natrim 6ad0f4ebe8 Particles2D: fix editing Visibility Rect from inspector
+ renamed generate_aabb to generate_visibility_rect to prevent future confusions
2018-08-17 12:25:48 +02:00
Markar e46c2dbf74 Fix bucket fill behaviour when selecting multiple tiles 2018-08-17 01:55:21 +02:00
Natrim e11e080fa2 Particles2D: set emitting if not set before generating Visibility Rect
and removed not needed running zeroing
 in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Rémi Verschelde 1c17c2b9b3
Merge pull request #21023 from Paulb23/fix_reopening_text_file
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
Rémi Verschelde bec8c7770c
Merge pull request #21022 from Paulb23/create_text_files
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00
Paulb23 6741e7a15d Added method to create TextFiles 2018-08-15 21:09:34 +01:00
Rémi Verschelde e92777c1ee
Merge pull request #21007 from guilhermefelipecgs/disable_camera_interpolation
Disable camera interpolation when switching scene tabs
2018-08-15 09:03:53 +02:00
Rémi Verschelde eef39bcb84
Merge pull request #21010 from YeldhamDev/tile_editors_changes
Changes to the TileSet and TextureRegion editors
2018-08-15 01:14:53 +02:00
Rémi Verschelde 859f3bf5a9
Merge pull request #20873 from ttencate/master
Allow middle-click to close scripts
2018-08-15 01:10:21 +02:00
Paulb23 81bf150cdc Fix re-opening of TextFiles when its already being edited 2018-08-14 23:44:55 +01:00
Guilherme Felipe ae788125a0 Disable camera interpolation when switching scene tabs
Fix #11764
2018-08-14 19:25:27 -03:00
Rémi Verschelde 78a6cd9e09
Merge pull request #20977 from malbach/Particles3D_AABB
Particles3D: set emitting if not set before generating AABB
2018-08-14 20:20:28 +02:00
Michael Alexsander Silva Dias 609d97b6d4 Changes to the TileSet and TextureRegion editors 2018-08-14 14:02:47 -03:00
Thomas ten Cate d867f11820 Allow middle-click to close scripts
Fixes #20871
2018-08-14 18:01:06 +02:00
Rémi Verschelde 0322081ec5
Merge pull request #20744 from Zylann/fix_viewport_lock_rotation
Initialize default lock rotation in constructor
2018-08-14 15:49:04 +02:00
Rémi Verschelde 22c3fcb20b
Merge pull request #20760 from Calinou/improve-assetlib-download-ux
Improve the asset library download UX
2018-08-14 15:48:31 +02:00
Rémi Verschelde c8414007ad
Merge pull request #20835 from Calinou/use-standard-button-texts-2
Tweak some editor button texts
2018-08-14 15:45:34 +02:00
Rémi Verschelde 892667878a
Merge pull request #20848 from Calinou/improve-3d-manipulator-gizmo
Improve the 3D manipulator gizmo
2018-08-14 15:43:52 +02:00
Rémi Verschelde 641dd15b1d
Merge pull request #20953 from hpvb/fix-20322
Don't try to update the visual shader graph if it doesn't exist yet
2018-08-13 20:47:24 +02:00
malbach 334922de8f Particles3D: set emitting if not set before generating AABB 2018-08-13 18:02:06 +02:00
Rémi Verschelde 0d96902a0c
Merge pull request #20731 from YeldhamDev/scr_editor_context_fix
Fix wrong context menu when right-clicking script/doc files
2018-08-13 13:35:53 +02:00
Rémi Verschelde 68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Rémi Verschelde 2062d6126d
Merge pull request #20587 from groud/fix_2deditor_scrollable_zone
Fixes bugs on the 2D editor scrollable area
2018-08-13 09:03:34 +02:00
Hein-Pieter van Braam 2a02f44ad9 Don't try to update the visual shader graph if it doesn't exist yet
When setting shader mode on a visual shader that was just created in the
editor we try to _update_graph(). However, the graph does not yet exist
in the visualshadereditor. This gets populated in
VisualShaderEditor::edit() which hasn't been called yet.

This PR simply changes the logic to not try to update the non-existent
graph.

This fixes #20322
2018-08-12 22:33:35 +02:00
Juan Linietsky 15530ce2c5 Fix gizmos submenu 2018-08-12 10:20:32 -03:00
Juan Linietsky 64595f0f6a
Merge pull request #20928 from JFonS/gizmo_enabling
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 19:20:08 -03:00
JFonS ac51da2eb6 Improvements on the gizmo disabling menu and icon selection bugfix 2018-08-11 23:07:00 +02:00
Łukasz Rutkowski 81fb81de9d Do not use theme to set LineEdit right_icon 2018-08-11 12:04:26 +02:00
Łukasz Rutkowski e8a435c8cd Add clear text button to LineEdit
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
George Marques eb48119821
Added system for GDScript warnings
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
MAriano Javier Suligoy ce87a30e45 New TileSet Editor 2018-08-09 20:38:02 -03:00
Juan Linietsky fbb5ca4d97
Merge pull request #20584 from JFonS/gizmo_enabling
New gizmo structure and gizmo disabling menu
2018-08-09 16:27:59 -03:00
JFonS 59fd18ab1a New gizmo structure and new gizmo disabling menu 2018-08-09 20:58:39 +02:00
Hugo Locurcio dcca20027c
Improve the 3D manipulator gizmo
Its size now takes into account the editor scale and the viewport's
half resolution setting. It is now also more detailed.
2018-08-09 16:34:18 +02:00
Hugo Locurcio 147f7fbdcf
Tweak some editor button texts 2018-08-09 11:22:11 +02:00
Hugo Locurcio c1108a4d17
Improve the asset library download UX
The progress bar is now correctly set to 0% while initiating
the download and is hidden once the download is completed.
2018-08-06 21:37:59 +02:00
Marc Gilleron 65215a7829 Initialize default lock rotation in constructor 2018-08-05 19:24:11 +01:00
Hugo Locurcio 1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
[ci skip]
2018-08-05 16:49:22 +02:00
Michael Alexsander Silva Dias 9194e42175 Fix wrong context menu when right-clicking script/doc files 2018-08-05 04:53:36 -03:00
AndreaCatania b7e66188df Implemented IK 2018-08-04 11:25:07 +02:00
groud eb7f4ddcce Fixes bugs on the 2D editor scrollable area 2018-07-30 01:05:13 +02:00
Juan Linietsky 317dee95de It is now possible to import images as a separate resource, closes #5738 and likely many others 2018-07-29 16:45:23 -03:00
Juan Linietsky 0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Rémi Verschelde b5b8f52d4f
Merge pull request #15310 from remorse107/Cinema-Mode
Added "Cinema Mode" so that the spatial editor can actively track the...
2018-07-27 08:12:22 +02:00
Robert Morse 75947b1b72 Add "Cinematic Preview" to the Spatial Plugin Editor. 2018-07-26 19:15:28 -05:00
Max Hilbrunner 6cf5eb8e37
Merge pull request #20022 from EIREXE/snap_to_floor
Add snap to floor functionality to the editor
2018-07-26 22:31:03 +02:00
Ian 1bb13e95a8 context menu improvements 2018-07-26 08:58:35 -04:00
Rémi Verschelde eab105310b
Merge pull request #19257 from volzhs/edit-visual-script
Open internal visual script editor while use external editor is on
2018-07-26 10:36:01 +02:00
Alex Roman af725094d7 Add snap to floor functionality to the editor 2018-07-26 08:34:40 +02:00
Rémi Verschelde 4c5f0844e1
Merge pull request #19758 from kyledayton/feature/spatial-viewport-lock-rotation
Add lock rotation feature to spatial editor viewport
2018-07-26 08:31:20 +02:00
Kyle Dayton 46ec1deba5 Add lock rotation feature to spatial editor viewport 2018-07-25 21:37:04 -05:00
Hein-Pieter van Braam 0e29f7974b Reduce unnecessary COW on Vector by make writing explicit
This commit makes operator[] on Vector const and adds a write proxy to it.  From
now on writes to Vectors need to happen through the .write proxy. So for
instance:

Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;

Failing to use the .write proxy will cause a compilation error.

In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.

_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Paulb23 6696b16685 Fix crash on doc right click, issue 20429 2018-07-25 19:24:06 +01:00
volzhs 6bdec4ffb6 Open internal visual script editor while use external editor is on 2018-07-25 11:59:31 +09:00
Max Hilbrunner b92c432313
Merge pull request #19225 from Paulb23/open_all_files_in_script_editor
Open all files in script editor
2018-07-24 21:52:11 +02:00
Marcelo Fernandez ff95bbc6c4 Fixed Bucket Fill tool 2018-07-24 13:11:38 -03:00
Max Hilbrunner 81fd48eb1e
Tilemap editor: Fix crash introduced in #17582 2018-07-24 17:42:24 +02:00
Rémi Verschelde a2f9ce2569
Merge pull request #20328 from ordigdug/fix-grid-missing-lines
Fix grid missing lines. Fixes: #20246
2018-07-24 14:49:53 +02:00
Wilson E. Alvarez a22e746bc3 Removed unnecessary assignments 2018-07-24 09:51:03 +02:00
Juan Linietsky dc976cac57
Merge pull request #12678 from AndreaCatania/soft
Soft body
2018-07-23 16:04:32 -03:00
AndreaCatania 17ebbfb56d Implemented Soft body
- Soft Body Physics node
- Soft Body Rendering
- Soft body Editor
- Soft body importer
2018-07-23 20:50:23 +02:00
Juan Linietsky ec85fd554b Fix issues with CPUParticles and related conversion from Particles. Closes #20126 2018-07-23 12:28:50 -03:00
Paulb23 8ff747171f Allow opening and editing of any utf_8 file in script editor 2018-07-22 11:55:56 +01:00
Paulb23 765d6752bb Refactored text manipulation into CodeTexteditor 2018-07-22 11:48:59 +01:00
ordigdug 7ab7bda48e Fix grid missing lines #20246 2018-07-22 05:00:51 -04:00
George Marques 03746da73f
Add editor highlight for type-safe lines
The line number is hightlighted to indicate that the line contains only
type-safe code.
2018-07-20 21:55:18 -03:00
Nufflee 228bd21e26 Fix #20171. 2018-07-20 22:25:18 +02:00
Rémi Verschelde afb554afdf
Merge pull request #20185 from volzhs/audio-preview
Add audio preview to Inspector dock
2018-07-18 10:38:30 +02:00
Max Hilbrunner c5690240b4
Merge pull request #18535 from sketchyfun/new_mirror_path_handles
Added curve in/out (tangent) handle mirroring
2018-07-17 16:16:08 +02:00
volzhs dd2f39da53 Add audio stream preview to Inspector dock 2018-07-17 22:11:35 +09:00
Rémi Verschelde 95d99cb2ac
Merge pull request #20176 from Chaosus/vs_namefixes
Several name fixes for visual shaders
2018-07-17 13:54:22 +02:00
Thomas Herzog 72430b041e
Merge pull request #20169 from Chaosus/rightclick_vs
Visual shaders - make "Add node" menu showed by right click
2018-07-16 15:46:18 +02:00
Thomas Herzog a21aeec4b9
Merge pull request #20167 from Chaosus/fix_vshader_bug
Fix display scale bug in visual shaders
2018-07-16 15:40:41 +02:00
Juan Linietsky a3f1ee5c57 Global class names (and GDScript support for it) 2018-07-15 19:29:00 -03:00
Chaosus 3af81427a1 Several name fixes for visual shader 2018-07-15 17:28:06 +03:00
Chaosus f8417ac682 Visual shaders - make "Add node" menu showed by right click 2018-07-15 10:33:11 +03:00
Chaosus c88da2fce5 Fix display scale bug in visual shaders 2018-07-15 08:55:41 +03:00
Juan Linietsky f6ce73f724 Visual Shaders are back. 2018-07-14 18:16:18 -03:00
Juan Linietsky ea47359408 Add option to convert Particles to CPUParticles 2018-07-07 09:04:22 -03:00
Juan Linietsky 7dcaabaf19 Support for CPU based particles, which aids compatibility with OpenGL ES 2.0 2018-07-06 20:21:42 -03:00
Max Hilbrunner 9f82368d40
Merge pull request #19475 from YeldhamDev/animplayer_cosmetic
Minor changes to the AnimationPlayer editor
2018-07-05 04:25:04 +02:00
Max Hilbrunner c488a74e0c
Merge pull request #19498 from guilhermefelipecgs/fix_regression
Fix "find and replace" initializing with wrong size
2018-07-05 04:23:18 +02:00
Max Hilbrunner 858d0b6887
Merge pull request #19941 from guilhermefelipecgs/fix_animation_key
Fix animation key icon not show on inspector
2018-07-04 15:18:43 +02:00
Rémi Verschelde db546732cf
Merge pull request #19824 from JFonS/fix_orthogonal_select
Fix selection in 3D orthogonal view
2018-07-04 15:06:46 +02:00
Guilherme Felipe 63d1b35c59 Fix animaiton key icon not show on inspector 2018-07-03 17:26:31 -03:00
Max Hilbrunner 27b20e7670
Merge pull request #19881 from khairul169/popupmenu_animedit
Fix error msg when selecting popupmenu if there is no animation selected
2018-07-03 18:44:48 +02:00
Max Hilbrunner dce4bf96cc
Merge pull request #17582 from Ovnuniarchos/TMapEditorMultiSel
Tile randomizer for tilemap editor.
2018-07-03 18:30:02 +02:00
Max Hilbrunner b21c1f64cd
Merge pull request #18634 from groud/fix_control_child_of_node2d
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03 18:06:15 +02:00
Max Hilbrunner 165f3c31a5
Merge pull request #19166 from Grula/issue-18779
Changed "Syntax Menu" into radio Menu
2018-07-03 17:39:17 +02:00
Max Hilbrunner deb005c966
Merge pull request #19156 from volzhs/fix-remove-split
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-07-03 17:37:01 +02:00
Max Hilbrunner 0705eb904a
Merge pull request #19251 from YeldhamDev/script_templates_changes
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
Max Hilbrunner 74369229de
Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict
Remove shortcut conflict
2018-07-03 15:47:48 +02:00
Juan Linietsky 896e250f2b -Fix in animationplayback, sound would be cut on loop
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Ovnuniarchos d9d78786dc Tile randomizer for tilemap editor. 2018-07-01 20:50:56 +02:00
khairul169 0a67aa5ce4 Fix error msg when selecting popupmenu if there is no animation 2018-07-01 15:38:42 +07:00
Michael Alexsander Silva Dias 02181292b8 Minor changes to the AnimationPlayer editor. 2018-06-30 00:12:05 -03:00
JFonS e245efaead Fix selection in 3D orthogonal view 2018-06-28 14:59:39 +02:00
Juan Linietsky eeab3502d5 Changes to how node paths are selected from property, allowing setting a hint. 2018-06-27 20:50:25 -03:00
Juan Linietsky 9bab5134cf The way multiple quaternions being slerped was not good, changed approach to one that seems to work better. 2018-06-27 16:30:48 -03:00
Juan Linietsky c633b770cb -Add root motion support in AnimationTree.
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
2018-06-26 19:06:16 -03:00
Rémi Verschelde f036353b93
Merge pull request #19164 from marcelofg55/tilemap_undo2
Improve TileMap undo operations, second try
2018-06-26 20:57:39 +02:00
Juan Linietsky 8c7da84e1e renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00