Commit Graph

2543 Commits

Author SHA1 Message Date
Rémi Verschelde 5d7f9f804a Revert "Fix saving unmodified scenes and resources"
This reverts commits 28ab60422d
and 7821b70a00.

Fixes #19576, and likely the fact that subresources are no
longer saved when saving scenes with no change.
2018-06-29 08:38:49 +02:00
JFonS e245efaead Fix selection in 3D orthogonal view 2018-06-28 14:59:39 +02:00
Michael Lee 2adfdbe184 Preventing an editor crash in the event that a plugin scene's root-node is null. 2018-06-28 00:18:53 -05: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
Thomas Herzog 0f7c35f955 added BlendSpace1D editor plugin
This commit also fixes a crash in the BlendSpace2D as well as correct
the drawing of the x-zero indicator in the BlendSpace2D editor plugin.
2018-06-25 21:46:12 +02:00
Thomas Herzog 84252f2ec4 added AnimationBlendSpace1D 2018-06-25 21:36:53 +02:00
Thomas Herzog 1ff7aa4c9b rename BlendSpace to BlendSpace2D 2018-06-25 21:36:10 +02:00
Juan Linietsky 4f5a7ebaec State machine animation node 2018-06-25 16:22:41 -03:00
George Marques c45a8a574a
Remove extra addition to tree of editor autoloads
Fix #19675
2018-06-25 13:07:14 -03:00
Rémi Verschelde 0954c8f017
Merge pull request #19744 from marcelofg55/profiler_clear
Add a Clear button to the profiler
2018-06-25 17:01:46 +02:00
Rémi Verschelde baf85f299c
Merge pull request #19728 from Chaosus/theme_strings
Changed themes presets to String format
2018-06-25 16:39:23 +02:00
Rémi Verschelde 4e867a1d7a
Merge pull request #19698 from Chaosus/theme_submenu
Move Theme options to submenu
2018-06-25 16:24:39 +02:00
Juan Linietsky ad4666f8e0
Merge pull request #19193 from tagcup/quat_norm
Fixed Basis -> Quat conversions, added a few safety checks.
2018-06-25 10:58:04 -03:00
Marcelo Fernandez 9634e3586c Add a Clear button to the profiler 2018-06-23 22:15:10 -03:00
Chaosus f29f7bf0e7 Changed themes presets to String format 2018-06-23 18:38:01 +03:00
Rémi Verschelde 80f7eacf88 i18n: Sync translations with Weblate
(cherry picked from commit d04cc2855a)
2018-06-22 11:42:21 +02:00
Rémi Verschelde 8bf5b50222
Merge pull request #19695 from rraallvv/nocache_gen_master
Add NoCache wrapper to Command (master)
2018-06-22 09:44:45 +02:00
volzhs b4f60ae3ac Fix crash when assigning a node on editing animation key 2018-06-22 14:48:49 +09:00
Juan Linietsky 2365fe472b Added auto triangle generation in blend space, using Delaunay. 2018-06-21 22:48:47 -03:00
Juan Linietsky b76143bfde Remove error messages 2018-06-21 18:46:17 -03:00
Juan Linietsky b80946ee0d Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key 2018-06-21 18:08:11 -03:00
Juan Linietsky a0719533bd Animation Blend Spaces 2018-06-21 15:46:11 -03:00
Chaosus 7a18b95906 Move Theme options to submenu 2018-06-21 12:10:43 +03:00
Rhody Lugo 920224a535 add NoCache wrapper to Command 2018-06-21 03:00:33 -04:00
Rodolfo Ribeiro Gomes 01b01209a3 fix default glTF metallic & roughness factor values
The glTF 2.0 spec says that these pbrMetallicRoughness material
properties should be set as 1.0 by default.
In fact, KhronosGroup's official Blender Exporter does not even write
down those parameters if they are set as 1.0.

However, Godot import them as 0.0.

https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#pbrmetallicroughness

Fixes: #19613 https://github.com/godotengine/godot/issues/19613
2018-06-21 00:00:58 -03:00
Marcelo Fernandez 34045051d2 Fix profiler not updating on realtime 2018-06-19 21:42:29 -03:00
Juan Linietsky 0a1c1c660f -Added AnimationGraphPlayer (still missing features)
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
volzhs 9501acaee6 Re-scan only when actually moving file 2018-06-19 07:43:16 +09:00
George Marques 5c5aafabec
Merge pull request #19632 from vnen/fix-editor-autoload-register
Fix order to register autoloads in-editor
2018-06-18 18:52:09 -03:00
Bojidar Marinov 8ecef3496c
Add proper type information to array property
Part of #19158
2018-06-18 22:24:31 +03:00
Guilherme Felipe 7c52824504 Remove shortcut conflict 2018-06-18 16:24:01 -03:00
Guilherme Felipe b75ad7b6b0 Prevent animation player crash 2018-06-18 15:57:15 -03:00
George Marques e1338ac0eb
Fix order to register autoloads in-editor 2018-06-18 15:52:46 -03:00
Rémi Verschelde 1d2ed8885d
Merge pull request #19573 from guilhermefelipecgs/fix_animation_preview
[AnimationPlayer] Fix preview for both AnimatedSprite (2D and 3D)
2018-06-18 15:11:06 +02:00
Rémi Verschelde 4c41f6c2ad
Merge pull request #19568 from guilhermefelipecgs/fix_editor_def
Fix path typo for editor def capitalize_properties
2018-06-15 17:11:46 +02:00
Guilherme Felipe 3511a7ac7e Fix path typo for editor def capitalize_properties 2018-06-15 11:51:09 -03:00
Rémi Verschelde d4bdbbc7d4
Merge pull request #19553 from guilhermefelipecgs/fix_solarized_theme
Small improvement to solarized theme
2018-06-15 10:46:48 +02:00
Rémi Verschelde f2cd1e0c15
Merge pull request #19544 from RandomShaper/gltf-shapes-names
Import morph target names from glTF
2018-06-15 09:33:44 +02:00
Guilherme Felipe c75e7f4848 [AnimationPlayer] Fix preview for both AnimatedSprite (2D and 3D) 2018-06-14 19:34:16 -03:00
letheed 90c5f60f1d Tweak adaptative guideline and completion_background color 2018-06-15 00:31:43 +02:00
Guilherme Felipe a63683e312 Small improvement to solarized theme 2018-06-14 09:07:40 -03:00
Pedro J. Estébanez 4810eae03b Import morph target names from glTF
If mesh.extras.targetNames is available. Keep the former naming pattern as fallback.
2018-06-14 00:25:22 +02:00
Rémi Verschelde e5e23c7ebf Fix invalid DEFVAL in SpatialEditorGizmo::add_unscaled_billboard
Likely added by mistake in #19487.
Should fix #19543.
2018-06-13 22:29:54 +02:00
Paulb23 08c036b706 Removed duplicate default colours and removed GDScriptHighligher colours from main editor. 2018-06-13 18:25:02 +01:00
Paulb23 8f7e791ab6 Theme saving no longer hard coded 2018-06-13 18:21:44 +01:00
Guilherme Felipe 5bae3693bf Fix "find and replace" initializing with wrong size
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Rémi Verschelde 8efbe9ed3d
Merge pull request #19487 from JFonS/better_3d_select
Improve 3D selection
2018-06-13 18:49:35 +02:00
JFonS 9cd1c20f6a Polished 3D selection 2018-06-13 17:52:37 +02:00
Rémi Verschelde 44050cd24f
Merge pull request #19503 from akien-mga/osx-ctrl-cmd
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
2018-06-13 15:43:54 +02:00
Rémi Verschelde 7bb6b39c10
Merge pull request #19514 from Chaosus/solarized_themes
Added Solarized Dark and Light themes
2018-06-13 15:17:43 +02:00
Rémi Verschelde 9c2de8ae2d
Merge pull request #19516 from groud/fix_crash_on_hover
Fixes a crash on draw_hover
2018-06-13 15:10:24 +02:00
Chaosus e1abb84524 Added Solarized Dark and Light themes 2018-06-13 16:05:04 +03:00
Rémi Verschelde 9165e550f8 Style fixes for commit d5bb6faa 2018-06-13 14:42:55 +02:00
Rémi Verschelde f0fa590210
Merge pull request #19526 from robojumper/fix_tutorials
Add support for tutorial links to makerst.py
2018-06-13 14:29:45 +02:00
steincodes 8ae652bd59 Fix for overwriting files and folders on move 2018-06-12 21:54:43 +05:30
robojumper 98b59cf2a3 Add support for tutorial links to makerst.py
Also change the <tutorials> structure to make use of individual <link> tags
2018-06-12 17:40:24 +02:00
groud 71cea6b515 Fixes a crash on draw_hover 2018-06-12 11:01:24 +02:00
Juan Linietsky d5bb6faac7 -Make sure that ProjectSettings are properly dumped when dumping docs.
-Documented all properties of project settings

Update documentation for ProjectSettings
2018-06-11 13:41:16 -03:00
Rémi Verschelde 3f09cac267 Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX
and KEY_MASK_META (Command key) on OSX, so it should be used for all
Ctrl/Cmd + key shortcuts.

Also de-hacked the macOS shortcut replacements with proper conditional
definition. Not tested on macOS, cannot judge if they are good shortcuts.

Fixes #10761.
2018-06-11 07:53:28 +02:00
Michael Alexsander Silva Dias fd17b960e9 Small changes to the comments in the script templates. 2018-06-11 02:04:51 -03:00
volzhs 12f93e9a0e Fix drag and drop autoload 2018-06-09 20:07:58 +09:00
Juan Linietsky 257d3c3f39 Bit more of visual polish 2018-06-08 21:03:27 -03:00
Juan Linietsky e5b876e92a Remove the "go back" behavior in track editor for inspector based key editing, fixes #19434, fixes #19423 2018-06-08 19:21:26 -03:00
Juan Linietsky 66871322b9 Properly update range and valid key range when keys are in/out of view, fixes #19433 2018-06-08 17:58:37 -03:00
Rémi Verschelde 30491a88f3
Merge pull request #19452 from guilhermefelipecgs/fix_messages
Fix translate messages for new AnimationPlayer
2018-06-08 21:21:04 +02:00
Juan Linietsky c8289d95cd Fixed cursor not updating in some circumstances, closes #19430 2018-06-08 16:08:24 -03:00
Gilles Roudiere 6daed7d122 Move the deadzone to a column in the input project settings 2018-06-08 20:04:32 +02:00
Guilherme Felipe 365bb077fe Fix translate messages for new AnimationPlayer 2018-06-08 14:44:18 -03:00
Juan Linietsky 7572b31a39 Disallow via add track for animation player to animate itself, fixes #19425 2018-06-08 13:59:29 -03:00
Juan Linietsky 9cb17d7af8 Avoid animation length from ever being completely, fixes #19420 2018-06-08 13:42:45 -03:00
Rémi Verschelde 3aed396a30
Merge pull request #19343 from bojidar-bg/x-fix-tilemap-shape-rotation
Fix bugs related to bad handling of rotated/translated shapes in tilemap
2018-06-08 18:15:51 +02:00
Juan Linietsky a8dd5750e2
Merge pull request #19334 from guilhermefelipecgs/fix_popup
Fixes popup_centered_* methods, dialogs with wrong sizes and visual script editor
2018-06-08 13:00:53 -03:00
Rémi Verschelde f35115309b
Merge pull request #19314 from Jellonator/master
Added autotile override
2018-06-08 09:11:49 +02:00
Rémi Verschelde a6c9b11de1
Merge pull request #19437 from volzhs/live-edit-reparent-child
Make same child index as edited scene when using live edit
2018-06-08 08:10:46 +02:00
volzhs cad3c41a91 Make same child index as edited scene when using live edit 2018-06-08 07:40:43 +09:00
groud 4d78e16bc1 Fixes the bad calculation of margin & anchors when child of Node2D 2018-06-07 21:25:15 +02:00
Juan Linietsky b659fd6d74 Entirely new (and much improved) animation editor. 2018-06-07 12:52:00 -03:00
Guilherme Felipe 048f149478 Fix theme not updating with changes 2018-06-06 17:58:12 -03:00
Guilherme Felipe 7a3882723c Fix #16069, #19292, #19267 and #18940 2018-06-06 13:16:52 -03:00
Rémi Verschelde 07d4cd7f6d
Merge pull request #19388 from volzhs/show-filename
Show opened script or help name
2018-06-06 09:22:22 +02:00
volzhs 69ac6a1f3d Show opened script or help name 2018-06-06 06:18:11 +09:00
Rémi Verschelde dd5398ce9d i18n: Sync translations with Weblate
(cherry picked from commit e8bfc09b81)
2018-06-05 22:41:42 +02:00
Rémi Verschelde 6bc9ac9cc3 i18n: Sync translation templates with current source
(cherry picked from commit 74808e71d2)
2018-06-05 22:41:34 +02:00
Guilherme Felipe 6676060805 [Inspector] Fix search field losing focus when typing
Fix #19382
2018-06-05 14:12:01 -03:00
Guilherme Felipe 262c78ed97 Fix Rect2 properties typo 2018-06-04 19:16:17 -03:00
Bojidar Marinov d73cdeb248
Fix bugs related to bad handling of rotated/translated shapes in tilemap
Fixup #18529 and #12870
2018-06-03 16:32:23 +03:00
James Beedie 6cbafdea16 Added autotile override 2018-06-02 21:25:09 -04:00
NIkola Grulovic bc666c42ff Syntax Menu as sub-menu of Edit
Moved syntax menu to be sub-menu of edit, as-well made choices radio buttons
2018-06-01 21:32:19 +02:00
Rémi Verschelde ff0d295d9e
Merge pull request #19250 from YeldhamDev/scene_editor_tooltips
Minor changes to the Scene and Canvas editors' tooltips
2018-06-01 13:31:46 +02:00
Chaosus cf38270ef7 Increase settings apply speed and added deferred color apply 2018-05-31 11:33:36 +03:00
Thomas Trocha 48e3ff0c8a EditorScenePostImport: added get_source_folder() and get_source_file() methods 2018-05-31 03:23:42 +02:00
Rémi Verschelde 59c2c21b15 Move NavigationMeshEditorPlugin to Recast module as should be
Modules can register their own editor plugins (like GridMap does),
so no need to put module-specific classes in the `editor/` folder.

Also cleans up the previous SCons env pollution from the Recast
module, integrating its code into libmodules as other modules.
2018-05-30 22:10:11 +02:00
Gabriel Gavilan b7b63fe034 Improve breakpoints and breakpoint gutter API in TextEdit
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints.
Fixed breakpoint_toggled signal not fierd when text is edited.
Fixes #18026.
2018-05-30 14:39:44 +02:00
steincodes 25704427b5 Removing Duplicate Batch Rename from scene-tree menu 2018-05-30 18:03:08 +05:30
Marcelo Fernandez cadd72793b Improve TileMap undo operations, second try 2018-05-29 19:35:30 -03:00
Michael Alexsander Silva Dias 589f18a374 Minor changes to the Scene and Canvas editors' tooltips. 2018-05-29 13:21:26 -03:00