Commit graph

2868 commits

Author SHA1 Message Date
Hein-Pieter van Braam
7db66fea39 Do not call _update_actions when only changing deadzone
Because changing the deadzone with a click happens during
_propagate_mouse_event the tree is always blocked leading to a crash. We
don't actually need to update actions here anyway.

This fixes #20184
2018-08-05 22:22:16 +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
Hugo Locurcio
24f39b08c7
Make the default text editor caret blink speed faster 2018-08-02 21:03:31 +02:00
Hugo Locurcio
cbe9597021
Fix zoom display in the script editor on hiDPI displays 2018-08-02 11:41:29 +02:00
Saracen
63c6a2487f Fixes the hyperlinks for enumerators inside classes in the editor help. 2018-08-02 09:40:36 +01:00
Bernhard Liebl
ba974b8d1e Allow some non-integer built-in constants in gdscript 2018-07-31 17:56:48 +02:00
Michael Alexsander Silva Dias
22ffaded01 Adjust bottom panel's minimal height for the expand icon 2018-07-30 19:12:31 -03:00
Juan Linietsky
5a5614e8ad Add support for line continuations (wtf) in obj format, fixes #7974 2018-07-29 21:37:55 -03: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
7b63c6323d Clear color was not correctly being set, fixes #4939 2018-07-29 15:09:42 -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
Hein-Pieter van Braam
5c88bc66e3 Undo an accidental revert.
Sorry for the history pollution. I was testing something on this branch
and forgot to reset befor pushing the security update.

This reverts commit 2ef66def46.
2018-07-29 04:14:57 +02:00
Hein-Pieter van Braam
2ef66def46 Revert "Open visual editor when "open editor" button in the inspector is pressed."
This reverts commit 0ae400f523.
2018-07-28 21:16:20 +02:00
oliperraul
dc2df7a146 Fixed a number of issues related to the Dictionary export property for the editor
* Fixed a problem when buttons were deleted on the same frame they were pressed (inside update_property)
* Prevent usage of nul key for a dictionary.
* Provide symetry in the interface for both the array property and dictionary property by first clicking on the field to instantiating the dictionary.
	Array (Nil), Array (size 0), Array (size 1)
	Dictionary (Nil), Array (size 0), Array (size 1)
* Allow to press enter to confirm a string in line edi.
2018-07-28 14:17:56 -04:00
Rémi Verschelde
578c8fc1e5 Fix layer 2-line tooltips used as name in inspector
Fixes #20288.
2018-07-28 10:27:19 +02:00
Viktor Ferenczi
c5bd0c37ce Running builder (content generator) functions in subprocesses on Windows
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function

There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.

Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.

Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.

Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
2018-07-27 21:37:55 +02:00
Juan Linietsky
936b5a395a Do conversion of scene preview icon at the end, improves save performance a bit. Closes #14387 2018-07-27 08:59:43 -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
Juan Linietsky
274d1bc683
Merge pull request #20233 from willnationsdev/gsc-editor
Add script class hierarchies & add-script button permanence/auto-derivation
2018-07-26 17:36:44 -03: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
Will Nations
ff604414a4 Add PluginConfigDialog, EditorPluginSettings GUI 2018-07-26 10:12:05 -05:00
Rémi Verschelde
91d6fa817e
Merge pull request #15967 from Gamblify/AudioRecordingModule
Audio Recording from godot
2018-07-26 15:37:19 +02:00
Ian
1bb13e95a8 context menu improvements 2018-07-26 08:58:35 -04:00
Gustav Lund
cd2070c684 Audio Recording module
Implements an Audio bus effect that outputs the audio from the bus into a wav file

Now channels audio recording into an AudioStreamSample instead of saving to wav
2018-07-26 14:14:29 +02:00
Rémi Verschelde
fd16dd48cb i18n: Sync translations with Weblate
(cherry picked from commit 5c6c88ef15)
2018-07-26 11:23:51 +02: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
Rémi Verschelde
39168f125e
Merge pull request #19464 from bojidar-bg/19448-fix-subproperty-handling
Fix bug in animationplayer editor not using subproperties properly
2018-07-26 10:31:05 +02:00
Rémi Verschelde
c47f824c3b
Merge pull request #20466 from TigerCaldwell/layer_toggle_fix
Layer editor shouldn't close each time one is toggled (#20399)
2018-07-26 09:26:16 +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
Tiger Caldwell
5421e46a43 Fixed Issue #20399 2018-07-25 18:50:12 -04:00
Rémi Verschelde
96ce66e00f
Merge pull request #20455 from Calinou/add-user-data-dropdowns
Add menu buttons to open the project and editor data folders
2018-07-26 00:01:49 +02:00
Hugo Locurcio
b4f6b20273
Add menu buttons to open the project and editor data folders 2018-07-25 23:41:35 +02:00
Will Nations
3de15363ab Add script hierarchies,add-script btn auto-derives 2018-07-25 15:18:45 -05:00
Juan Linietsky
79d4be275f
Merge pull request #20260 from fire/editor_property_type
Add editor property type so that inspector can search for objects.
2018-07-25 16:59:28 -03:00
K. S. Ernest (iFire) Lee
23744d8064 Add editor property type so that inspector can search for objects. This is a regression. 2018-07-25 12:54:35 -07: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
Rémi Verschelde
4080e7ff8e
Merge pull request #20300 from Chaosus/editorsettings_fixes
Few fixes for editor tab in editor settings
2018-07-25 01:08:31 +02:00
K. S. Ernest (iFire) Lee
ac541f5d16 Bones are now named and their parents are correct. 2018-07-24 15:29:53 -07: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
Rémi Verschelde
1f6fedeb37
Merge pull request #19729 from razcore-art/rename-discard-instancing
Rename 'Discard Instancing' to 'Make Local'
2018-07-24 20:51:53 +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
Rémi Verschelde
c2a2567ecc
Merge pull request #20359 from swarnimarun/new-resource-option
Ability to add Resource from FileSystem Dock
2018-07-24 14:48:54 +02:00
Wilson E. Alvarez
a22e746bc3 Removed unnecessary assignments 2018-07-24 09:51:03 +02:00
Rémi Verschelde
4b277c2c20
Merge pull request #19693 from nhair/import-project-via-zip
Add ability to import projects via ZIP archive.
2018-07-24 09:00:33 +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
steincodes
a1dee44e21 Ability to add Resource from FileSystem Dock 2018-07-22 21:23:40 +05:30
Rémi Verschelde
89e1b302b5
Merge pull request #20136 from ordigdug/Inspector-fix-remote-debug-view-changing-after-exit-game
Fix -inspector- remote debug view not changing to current scene a…
2018-07-22 17:33:00 +02: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
George Marques
75f395c2a0
Use type hints to improve completion
- Allow type hints to be completed.
- Use type information to infer completion candidates.
- Show typed function signature in tooltip.
- Add type hints when completing declaration from virtual functions
(optional).
2018-07-20 21:55:17 -03:00
Juan Linietsky
cfcb6e11f2
Merge pull request #20312 from Nufflee/fix-#20171
Fix #20171.
2018-07-20 18:17:00 -03:00
Juan Linietsky
336db8bcd1 -Fix tooltips in inspector, now they show as rich text. 2018-07-20 18:16:19 -03:00
Nufflee
228bd21e26 Fix #20171. 2018-07-20 22:25:18 +02:00
Michael Alexsander Silva Dias
12b55610ed Make Update Spinner popup use radio items 2018-07-20 14:32:53 -03:00
Chaosus
982c4d7d5c Few fixes for editor tab in editor settings 2018-07-20 13:22:22 +03:00
Rémi Verschelde
8c9e10553c Fix build issues and typos after c69de2ba4 2018-07-20 08:37:10 +02:00
Juan Linietsky
c69de2ba46 -Project/Editor settings now use new inspector
-Project/Editor settings now show tooltips properly
-Settings thar require restart now will show a restart warning
-Video driver is now visible all the time, can be changed easily
-Added function to request current video driver
2018-07-19 19:02:04 -03:00
Rémi Verschelde
76bfe14e00
Merge pull request #20117 from ordigdug/inspector-fix-inconsistencies-with-exported-enums
Fix -new inspector- Inconsistencies with exported enums - Fixes remai…
2018-07-19 18:18:20 +02:00
Juan Linietsky
911febb41f Improvements to vector fields, show axis in color with a background 2018-07-18 22:27:39 -03:00
ordigdug
afb4dfab22 Fix -new inspector- Inconsistencies with exported enums - Fixes remaining issues in #19534 2018-07-18 20:01:03 -04:00
Juan Linietsky
43dc050947 Several improvements to editor inspector usability and style 2018-07-18 19:37:41 -03:00
Juan Linietsky
82b550c6b3 Fix spin slider, was not registering drag properly 2018-07-18 15:35:26 -03:00
Rémi Verschelde
7c9f7452f4 Style: Format code with clang-format 6.0.1 2018-07-18 16:27:03 +02:00
Max Hilbrunner
ce53876a44
Merge pull request #20242 from akien-mga/export-preset-reload
Export: Properly reload preset when opening dialog
2018-07-18 16:20:57 +02:00
Rémi Verschelde
13239cd4cc Export: Properly reload preset when opening dialog
Fixes #20119 where newly installed templates were not detected.

Also fix a bug with preset deletion where it would attempt to
edit an already removed preset. For this I made it so that
ItemList::deselect_all() also resets `current` to -1, as a manual
ItemList::deselect(idx) already does.
2018-07-18 13:49:34 +02:00
Rémi Verschelde
70b3ef52da Export filters: Relax match to allow paths without leading res://
Previously to include "file.txt", you had to set either "res://file.txt",
"*file.txt" or "*.txt" as filter. Now you can use "file.txt".
2018-07-18 12:20:37 +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
Rémi Verschelde
2c63d02f24
Merge pull request #20227 from volzhs/fix-copy-ttf
Fix copying ttf, otf by DND to editor
2018-07-18 08:34:39 +02:00
volzhs
4bb85b70e1 Fix copying ttf, otf by DND to editor
regression from d65ac7378c
2018-07-18 01:49:57 +09:00
Rémi Verschelde
f1970e15b9
Merge pull request #20186 from Yar-Mukhamedov/master
A fix for the export templates installation error...
2018-07-17 18:06:58 +02:00
Rémi Verschelde
71b18acb05
Merge pull request #20220 from volzhs/texture-size
Fix preview texture size on Inspector
2018-07-17 18:04:19 +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
Yar-Mukhamedov
bf37bd94b6 Fix export templates installation error... 2018-07-17 20:14:20 +06:00
Max Hilbrunner
abfa4b822b
Merge pull request #18717 from Essojadojef/fix-inputmap-categories
Fix all Input Map actions expand when an event is modified
2018-07-17 16:14:10 +02:00
Max Hilbrunner
e57e53debb
Merge pull request #20217 from akien-mga/layer-tooltip
Inspector: Add bit/value info to layer tooltip
2018-07-17 16:12:26 +02:00
volzhs
d551f81874 Fix preview texture size on Inspector 2018-07-17 23:08:47 +09:00
volzhs
dd2f39da53 Add audio stream preview to Inspector dock 2018-07-17 22:11:35 +09:00
Rémi Verschelde
8b03df24e4
Merge pull request #20131 from ibrahn/fix-connection-dialog-make-function
fixed connection dialog's creation of script functions.
2018-07-17 14:50:50 +02:00
Rémi Verschelde
634ce7917e Inspector: Add bit/value info to layer tooltip
Fixes #20213.
2018-07-17 14:33:22 +02: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
Rémi Verschelde
4565fd1216
Merge pull request #20147 from ibrahn/fix-move-file-dialog
fix for moving file using filesystem dock context menu.
2018-07-17 11:31:45 +02:00
Juan Linietsky
de910f8c26 Finally figured out how to implement AnimatedTexture properly. 2018-07-16 11:43:49 -03: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
103524e6b7
Merge pull request #20112 from nunodonato/openvisualeditorbutton
Open visual editor when "open editor" button in the inspector is pressed
2018-07-16 15:42:57 +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
c0c243ac5c New option, make any node the new scene root. 2018-07-15 23:52:57 -03:00
Juan Linietsky
512ffd489a Small feature to help users understand the editor faster. 2018-07-15 23:11:29 -03:00
Juan Linietsky
af7d8fb844 Added small icon to expand the bottom panel (and shortcut too) 2018-07-15 22:38:14 -03: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
Ibrahn Sahir
9e4a6a6be2 fix for moving file using filesystem dock context menu.
Updated a method binding to match parameter default of recently added
parameter.
2018-07-14 02:47:43 +01:00
ordigdug
9c7e647124 Fix -new inspector- remote debug view not changing to current scene after exiting game - Fixes #20075 2018-07-13 13:00:14 -04:00
Ibrahn Sahir
f13f54e9db fixed connection dialog's creation of script functions.
Was accessing deleted objects to find the argument list.
Reordered things to get the arg list before deletion.
2018-07-13 12:58:44 +01:00
Nuno Donato
0ae400f523 Open visual editor when "open editor" button in the inspector is pressed.
Fixes #20111
2018-07-12 12:41:22 +01:00
Max Hilbrunner
f312b01ccd
Merge pull request #19091 from guilhermefelipecgs/fix_ui
[InspectorDock] Change label offset
2018-07-12 05:12:35 +02:00
Max Hilbrunner
118d4f3115
Merge pull request #19540 from muiroc/cylinder
Cylinder resource and collision shape (bullet only)
2018-07-12 05:09:37 +02:00
Alexander-Alekseev
38887d1a52 Fallback to default font if main/code font path doesn't exist 2018-07-10 14:47:26 +00:00
unknown
9cc41a59ac Added support for extra mouse buttons. 2018-07-09 14:34:19 +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
073e77454d
Merge pull request #19713 from volzhs/fix-crash-nodepath-animation-edit
Fix crash when assigning a node on editing animation key
2018-07-05 04:20:40 +02:00
Max Hilbrunner
43748f67be
Merge pull request #19351 from guilhermefelipecgs/fix_reversed_text
Fixes to the new inspector
2018-07-05 03:50:31 +02:00
Max Hilbrunner
edc63a2f60
Merge pull request #18028 from gabrii/18026
Fix #18026. Expose TextEdit::set_draw_breakpoint_gutter.
2018-07-05 02:30:18 +02:00
Max Hilbrunner
43a2e9e669
Merge pull request #15881 from dertom95/EditorScenePostImport
EditorScenePostImport: added get_source_folder() and get_source_file(…
2018-07-05 02:27:26 +02:00
Guilherme Felipe
709948aa5a Fixes to the new inspector
- Fix inspector dock not updating tree for main resource;
- Fixes the inspector input text reverted during typing;
- Add method bind for "refresh" used by MultiNodeEdit;
2018-07-04 20:08:45 -03:00
Max Hilbrunner
751a4232ed
Merge pull request #19090 from toger5/prop_spinner_improovement
Prop editor input improvements
2018-07-05 00:51:16 +02:00
Max Hilbrunner
c41d322e11
Merge pull request #19183 from Nallebeorn/rename-main-scene
Update resource file project settings after renaming/moving the files
2018-07-05 00:44:23 +02:00
Max Hilbrunner
4f39d330cf
Merge pull request #19245 from swarnimarun/overwrite_fix
Fix overwrite of file/folder of same name without warning
2018-07-05 00:30:06 +02:00
Max Hilbrunner
dacd9c51b1
Merge pull request #19849 from willnationsdev/expose-script-create-dialog
Expose ScriptCreateDialog to EditorPlugin
2018-07-04 22:37:27 +02:00
toger5
8f5cd7076b spin_slider: dont show grabber when editing value with keyboard 2018-07-04 22:04:30 +02:00
toger5
7363be2575 better tab support for property editor 2018-07-04 22:04:30 +02:00
toger5
1706f636d7 spin_slider added ctrl and shift shrotcuts, removed exp dragging 2018-07-04 22:02:34 +02:00
willnationsdev
2a6c591957 Expose ScriptCreateDialog to EditorPlugin 2018-07-04 09:41:12 -05: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
Rémi Verschelde
db97731932
Merge pull request #19882 from khairul169/trackedit_playposition
Hide play position in animation editor if no animation node is selected
2018-07-04 15:03:39 +02:00
Guilherme Felipe
63d1b35c59 Fix animaiton key icon not show on inspector 2018-07-03 17:26:31 -03:00
Max Hilbrunner
0bcc46d524
Merge pull request #19938 from Chaosus/fix_regression
[Regression] Fixed editor bad responsibility after #19244
2018-07-03 20:07:07 +02:00
Chaosus
a28494c962 Fix button regression 2018-07-03 20:44:18 +03:00
Max Hilbrunner
8cbe2105f5
Merge pull request #19816 from leecommamichael/survive-null-scene-root-from-plugin
Survive editor crash if a plugin scene's root is null.
2018-07-03 18:57:27 +02:00
Max Hilbrunner
82a2d2df3e
Merge pull request #19873 from volzhs/show-scene-file
Show current scene file in FileSystem dock
2018-07-03 18:46:23 +02: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
af4d7c4f6d
Merge pull request #19920 from guilhermefelipecgs/group_dialog_resizable
Makes the group dialog resizable
2018-07-03 18:40:19 +02:00
Max Hilbrunner
cb5097a217
Merge pull request #16265 from nanoframe/export_issue_fix
Fix error when downloading export templates
2018-07-03 18:38:00 +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
Benjamin
4cd69e91fc Update resource file project settings on rename 2018-07-03 18:08:41 +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
fb838bf1b4
Merge pull request #19192 from marcelofg55/undo_redo_msg
Add a message when there is nothing to Undo or Redo
2018-07-03 17:32:16 +02:00
Max Hilbrunner
24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +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
9e5b2ce99e
Merge pull request #18305 from groud/inputmap_gui
Move the deadzone to a column in the input project settings
2018-07-03 16:35:20 +02:00
Juan Linietsky
e179bf0726 Ensure, if a texture meant for a normal map is imported and size limit exists, that it's renormalized after resize. 2018-07-03 10:56:31 -03:00
Max Hilbrunner
74369229de
Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict
Remove shortcut conflict
2018-07-03 15:47:48 +02:00
Max Hilbrunner
beefe98974
Merge pull request #19635 from bojidar-bg/19158-exported-array-new-inspector
Add proper type information to array property
2018-07-03 15:47:02 +02:00
Max Hilbrunner
065d209f12
Merge pull request #19639 from volzhs/rescan-file-moved
Re-scan only when actually moving file
2018-07-03 15:35:14 +02:00
khairul169
0f616ff5d8 Hide play position if animation node is invalid 2018-07-03 13:24:47 +07:00
Guilherme Felipe
8c37df17ac Makes the group dialog resizable 2018-07-02 16:32:53 -03:00
Juan Linietsky
c02d8be59d further fixes to tag detection on importer 2018-07-02 05:54:58 -03:00
Juan Linietsky
beebd0b9de Add a condition to detect duplicates objects, so cases like object-col.323, common in blender, is still detected as collision. 2018-07-02 02:02:32 -03: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
Ibrahn Sahir
e1b14db86a Corrected art depo link in editor icons readme. 2018-07-01 13:51:04 +01:00
muiroc
0a36e974da added cylinder shape support 2018-07-01 11:16:54 +02:00
khairul169
0a67aa5ce4 Fix error msg when selecting popupmenu if there is no animation 2018-07-01 15:38:42 +07:00
volzhs
a9acb95ef4 Show current scene file in FileSystem dock 2018-07-01 11:47:34 +09:00
Juan Linietsky
b3627e29f0 -Fixes to OBJ importer, option to disable optimization
-Fixes to script language, PlaceHolder can now get and check methods
2018-06-30 19:59:16 -03:00
Michael Alexsander Silva Dias
02181292b8 Minor changes to the AnimationPlayer editor. 2018-06-30 00:12:05 -03:00
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
Răzvan C. Rădulescu
e8315f306c Rename 'Discard Instancing' to 'Make Local'
Rename the option in the right click menu in the Scene nodes
because Discard Instancing is confusing (it could imply deleting the
instance). I renamed it to Make Local which is used for example in
Blender as well when talking about appending assets from other files.
I think it's clearer. Or it can be renamed to Make Instance Local, but I
thought it's a bit oo long so I went just with Make Local as this option
appears in the menu only when the node is an instance anyway.
2018-06-25 15:54:05 +02: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
Nathan Harrell
6831bc422b Add ability to import projects via ZIP archive. 2018-06-22 00:55:16 -04: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
Bojidar Marinov
7b107cb180
Fix bug in animationplayer editor not using subproperties properly
Fixes  #19448
2018-06-18 15:59:13 +03: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