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
cd29cdab15
Scale the project manager window size with the editor scale
...
This also makes the project search field slightly larger.
2018-08-09 11:10:48 +02:00
Juan Linietsky
934c641a15
-Add Expression class, used to evaluate expressions
...
-Added expression evaluation to EditorSpinSlider, fixes #20813 , fixes #18932
2018-08-08 17:35:23 -03:00
willnationsdev
1ea37c34ad
Add toggle for favorites in create_root_dialog.
2018-08-08 12:15:42 -05:00
Hugo Locurcio
c541430315
Fix a typo in a TTR() call
2018-08-08 16:30:23 +02:00
Juan Linietsky
51da08856a
Merge pull request #20737 from Calinou/use-standard-button-texts
...
Use a standard "OK" text for confirmation buttons in error dialogs
2018-08-08 09:46:22 -03:00
Juan Linietsky
254eb46de3
Several improvements to inspector.
...
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Ibrahn Sahir
62f0dd9d57
removed some surplus null appends that got typoed in 0e29f7974b
...
A couple of null appends got typoed to append a '0' character instead.
Removed them here since String already takes care of the null terminator for us.
2018-08-07 03:30:14 +01:00
Juan Linietsky
5b70ad9d34
Respect process order for out of order skeleton bones (fixes GLTF2 import issues).
2018-08-06 22:35:09 -03:00
Juan Linietsky
00c573c255
Several fixes to GLTF2 importer
2018-08-06 18:41:37 -03: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
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
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
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