Rémi Verschelde
2940475c71
Merge pull request #26673 from willnationsdev/fix-inspector-plugin
...
Fix inspector plugin
2019-03-06 01:14:48 +01:00
Rémi Verschelde
b4d5c1ab5b
Merge pull request #26633 from akien-mga/driver-fallback-etc
...
Disable driver fallback to GLES2 by default
2019-03-06 00:57:49 +01:00
Will Nations
27f9780cc6
Fix crash on exit when removing EditorInspectorPlugins
2019-03-06 00:14:42 +01:00
Rémi Verschelde
2e79ec973f
Merge pull request #26626 from rluders/misleading-error-message-export
...
Fixing misleading error message when trying to export
2019-03-05 22:55:16 +01:00
Rémi Verschelde
88355b2719
Merge pull request #26655 from merumelu/assetlib-video-overlay
...
AssetLib: convert video thumbnails to RGBA8
2019-03-05 21:53:54 +01:00
Rémi Verschelde
a11d8954db
Merge pull request #26643 from KoBeWi/readd_script_with_no_reselect
...
Fix attaching script after removing one
2019-03-05 21:50:57 +01:00
Ricardo Lüders
3fdbdd8380
Fixes misleading error message when trying to export
...
This patch fixes the misleading error message when users
try to "export all" into an invalid destination path.
Closes #26539
2019-03-05 21:32:52 +01:00
merumelu
e4b20a9a51
AssetLib: convert video thumbnails to RGBA
...
Image::blend_rect only works with images that have the same format.
2019-03-05 21:02:56 +01:00
Michael Alexsander Silva Dias
20b479aaef
Fix FileSystem dock's item view button starting with the wrong icon
2019-03-05 15:05:53 -03:00
Rémi Verschelde
f43ee4aff8
Merge pull request #26639 from YeldhamDev/tileeditor_coordnav_disable
...
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 16:59:05 +01:00
Rémi Verschelde
ae24258842
Merge pull request #26622 from pyrophone/TilesetPreviewFix
...
Fixed Tileset preview stretching textures
2019-03-05 16:57:21 +01:00
Rémi Verschelde
b0f782a0e3
Disable driver fallback to GLES2 by default
...
GLES2 is not designed to be a drop-in replacement for the GLES3 backend,
so the fallback mode has to be used knowingly. It *can* make sense for
simple projects which make sure to handle the differences between both
rendering backends, but most users should stick to one supported backend.
By making it opt-in, we can now use this parameter to define whether to
export ETC textures to Android and iOS when using GLES3 + Fallback.
When using GLES3 without Fallback on Android, set the proper min GLES
version in the AndroidManifest.
Also made the option boolean and renamed it for clarity and to avoid
conflict with the previous String option (which would always evaluate as
"true" otherwise).
Fixes #26569 .
2019-03-05 16:36:46 +01:00
Tomasz Chabora
63a2475f0f
Allow to attach script when there's no 'selected node', but selection exists
2019-03-05 16:28:39 +01:00
Gio Aleman
4cf197fa48
Fixed Tileset preview stretching textures
2019-03-05 09:53:08 -05:00
Michael Alexsander Silva Dias
9b52ad5caf
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 11:22:44 -03:00
Michael Alexsander Silva Dias
a292d1fefb
Fix general issues with filesystem-related UI components in the editor
2019-03-05 10:12:06 -03:00
Andrii Doroshenko (Xrayez)
a4e6e2f342
Ensure to disable freelook when leaving spatial editor
...
Fixes and prevents the problem with mouse getting stuck in MOUSE_MODE_CAPTURED when switching to canvas item editor plugin by any means other than manually (with mouse).
2019-03-05 12:42:25 +02:00
Rémi Verschelde
3aff78f532
Merge pull request #26599 from MarianoGnu/fix_25817
...
TileSetEditor: Expose to the user OneWayCollision+Margin properties.
2019-03-05 00:19:48 +01:00
Rémi Verschelde
0952522e8b
Merge pull request #26612 from akien-mga/mkdir-system-data-path
...
Fix creating editor data, config and cache paths
2019-03-04 23:52:11 +01:00
Juan Linietsky
5b77aa6bea
Ensure shader is not set if code did not change
2019-03-04 19:39:06 -03:00
Rémi Verschelde
c0050d9295
Fix creating editor data, config and cache paths
...
We used to abort if the system-specific data folder (e.g. `~/.local`
or `%APPDATA%`) is missing, but the next code chunk actually creates
it with `make_dir_recursive` if missing.
Fixes #26598 .
2019-03-04 23:29:22 +01:00
Rémi Verschelde
26c1d1aec8
Merge pull request #26587 from KoBeWi/undo_visibility_AABB
...
Add UndoRedo for Generate Visibility AABB (Particles)
2019-03-04 21:54:51 +01:00
Rémi Verschelde
9efbddfee1
Merge pull request #26607 from ptrojahn/translationescape
...
Unescape translations in CSV importer
2019-03-04 21:54:29 +01:00
Juan Linietsky
21289c6fea
Some clean up to previous commit.
2019-03-04 17:11:49 -03:00
Paul Trojahn
aa465f076f
Unescape translations in CSV importer
...
Fixes #25361
2019-03-04 21:07:58 +01:00
Tomasz Chabora
4599e98341
Add UndoRedo for Generate AABB (Particles)
2019-03-04 21:00:56 +01:00
Juan Linietsky
472c94ce3e
Remove the "Open Editor" button, it will open automatically.
2019-03-04 16:50:21 -03:00
Juan Linietsky
53bec9deeb
Fix and restore text, material and mesh previewers.
2019-03-04 15:53:18 -03:00
Mariano Suligoy
33406131c1
TileSetEditor: Expose to the user OneWayCollision+Margin properties. Fixes #25817 .
2019-03-04 14:10:31 -03:00
Rémi Verschelde
878950db16
Merge pull request #26590 from Chaosus/fix_sprite_region_crash
...
Fix editor crash when converting sprite to 2D mesh
2019-03-04 16:58:39 +01:00
Chaosus
8b5e070ec7
Fix editor crash when converting sprite to 2D mesh
2019-03-04 17:37:38 +03:00
Juan Linietsky
e653c79ef7
Better warnings when resources can't be saved. Fixes #26531
2019-03-04 11:06:49 -03:00
xDGameStudios
d2f73d4a27
Add UndoRedo on Generate Visibility Rect (Particles2D)
2019-03-04 12:49:32 +00:00
Juan Linietsky
a1e73dcc94
Add support for event accumlation (off by default, on for editor), fixes #26536
2019-03-03 19:53:13 -03:00
will
7a88002992
New shortcuts for the editor menu items
2019-03-03 15:24:58 -06:00
Juan Linietsky
8b4c4d9b2f
Implement a more coherent (and way less hack) way to block animation updates, fixes #24618
2019-03-03 17:57:16 -03:00
Rémi Verschelde
9357d691a2
Merge pull request #26496 from MadEqua/fix-filesystem-dock-icon
...
Fix grid view button icon not showing on filesystem dock.
2019-03-03 19:58:48 +01:00
Juan Linietsky
2f32a75d2e
Skeletons can now choose between using local or world coords for processing, fixes #26468
2019-03-03 12:24:00 -03:00
Bruno Lourenço
ed7534a6aa
Fix grid view button icon not showing on filesystem dock.
2019-03-03 15:02:51 +00:00
Rémi Verschelde
af6217e1b1
Merge pull request #26523 from akien-mga/export-etc-check
...
Improve VRAM texture compression checks for mobile/web
2019-03-03 14:12:03 +01:00
Rémi Verschelde
86f4fabd46
Merge pull request #26446 from QbieShay/root_node_from_escn
...
Importer for scenes only overrides the base Node if differently specified by the user
2019-03-03 13:51:09 +01:00
Rémi Verschelde
9d002442b2
Improve VRAM texture compression checks for mobile/web
...
For HTML5, we need to support S3TC if running on desktop,
and ETC or ETC2 for mobile, so make this explicit.
Add logic to check for ETC2 support on GLES3,
and remove incorrect ETC feature for GLES3 on Android.
Fix ETC check invalidating templates on HTML5.
Fixes #26476 .
2019-03-03 13:24:08 +01:00
Rémi Verschelde
c0e1c66e3d
Merge pull request #26385 from MarianoGnu/tileset_editor
...
TileSetEditor: Improvements and fixes
2019-03-03 11:24:16 +01:00
Mariano Suligoy
7b933d70a8
TileSetEditor: Allow to toggle Convex/Concave collisions. Alternative fix to #24003
2019-03-02 19:40:56 -03:00
Rémi Verschelde
4bd9135eee
Merge pull request #26482 from ptrojahn/missingpreview
...
Fix preview in file dialog
2019-03-02 19:04:13 +01:00
Paul Trojahn
6e865d1e11
Fix preview in file dialog
...
If the preview is already cached, queue_ressource_preview calls
_thumbnail_done immediately, so preview_waiting is never set to false
again. The progress wheel isn't rendered, because the WaitPreview icons
don't exist. This should probably be Progress.
Fixes #25749
2019-03-02 13:43:29 +01:00
Ilaria Cislaghi
b6fe7a794d
Importer for scenes only overrides the base Node if differently specified by the user
2019-03-02 13:31:11 +01:00
Juan Linietsky
abbca3b3cc
Flush stuff pending on visual server thread when exiting, fixes #24669
2019-03-01 16:34:03 -03:00
Rémi Verschelde
856c36cb89
Merge pull request #26451 from ptrojahn/modified
...
Fix misleading modified status of scenes
2019-03-01 20:20:50 +01:00
Juan Linietsky
3f681b0681
Clean up blend shape support in GLES2 and GLES3.
2019-03-01 16:01:44 -03:00
Paul Trojahn
f3d94cc752
Fix misleading modified status of scenes
...
If a scene is instanced in another scene, any changes to the first
triggers _clear_undo_history in EditorNode::set_current_scene, which
increments the version in UndoRedo::clear_history. This results in a
modified status. Passing false to clear_history fixes this issue.
Fixes #25942
2019-03-01 18:27:37 +01:00
Rémi Verschelde
3c59604061
i18n: Sync translation template with current source
2019-03-01 13:04:23 +01:00
Rémi Verschelde
4c8db607fb
i18n: Sync translations with Weblate
2019-03-01 13:01:50 +01:00
Rémi Verschelde
e7dd05fed8
Merge pull request #26419 from SeleckyErik/errors-tab-bug
...
Fixed Errors Tab Indexing Bug in the Debugger
2019-03-01 12:07:31 +01:00
Chaosus
7bb449ae70
Updates error label font in status bar
2019-03-01 11:48:36 +03:00
Mariano Suligoy
65084a70fd
Allow to change selection of collision shapes added to the same tile. Fixes #26369 .
2019-02-28 22:45:16 -03:00
Mariano Suligoy
33be8b0701
Allow to change selection around all tiles on the texture without clicking on them. Fixes #25203 . Fixes #22077
2019-02-28 20:48:34 -03:00
Erik
3f9ba2bd14
Fixed Errors Tab Indexing Bug in the Debugger
...
FIxed bug with Errors tab in the Debugger using wrong index in the
tab container.
Also removed unused variable that was probably left behind.
2019-02-28 22:12:14 +01:00
Rémi Verschelde
38bfd2fda6
Merge pull request #26383 from neikeq/issue-26302
...
Sanitize file paths before extracting export templates
2019-02-28 12:36:49 +01:00
Rémi Verschelde
a4b687bdab
Merge pull request #26386 from YeldhamDev/tileset_editor_dynamic_workspace
...
Make TileSet editor's workspace change size according to region changes
2019-02-28 09:49:05 +01:00
Rémi Verschelde
41708eb821
Merge pull request #26335 from ericrybick/26247
...
Fix project_settings entry creation for global scripts.
2019-02-28 09:34:50 +01:00
Michael Alexsander Silva Dias
6cf1a94af0
Make TileSet editor's workspace change size according to region changes
2019-02-27 22:40:54 -03:00
Ignacio Etcheverry
8e98be5991
Sanitize file paths before extracting export templates
2019-02-28 00:25:55 +01:00
Juan Linietsky
9ca6ffa341
Save resources even if no scene is present, closes #26273
2019-02-27 20:00:40 -03:00
Rémi Verschelde
028303f167
Merge pull request #26373 from groud/fix_layout_loading
...
Fixes layout loading
2019-02-27 22:39:31 +01:00
Juan Linietsky
d8f12c4343
Avoid docks to be overriden while scanning, fixes #26359
2019-02-27 18:14:59 -03:00
Eric Rybicki
069bbd35df
Hide global section in project settings when no property is defined
...
Prevent _global_script entries in project settings without section from being loaded
fixes #26247
2019-02-27 21:45:55 +01:00
Gilles Roudiere
04fb1069cd
Fixes layout loading
2019-02-27 21:36:12 +01:00
Juan Linietsky
a5370b1b1b
-Fix problem of order of import plugins, closes #26340
...
-Ensure resource previewer does not start until first import is done
2019-02-27 14:11:17 -03:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
...
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Juan Linietsky
eb2b9b88a9
Make sure restoring opened scenes happens after scanning is done.
2019-02-27 11:00:32 -03:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
...
Was a leftover from 0a1c1c660f
.
Fixes #21633 .
2019-02-27 15:56:49 +02:00
Juan Linietsky
f1e3bb0a15
Fixed issue where descriptor is left hanging, which causes file locked on Windows, closes #26342
2019-02-27 09:37:19 -03:00
Rémi Verschelde
f0f277faf1
Merge pull request #26330 from AlmostBearded/tileseteditor_multiplecollisionshapes
...
Allow Creation of Multiple Collision Shapes for Tiles
2019-02-27 11:33:45 +01:00
Juan Linietsky
caa42667e8
If resources on disk have subresources and they are edited, also save the resource on ctrl-s
2019-02-26 23:48:30 -03:00
Hein-Pieter van Braam
464e1142c4
Don't crash on previewing an AtlasTexture without a region
2019-02-27 00:44:09 +00:00
Rémi Verschelde
28a57c2c29
Merge pull request #26304 from bojidar-bg/26066-fix-exported-poolarray
...
Fix GDScript exports having the wrong type of default value by converting it
2019-02-27 00:16:02 +01:00
Peter Oberrauner
657f83148c
Allow Creation of Multiple Collision Shapes for Tiles #24003
2019-02-26 23:45:01 +01:00
Juan Linietsky
dce1e6b5fe
Clarify that ETC is required for GLES2.
2019-02-26 19:31:10 -03:00
Juan Linietsky
f669ebeeaf
-Properly handle missing ETC support on export
...
-Added ability for resource importers to save metadata
-Added ability for resource importers to validate depending on project settings
2019-02-26 18:45:06 -03:00
Jairo Honorio
5ec64d30b1
Resize native run button according to editor scale.
2019-02-26 12:57:43 -03:00
Juan Linietsky
5eeb06ffd1
-Remove harcoded opengl extension testing from OS, ask rasterizer instead.
...
-Fixed a bug where etc textures were imported broken
2019-02-26 11:58:47 -03:00
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
...
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.
Closes #11722
2019-02-26 15:38:23 +02:00
Bojidar Marinov
db7864c1fd
Fix GDScript exports having the wrong type of default value by converting it
...
Also, initialize elements of PoolArrays when resizing them in the editor.
Fixes #26066 .
2019-02-26 14:58:39 +02:00
Rémi Verschelde
68f675fba2
Merge pull request #26290 from groud/move_setting_to_layout
...
Move the FileSystem dock layout properties to the per-project layout file
2019-02-26 09:14:41 +01:00
Gilles Roudiere
de95493de2
Move the FileSystem dock layout properties to the per-project layout file
2019-02-25 23:39:49 +01:00
Rémi Verschelde
51c1d55cf9
Merge pull request #26283 from neikeq/issue-25330
...
Make export templates extraction handle subdirectories
2019-02-25 20:46:58 +01:00
Ignacio Etcheverry
50a137e393
Make export templates extraction handle subdirectories
...
Fixes #25330
2019-02-25 19:56:58 +01:00
Eric Rybicki
747b9ac870
Fix editor crash after disabling plugin that used forward_spatial_gui_input
...
Fixes #26124 .
2019-02-25 17:11:04 +01:00
Rémi Verschelde
88a36e20cb
doc: Sync classref with current source
2019-02-25 11:22:41 +01:00
Juan Linietsky
74d0ed2236
Many separate fixes to ensure non power of 2 textures work on GLES2, closes #25897 and many others
2019-02-24 22:36:53 -03:00
Ignacio Etcheverry
ef61c14dda
Merge pull request #26214 from neikeq/defval-pls
...
Fix default value of EditorSpatialGizmo.add_mesh method bind
2019-02-24 01:38:24 +01:00
Juan Linietsky
f436047cf5
Clear canvas item after rendering font, fixes #23774
2019-02-23 21:31:09 -03:00
Ignacio Etcheverry
448d3904a1
Fix default value of EditorSpatialGizmo.add_mesh method bind
2019-02-24 01:15:16 +01:00
Juan Linietsky
bfa9be85d3
Remove copy and use instance material override in gizmos, fixes #23783
2019-02-23 20:20:54 -03:00
Juan Linietsky
fd68bb2596
-Treat scalar conversions when calling functions as error, closes #24261
...
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Mariano Suligoy
5a21847f23
TileSetEditor: Show Edition Context by demand
2019-02-23 00:04:31 -03:00
Juan Linietsky
7f63b0e8cd
Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
...
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Rémi Verschelde
2985eabc7f
Merge pull request #26150 from akien-mga/export-error-message
...
Improve error message on project export failure
2019-02-22 12:06:40 +01:00
Rémi Verschelde
793ffd942e
Improve error message on project export failure
...
It's still not enough and we need better validation/error checking,
but it should help with people assume corrupted templates when it's
their config which is invalid.
2019-02-22 11:18:22 +01:00
Rémi Verschelde
0c7c800880
Merge pull request #26133 from YeldhamDev/ttr_undoredo_actions
...
Make translatable some undo/redo operations in the editor
2019-02-22 09:58:51 +01:00
Juan Linietsky
8b231b96e3
Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801
2019-02-21 20:49:42 -03:00
Juan Linietsky
30a4723d9c
Fix audio previews, closes #25979
2019-02-21 17:50:02 -03:00
Michael Alexsander Silva Dias
3ef8238c1c
Make translatable some undo/redo operations in the editor
2019-02-21 16:41:01 -03:00
Vixelz
03f7a724ed
Include global class resources in Resource property inspector
...
Much like how script defined global classes can be created from the
"New Resource..." button in the FileSystem panel, this allows the
creation of script defined resources to be embedded.
2019-02-21 18:16:49 +00:00
Rémi Verschelde
5585420e79
Fix EditorPropertyInteger and EditorPropertyEnum support for 64-bit int
...
Fixes #26116 and fixes #22004 , thanks @kiidmale.
2019-02-21 13:30:29 +01:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
74ef11d404
Merge pull request #26061 from qarmin/fix_res_error
...
Fix res:// error when dragging file from outside of editor
2019-02-20 17:28:05 +01:00
Rémi Verschelde
6b0ecb7266
Merge pull request #26092 from YeldhamDev/top_bar_spacing
...
Add small spacing between top bars in main editor and project manager
2019-02-20 17:27:47 +01:00
Michael Alexsander Silva Dias
0de15955ad
Add small spacing between top bars in main editor and project manager
2019-02-20 12:08:52 -03:00
Michael Alexsander Silva Dias
44c37aabf1
Fix navigation editor color materials not having unique names
2019-02-20 11:34:46 -03:00
Rémi Verschelde
1f257d3f8c
Merge pull request #26085 from mrcdk/tileset_shape_rectangle
...
Added a create rectangle button to the tileset editor.
2019-02-20 13:26:51 +01:00
MrCdK
7827c2fd57
Added a create rectangle button to the tileset editor.
...
It makes easier to create collision shapes covering the full tile.
2019-02-20 12:27:53 +01:00
Rémi Verschelde
d1f68e2eaf
Add tooltip for in-editor FPS display in 3D viewport
...
Also enhance Control/Label documentation about tooltips and mouse filter,
as it took me a while to understand why Labels didn't show tooltips.
Closes #26082 .
2019-02-20 12:16:22 +01:00
qarmin
f6c59cf48d
Fix error when deleting default environment
2019-02-20 10:40:41 +01:00
Michael Alexsander Silva Dias
5dfbdbcd0b
Enhance theme preview
2019-02-19 21:52:56 -03:00
JFonS
54b95b6c5a
Add FRUSTUM camera mode, allowing tilted frustums
...
This new camera mode makes it easy to create tilted frustums for mirror
or portal effects.
This work was kindly sponsored by IMVU.
2019-02-19 17:48:08 +01:00
qarmin
2f0c4de1f0
Fix res:// error when dragging file to other file
2019-02-19 17:21:05 +01:00
Rémi Verschelde
e9b854b78a
Merge pull request #26033 from karliss/project-import
...
Fix project opening while filter is applied.
2019-02-19 09:11:20 +01:00
Kārlis Seņko
bb3429c1c5
Fix project opening while filter is applied.
...
Fixes #25268
2019-02-19 00:06:20 +02:00
lupoDharkael
76560c8afa
Add class tree selection to script inheritance selection
2019-02-18 19:16:09 +01:00
Rémi Verschelde
f5f2b5d4af
Merge pull request #25962 from willnationsdev/fix-missing-addon
...
Auto-cleanup missing addons
2019-02-18 10:09:58 +01:00
Rémi Verschelde
03c4e4bba8
i18n: Sync translation template with current source
2019-02-18 09:57:02 +01:00
Rémi Verschelde
b65d22ed90
i18n: Sync translations with Weblate
2019-02-18 09:55:52 +01:00
Will Nations
2d0fcd5c4a
Auto-cleanup missing addons
2019-02-17 22:57:45 -06:00
Michael Alexsander Silva Dias
fe893bd6ef
Fix description size in "New Node" dialog
2019-02-17 19:06:42 -03:00
Rémi Verschelde
9402d2f9fe
Merge pull request #25954 from AlexHolly/fix-android-jarsigner-duplicate-file
...
Fix Android jarsigner error duplicate file
2019-02-16 23:17:54 +01:00
Rémi Verschelde
6201159a47
Merge pull request #25958 from YeldhamDev/poly2d_edit_disable_fix
...
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 23:16:53 +01:00
Michael Alexsander Silva Dias
637f41e833
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 20:13:02 -02:00
Rémi Verschelde
4f6dd779a3
Merge pull request #25913 from Chaosus/fix_gizmo_icons
...
Fix icon color for gizmos menu when theme changed
2019-02-16 23:06:46 +01:00
Alexander Holland
c28da89879
Fix Android jarsigner error duplicate file
...
Exports same file only once.
2019-02-16 21:58:52 +01:00
Michael Alexsander Silva Dias
8bef68fe6f
Better and non-buggy Polygon2D editing disabling
2019-02-16 16:46:09 -02:00
Michael Alexsander Silva Dias
aca756fce8
Revert "Disallow polygon2D editing if internal vertices exists, as suggested in #24853 "
...
This reverts commit 419fb45a3e
.
2019-02-16 16:43:51 -02:00
Rémi Verschelde
1aadb9f454
Merge pull request #24574 from SeleckyErik/issue-21814
...
Made clone (CTRL+B) in code editor clone only the selection.
2019-02-16 19:24:28 +01:00
Rémi Verschelde
ca5ec803fc
Merge pull request #25944 from Faless/net/http_editor_fixes
...
Fix keep-alive without header in HTTP client
2019-02-16 17:58:48 +01:00
Fabio Alessandrelli
1aa1f42963
Fix uninitialized value
2019-02-16 16:01:20 +01:00
Rémi Verschelde
a57960cf06
Merge pull request #25910 from Chaosus/fix_solarized_dark_theme
...
Increased contrast of solarized dark theme
2019-02-16 14:20:12 +01:00
Rémi Verschelde
8c27673dc0
Merge pull request #25932 from qarmin/fix_text_edit_issue
...
Fix big text window in TextEdit
2019-02-16 14:19:47 +01:00
qarmin
fa629cdd2c
Fix big text window in TextEdit
2019-02-16 10:48:23 +01:00
Chaosus
a51088a7f9
Fix icon color for gizmos menu when theme changed
2019-02-15 20:32:38 +03:00
Chaosus
9d73cdd05d
Increased contrast of solarized dark theme
2019-02-15 19:00:19 +03:00
marxin
7ae160f661
Fix 2 more UBSAN issues ( #25217 ).
2019-02-14 20:47:35 +01:00
Rémi Verschelde
c6c788581e
Drop unused AnimationTrackKeyEdit::track_editor
...
Added by mistake in 4a24ba6e77
.
2019-02-14 16:16:45 +01:00
Juan Linietsky
4a24ba6e77
-Fixes to undo redo to avoid crash, closes #24251
...
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
Juan Linietsky
f981e9fe91
Avoid case where editors are deleted while moved, fixes #25508 , fixes #24829
2019-02-14 08:03:32 -03:00
Juan Linietsky
419fb45a3e
Disallow polygon2D editing if internal vertices exists, as suggested in #24853
2019-02-13 13:11:39 -03:00
Juan Linietsky
7f69da488e
Change some editing display options to make it clearer, as requested in #24853
2019-02-13 11:42:05 -03:00
Rémi Verschelde
d2765cd04a
Merge pull request #25814 from allkhor/hide_warning_panel
...
Hide the warning panel when no warnings presents.
2019-02-13 12:56:59 +01:00
allkhor
0137ec3468
Hide the warnings panel when no warnings presents.
2019-02-13 17:01:21 +06:00
Rémi Verschelde
5fc86026ca
Fix typos with codespell
...
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
Rémi Verschelde
55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
...
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
samHFIT
5e28fa53c4
Fixes issue #25822
2019-02-12 12:30:56 -05:00
Rémi Verschelde
8b77dac56e
Merge pull request #25827 from merumelu/audio-bus-tooltip
...
EditorAudioBuses: Fix wrong tooltip for "Add Bus"
2019-02-12 17:25:20 +01:00
Rémi Verschelde
c5dcbeb160
Scene: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
merumelu
5634f627da
EditorAudioBuses: Fix wrong tooltip for "Add Bus"
2019-02-12 17:13:02 +01:00
merumelu
32b9aedd88
PluginConfigDialog: Slight usability changes
...
- Set focus to the first LineEdit instead of the confirm button.
- Default to GDScript rather than whatever language was first
registered with the ScriptServer.
2019-02-12 16:18:31 +01:00
Rémi Verschelde
b7cc2bb1e2
Core: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`
Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde
c95308e70f
Merge pull request #25819 from YeldhamDev/project_manager_cleanup
...
Minor cleanup in the Project Manager
2019-02-12 12:21:26 +01:00
Michael Alexsander Silva Dias
da45f1bf85
Minor cleanup in the Project Manager
2019-02-12 08:25:09 -02:00
Rémi Verschelde
c5a526840e
Merge pull request #25778 from YeldhamDev/add_disabled_tab_style
...
Add disabled tab style
2019-02-12 11:25:01 +01:00
qarmin
a14733be3f
Add button in Project Manager to remove all missing projects
2019-02-11 17:44:23 +01:00
Michael Alexsander Silva Dias
3a70020c98
Cleanup editor's top bar of old nodes
2019-02-11 02:18:54 -02:00
Michael Alexsander Silva Dias
e322fd140e
Add disabled tab style
2019-02-10 18:12:17 -02:00
Michael Alexsander Silva Dias
4fd7115e13
General cleanup of script and doc search bars
2019-02-10 14:18:08 -02:00
Rémi Verschelde
f614f15506
doc: Misc formatting fixes
2019-02-10 13:30:48 +01:00
Rémi Verschelde
ba0a4a942e
i18n: Sync translation template with current source
2019-02-10 13:19:03 +01:00
Rémi Verschelde
dc239b47b3
i18n: Sync translations with Weblate
2019-02-10 13:03:59 +01:00
Rémi Verschelde
33b64ec3fd
Merge pull request #25739 from qarmin/fix_scan_folders_after_deleting
...
Fix rescan files and folders after deleting them
2019-02-09 20:37:59 +01:00
Rémi Verschelde
5fa5678eb7
Merge pull request #25736 from qarmin/fix_sprie_frames_editor
...
Fix latest regression error in SpriteFramesEditor
2019-02-09 18:27:40 +01:00
Rémi Verschelde
ae1ac55409
Merge pull request #25712 from QbieShay/issue_25609
...
Root node of a scene is now selected when the scene is opened.
2019-02-09 18:22:28 +01:00
Rémi Verschelde
7d5c6f4c7a
Merge pull request #25710 from Calinou/add-hint-output-font-size
...
Add a setting hint for the Output panel font size
2019-02-09 17:46:39 +01:00
qarmin
5b9662a2c5
Rescan files and folders deleting them
2019-02-09 14:36:16 +01:00
qarmin
c8f084b0d5
Fix latest regression error in SpriteFramesEditor
2019-02-09 12:50:19 +01:00
qarmin
a0fb4f2b5d
Clearch SearchBox when unclick SearchButton
2019-02-08 23:59:51 +01:00
QbieShay
fe046de216
Root node of a scene is now selected when the scene is opened.
2019-02-08 22:50:39 +01:00
Rémi Verschelde
8253cdbda3
Merge pull request #25692 from YeldhamDev/spriteframes_editor_changes
...
Small changes to the SpriteFrames editor
2019-02-08 19:52:20 +01:00
Rémi Verschelde
865d7983e0
Merge pull request #25701 from Chaosus/fix_particles_gizmo
...
Fix undo for Particles 3D gizmo
2019-02-08 19:51:40 +01:00
Hugo Locurcio
07e87f6ec0
Add a setting hint for the Output panel font size
...
This closes #21237 .
2019-02-08 19:34:43 +01:00
Erik
a83877a8e8
Moves cursor to and selects "new_script" in Create Script dialog
...
When Create Script dialog pops up, the cursor in the Path LineEdit is
moved to the "new_script" name placeholder and it is selected.
2019-02-08 18:42:05 +01:00
Rémi Verschelde
5e837b3f13
Merge pull request #25552 from groud/better_error_message
...
Displays errors and warnings in a better way in the script editor
2019-02-08 17:03:55 +01:00
Chaosus
43a3db4c00
Fix undo for Particles 3D gizmo
2019-02-08 14:26:52 +03:00
Rémi Verschelde
da18307a53
Merge pull request #25562 from IronicallySerious/fix-empty-project
...
Fix prompt for empty project files when loaded
2019-02-08 12:16:01 +01:00
Rémi Verschelde
39bc758bb5
Merge pull request #25549 from Zylann/fix_game_font_size_forced_to_13
...
Don't modify font which could potentially not be the editor one yet
2019-02-08 12:13:05 +01:00
Rémi Verschelde
15a5c97591
Merge pull request #25546 from Zylann/fix_garbage_log_pointer
...
Fixed uninitialized pointer access due to THEME_CHANGED notification
2019-02-08 12:11:16 +01:00
Rémi Verschelde
6958953ffa
Merge pull request #25515 from Zylann/search_bar_bottom
...
Moved script editor search bar to the bottom
2019-02-08 11:36:16 +01:00
Rémi Verschelde
4ddefe9142
Merge pull request #25467 from fire/folding_spam
...
Add check in folding to see if the nodepath exists to avoid message spam and expose get_node_or_null
2019-02-08 10:13:36 +01:00
Michael Alexsander Silva Dias
d3082c99b5
Small changes to the SpriteFrames editor
2019-02-07 22:54:59 -02:00
Twarit
56f4d59962
Fix prompt for empty project files when loaded
...
Fixes #25541
2019-02-06 17:21:19 +05:30
hsandt
49b4faf43a
[Code Editor] Fixed toggle_inline_comment moving cursor position by 1 even with longer delimiter like "//"
2019-02-04 20:23:48 +01:00
hsandt
5165a90ef6
[Script Editor] Refactored ScriptTextEditor::_edit_option by extracting EDIT_TOGGLE_COMMENT case
...
CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
2019-02-04 20:21:08 +01:00
Gilles Roudière
5f981d7fef
Displays errors and warnings in a better way in the script editor
2019-02-01 17:20:59 +01:00
Marc Gilleron
81a5eb4d18
Don't modify font which could potentially not be the editor one yet
2019-02-01 16:59:55 +01:00
Marc Gilleron
fb2eb66e40
Fixed uninitialized log member due to THEME_CHANGED notification
2019-02-01 15:30:44 +01:00
Rémi Verschelde
58de384978
Merge pull request #25540 from JFonS/remove_gizmo_errors
...
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS
2232d3336e
Fix gizmo errors on "Align with view"
2019-02-01 12:16:05 +01:00
Marc Gilleron
ae9a23e36c
Moved script editor search bar to the bottom, so it doesn't shift everything down
2019-01-31 16:44:40 +01:00
K. S. Ernest (iFire) Lee
b83c3827f3
Add check in folding to see if the nodepath exists to avoid message spam.
2019-01-30 20:19:44 -08:00
Gilles Roudiere
96f25c8b67
Move some tilemap options to the toolbar
2019-01-30 16:06:40 +01:00
Rémi Verschelde
c21ca98e4c
Merge pull request #25469 from ankitpriyarup/master
...
Fixes error when new name contains only unallowed characters
2019-01-30 12:05:35 +01:00
Ankit Priyarup
ee560dd987
Invalid node name should check if new_name is empty then cancel rename, fixes 25226
2019-01-29 22:21:50 +05:30
volzhs
1c14da3273
Remove unnecessary call VS::get_singleton() twice
2019-01-29 02:55:13 +09:00
Rémi Verschelde
70689ebffd
Remove unused iostream includes
2019-01-28 12:16:22 +01:00
Juan Linietsky
98ffb6b37e
Instantiate global classes properly, fixes #20857
2019-01-27 18:18:54 -03:00
Rémi Verschelde
2ad6212a3f
Merge pull request #25372 from JFonS/add_gizmo_docs
...
Minor fixes and documentation for Spatial Gizmos
2019-01-27 19:06:42 +01:00
JFonS
e90fb5b0ab
Minor fixes and documentation for Spatial Gizmos
2019-01-27 18:40:01 +01:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
...
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Rémi Verschelde
1bed784c9a
Merge pull request #25380 from godotengine/fix_pivot
...
Fixes the pivot setting with control nodes
2019-01-27 18:20:06 +01:00
Rémi Verschelde
86e1de71df
Merge pull request #25383 from akien-mga/editorinspector-property_changed_update_all
...
Fix EditorInspector property_changed argument mismatch
2019-01-27 17:58:12 +01:00
Juan Linietsky
a089061120
Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378 .
2019-01-27 13:41:47 -03:00
Rémi Verschelde
563139e5f3
Fix EditorInspector property_changed argument mismatch
...
Bug introduced in #21701 , missed in 541422a4a2
.
2019-01-27 17:37:24 +01:00
Gilles Roudiere
d3619f8743
Disables the Layout menu when a Control node is child of a container
2019-01-27 16:36:10 +01:00
Gilles Roudiere
3cfd80b0bf
Fixes the pivot setting with control nodes
2019-01-27 15:51:45 +01:00
Michael Alexsander Silva Dias
182f26fe5e
Make some small enhancements to the ColorPicker
2019-01-27 12:44:39 -02:00
Rémi Verschelde
c3b0ee5941
Fix code style issues
2019-01-26 22:35:31 +01:00
Rémi Verschelde
16fa788510
i18n: Sync translation template with current source
2019-01-26 22:27:36 +01:00
Rémi Verschelde
8cc9bf5969
i18n: Sync translations with Weblate
2019-01-26 22:24:25 +01:00
Rémi Verschelde
d9268265dc
Merge pull request #25354 from Ranoller/patch-5
...
Profiler list functions from max to less expensive
2019-01-26 20:44:10 +01:00
Juan Linietsky
ed1b9c1f15
Avoid crash in import (though model still does not work well), fixes #19346
2019-01-26 16:32:05 -03:00
Ranoller
d7c72dc2d1
Profiler list functions from max to less expensive
...
Solves https://github.com/godotengine/godot/issues/25328 and partially https://github.com/godotengine/godot/issues/5682
2019-01-26 19:54:04 +01:00
Rémi Verschelde
1365bed8ed
Merge pull request #25338 from DualMatrix/search_inaccurate
...
Fixed Recent/Favorite in Create Node dialog not selecting right node
2019-01-26 14:24:35 +01:00
DualMatrix
e3648c0a79
Fixed Recent/Favorite in Create Node dialog not selecting right node
...
Fixes #6535
2019-01-26 13:52:53 +01:00
Rémi Verschelde
35c1694c04
Merge pull request #24923 from groud/add_color_audio_buses_buttons
...
Adds color to the audio buses buttons
2019-01-26 12:02:24 +01:00
Rémi Verschelde
6e600706e9
Merge pull request #25237 from eska014/pjmgr-rasterizerselect
...
Add renderer selection to New Project dialog
2019-01-26 00:14:45 +01:00
Juan Linietsky
b3335e943b
Implement missing autorestart in oneshot node, closes #22238
2019-01-25 18:15:29 -03:00
Juan Linietsky
b0758b2d73
Stop preview generator before reimporting resources with different type.
2019-01-25 17:27:50 -03:00
Juan Linietsky
5bd3f72878
Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874
2019-01-25 17:23:56 -03:00
Juan Linietsky
853f985b63
Make sub-inspectors not listen to node removals, since they never edit nodes. Fixes #23554
2019-01-25 15:14:56 -03:00
Juan Linietsky
32fa136cc7
Ability to keep images in ImageTexture cached while using editor, fixes #25243
2019-01-25 13:40:23 -03:00
Rémi Verschelde
c298b5267a
Merge pull request #25306 from DualMatrix/no_showup
...
Fixed function names of built-in scripts not showing up in debugger
2019-01-25 14:41:23 +01:00
DualMatrix
f119e0b156
Fixed function names of built-in scripts not showing up in debugger
...
Fixes #25198
2019-01-25 12:54:50 +01:00
qarmin
6c159acf47
Add third point to move Rectangle Shape 2D in two axis
2019-01-25 09:49:28 +01:00
Leon Krause
12bdb46706
Add renderer selection to New Project dialog
2019-01-25 01:49:55 +01:00
groud
cb37de33ad
Adds color to the audio buses buttons
2019-01-24 23:02:53 +01:00
groud
8676370aa5
Fixes Node2D selection not adapting to editor zoom level
2019-01-24 20:43:11 +01:00
Rémi Verschelde
3551e3478a
Merge pull request #25260 from neikeq/qq
...
PluginConfigDialog: Add partial support for more script language
2019-01-23 15:41:11 +01:00
Ignacio Etcheverry
504508e61c
PluginConfigDialog: Add partial support for more script language
2019-01-23 14:54:33 +01:00
Marcin Zawiejski
e53c5d858a
Fix global settings consistency
...
Fixes #25161
2019-01-23 00:09:22 +01:00
Juan Linietsky
cd45f05f7e
Forbid making root on inherited scenes, closes #24484
2019-01-22 13:49:03 -03:00
Juan Linietsky
c70c43c888
Make inspector gain focus on refresh only if it has it, fixes #24979 , closes #25053
2019-01-22 12:29:26 -03:00
Rémi Verschelde
4a184a79e0
Merge pull request #25215 from akien-mga/scripteditor-goto-line
...
Fix going to script line on VisualScript errors
2019-01-22 12:19:15 +01:00
Rémi Verschelde
8cc83accd3
Merge pull request #25195 from YeldhamDev/texregion_editor_sprite3d
...
Make the Texture Region Editor able to edit regions of Sprite3Ds
2019-01-22 11:44:12 +01:00
Rémi Verschelde
79a4c41b22
Fix going to script line on VisualScript errors
...
Fixes #18103 , which was a regression from #16888 .
2019-01-22 10:55:55 +01:00
Juan Linietsky
6fa632b821
Add function to obtain filesystem type from DirAccess.
...
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
2019-01-21 18:06:14 -03:00
Rémi Verschelde
100154a131
i18n: Sync translation template with current source
2019-01-21 20:36:37 +01:00
Rémi Verschelde
f1f65d9c05
i18n: Sync translations with Weblate
2019-01-21 20:35:16 +01:00
Michael Alexsander Silva Dias
f1cd587bbd
Make the Texture Region Editor able to edit regions of Sprite3Ds
2019-01-21 16:52:57 -02:00
Rémi Verschelde
2323464f5e
ExportDialog: Make error messages translatable
...
Also fix missing newlines that caused #24202 .
2019-01-21 18:34:53 +01:00
Rémi Verschelde
26cf4fed6e
Merge pull request #25163 from ankitpriyarup/master
...
Disable autowrap for export dialog errors
2019-01-21 18:07:35 +01:00
Ankit Priyarup
7e6edee193
Disable autowrap for export dialog errors
...
Fixes #25065
2019-01-21 18:01:40 +05:30
Hugo Locurcio
f9d0bc1858
Make "Export with Debug" more visible in the Export dialog
...
This swaps out the CheckButton with a CheckBox, which has two benefits:
- The checkbox icon appears to the left of the text, which moves it
closer from the text. This makes it more easily noticeable, as
it also appears below the "File:" text now.
- It follows the UI convention of using checkboxes for options that
do not bear an immediate effect, unlike CheckButtons which are
expected to have an immediate effect when toggled.
This closes #25170 .
2019-01-20 23:53:42 +01:00
Rémi Verschelde
632ff1634b
Merge pull request #25110 from groud/display_pivot
...
Displays the pivot all the time and rotate the icon
2019-01-19 09:39:33 +01:00
groud
056ea997e5
Displays the pivot all the time and rotate the icon
2019-01-18 19:30:45 +01:00
Melvin Winstroem-Moeller
b2abbeca4b
Editor source status font size, fixes #25039
2019-01-18 19:20:35 +01:00
Juan Linietsky
541422a4a2
Clean up and fix issues after merging #21701 , closes #21104
2019-01-18 13:01:24 -03:00
Juan Linietsky
580bebda52
Merge pull request #21701 from AlexHolly/fix-multiselect-proptery-change
...
Fix multiselect change property
2019-01-18 12:37:50 -03:00
Rémi Verschelde
798246c34b
Merge pull request #25076 from groud/fix_filesystem_dock
...
Fixes crash in the Filesystem dock
2019-01-17 22:54:42 +01:00
groud
d4de7cf186
Fixes crash in the Filesystem dock
2019-01-17 20:48:46 +01:00
Juan Linietsky
e0336996ce
Add some checks to avoid disaster when making a node the scene root. Fixes #24484
2019-01-17 15:26:38 -03:00
Juan Linietsky
5e709baba1
Fix keying resource properties, closes #24690
2019-01-17 12:30:34 -03:00
Rémi Verschelde
e4f1b995cc
Fix radio buttons support in ItemListEditorPlugin
...
This was missed in bf14a6deff
.
2019-01-17 16:14:01 +01:00
Juan Linietsky
e8d31cc765
Perform a cleaner exit for resource preview, fixes #24206
2019-01-17 09:09:39 -03:00
Rémi Verschelde
07e2046980
Merge pull request #24924 from danilo2205/rename-oriented-path-follow
...
Merge OrientedPathFollow into PathFollow
2019-01-16 19:24:44 +01:00
Danilo Villa (Davi)
e74a3add9c
Rename OrientedPathFollow to PathFollowOriented
2019-01-16 14:32:18 -02:00
jlahman
b8a524efa3
Fix order of a nullptr test in canvas item editor
2019-01-16 01:11:11 -05:00
Juan Linietsky
96445cd90e
Clear internal vertex counter when redrawing polygons, closes #24862 .
2019-01-15 15:43:55 -03:00
Rémi Verschelde
fadaeb06c0
Merge pull request #24909 from xDGameStudios/array_static_types
...
Disallow changing array element types, when using hint (inspector fix)
2019-01-15 13:22:43 +01:00
Juan Linietsky
95a5803c92
wtf
2019-01-14 15:52:43 -03:00
Juan Linietsky
91290f0ded
Added a flag to specify an exported node path must be supplied from scene root, fixes #24412
2019-01-14 15:46:56 -03:00
Juan Linietsky
6f884cc884
Use SceneTreeDock to replace particles node properly, fixes #24162
2019-01-14 13:41:54 -03:00
Juan Linietsky
f4ac678d58
Removed ancient code for set_edited that was doing nothing.
2019-01-14 12:44:16 -03:00
Rémi Verschelde
0222841357
i18n: Sync translation template with current source
2019-01-14 16:42:58 +01:00
Rémi Verschelde
19c562991c
i18n: Sync translations with Weblate
2019-01-14 16:42:57 +01:00
Rémi Verschelde
577659cb1b
Merge pull request #24981 from akien-mga/property-editor-rid
...
Add EditorPropertyRID as read-only label showing RID
2019-01-14 15:53:39 +01:00
Juan Linietsky
4bb0080b3d
Do not allow adding tasks while in the middle of flushing a message queue
2019-01-14 11:00:05 -03:00
Rémi Verschelde
0b48484d49
Add EditorPropertyRID as read-only label showing RID
...
Fixes #24827 .
2019-01-14 11:50:42 +01:00
Guilherme Felipe
771fbd282a
Show play position of sub state machine
...
Sub state machine now show the play position of the current state
playing.
2019-01-13 16:00:33 -02:00
Wilson E. Alvarez
4a15f5522d
Fixed null editor icon crash
...
Fixes #24932
2019-01-13 09:28:56 -05:00
Rémi Verschelde
bf799246fd
Merge pull request #24914 from volzhs/export-split
...
Use HSplit to resize presets and options panel on Export window
2019-01-11 18:09:57 +01:00
volzhs
87305a0f54
Use HSplit to resize presets and options panel on Export window
2019-01-12 01:54:00 +09:00
xDGameStudios
f9788f75e5
Add static types to arrays (inspector fix)
2019-01-11 13:31:08 +00:00
Rémi Verschelde
8972c05e80
Merge pull request #24899 from YeldhamDev/poly2duv_editor_undoredo_fix
...
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-11 10:08:05 +01:00
Juan Linietsky
2cd15849f9
Fixes to auto triangle editing in BlendSpace2D
2019-01-10 21:40:46 -03:00
Michael Alexsander Silva Dias
7cef10a503
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-10 22:20:06 -02:00
groud
c48f92e394
Fixes 2D bones selection
2019-01-09 20:55:04 +01:00
Guilherme Felipe
c7d4807b7b
Hides error_panel of state machine on the first time.
2019-01-09 15:16:41 -02:00
x2f
b50fa06c6d
Fix for issue #24810 (find in files logic)
...
Match case check box was used for whole words as well as match case.
2019-01-09 00:23:46 -05:00
Juan Linietsky
e46f28e02d
Removed splits in Polygon editor, replace by internal vertices and polygon support.
2019-01-08 19:11:08 -03:00
Rémi Verschelde
d8c40bccbb
Merge pull request #24831 from clayjohn/fix_nested_docs_tooltip
...
Make tooltips display for nested resources
2019-01-08 09:11:03 +01:00
clayjohn
9d162f9fbe
make tooltips display for subinspectors
2019-01-07 20:38:03 -08:00
Rémi Verschelde
ac8ae09bc3
i18n: Sync translation template with current source
...
Misc fixes to source strings.
2019-01-07 16:57:52 +01:00
Rémi Verschelde
d2b17d8d60
i18n: Sync translations with Weblate
2019-01-07 16:42:05 +01:00
Rémi Verschelde
db33b03f49
Merge pull request #24814 from YeldhamDev/animtree_editor_statemach_scrolls
...
Move scrolls in the StateMachine editor inside the panel
2019-01-07 15:11:05 +01:00
Michael Alexsander Silva Dias
67ac8fe359
Move scrolls in the StateMachine editor inside the panel
2019-01-07 00:21:48 -02:00
Guilherme Felipe
59df3ca911
Fix state machine scroll
2019-01-06 12:35:12 -02:00
Rémi Verschelde
021421e180
Merge pull request #24782 from SoIAS/duplicated_code_24781
...
Removed duplicated code in animation_track_editor.cpp
2019-01-05 11:29:09 +01:00
Dawid Wdowiak
855a82211f
Removed duplicated code
2019-01-04 22:18:54 +01:00
Rémi Verschelde
495e40cff8
Revert "Fix blend tree generating wrong node names"
2019-01-04 19:45:39 +01:00
Rémi Verschelde
5809be9641
Merge pull request #24582 from Xrayez/script-encrypt
...
Bring back script encryption in export preset
2019-01-04 16:34:38 +01:00
Rémi Verschelde
d54894ffae
Merge pull request #24647 from WindyDarian/gltf_morph_fix
...
Fix for blend shape incorrectly scaling skinned gltf mesh
2019-01-04 15:21:38 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture
2019-01-03 13:09:25 +01:00
Chaosus
be2bc4dab8
Improved script attachment/removal a bit
2019-01-02 16:56:11 +03:00
Rémi Verschelde
f1d1ecb383
Merge pull request #24686 from YeldhamDev/autotile_grid_separation_fix
...
Fix incorrect grid snapping in TileSet editor with separation
2019-01-01 19:04:04 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
d1f3b622f0
Fix missing/malformed license headers
2019-01-01 12:46:36 +01:00
Michael Alexsander Silva Dias
07fdd2c702
Fix incorrect grid snapping in TileSet editor with separation
2018-12-31 13:36:51 -02:00
Chaosus
b26d2ac190
Fix "method not found" error when script is removed from object
2018-12-31 12:09:08 +03:00
Dawid Wdowiak
131001a4fb
Fixed a property warning when loading a correct resource type
...
Fixed warning when loading a correct resource type to a property that could take more than one resource type.
2018-12-30 19:04:49 +01:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
...
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Rémi Verschelde
1d7b69ebbc
Merge pull request #24664 from SoIAS/graph_node_headers_statemachine-24458
...
Removed graph node headers from state machine nodes
2018-12-30 14:06:58 +01:00
Michael Alexsander Silva Dias
4a91f94c13
Add undo-redo to the TileSet editor, and other improvements
2018-12-30 10:54:03 -02:00
Dawid Wdowiak
58ae20f239
Removed graph node headers from state machine nodes
2018-12-30 09:25:13 +01:00
Windy Darian
d9d6119b6e
Partial fix for blend shape with gltf
...
This fixes https://github.com/godotengine/godot/issues/20377 , where blend shape scales the mesh if the mesh is also skinned.
The issue was that the blend shape was trying to blend using BLEND_SHAPE_MODE_RELATIVE (directly adding everything in morph shape as displacement), while bone weights were copied in the morph shape, which resulted in 2x bone weights causing mesh to become bigger when blended.
Setting the blend mode to BLEND_SHAPE_MODE_NORMALIZED while guaranteeing the data is correct fixes the issue (previously treating gltf2's morph displacement data as blend target data). Ideally we still want to use BLEND_SHAPE_MODE_RELATIVE since it may need much less data, but that seems to require a larger refactor?
2018-12-29 01:13:35 -05:00
Rémi Verschelde
2e39e38c10
doc: Sync classref with current source
...
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Rémi Verschelde
9c7ca687b2
Make error more explicit when OBJ/MTL files are missing
...
Fixes #24595 .
2018-12-27 10:39:43 +01:00
Erik
4f5f868b8a
Made clone (CTRL+B) in code editor clone only the selection.
...
In code editor, when code is selected, cloning (CTRL+B) now clones only the selected code. The code is cloned to
the end of selection. The previous behaviour was to clone the full line which the selection "touches" to the new
line after the end of selection.
2018-12-25 15:52:38 +01:00
Michael Alexsander Silva Dias
8aad7ef016
General fixes for the TileSet editor
2018-12-24 18:27:43 -02:00
Andrii Doroshenko (Xrayez)
ba13a2bc05
Bring back script encryption in export preset
...
Retrieved working implementation from 2.1 branch and adapted to
existing export preset system.
Added Script tab in export preset to export script as raw text,
compiled, or encrypted (same as in 2.1). The script encryption key is
visually validated. The script export mode and the key is saved per
per preset in `export_presets.cfg`, so it makes sense to ignore this
file in version control system.
Each custom exporting procedure can retrieve an export preset set
during project exporting. Refactored project export dialog a bit to
allow easier code comprehension.
2018-12-24 17:16:14 +02:00
Guilherme Felipe
8a202bc223
Fix blend tree generating wrong node names
...
Now it's possible to connect nodes again.
2018-12-22 12:18:04 -02:00
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Rémi Verschelde
616beb1041
ProjectManager: Warn when projects have different config_version
...
When opening projects for edition through the project manager, the
following checks are now done:
1. If the config_version is lower than the one used by the current
engine version, users are asked if they want to convert to the new
format or abort editing. Fixes #20626 .
2. If the config_version is higher than the expected one (project
from a more recent and incompatible engine version), projects are
grayed out and can't be edited. Fixes #18758 .
When editing from the command line, the behaviour is unchanged:
projects in situation (1) are automatically converted, while projects
in situation (2) show an error message (made more explicit).
The "Run" option from the project manager was not changed, so it will
still run (1) projects without converting them, and fail running (2)
projects.
Co-authored-by: groud <gilles.roudiere@gmail.com>
2018-12-21 12:45:27 +01:00
Rémi Verschelde
be8c0d57c5
Merge pull request #24519 from Chaosus/error_label_fix
...
Change LinkLabel back to Label in error status bar
2018-12-21 10:14:04 +01:00
Rémi Verschelde
f09956c86c
Merge pull request #24513 from YeldhamDev/fix_tileset_editor_draw
...
Fix small drawing error in TileSet editor
2018-12-21 10:09:00 +01:00
Chaosus
260b5818f1
Change LinkLabel back to Label in error status bar
2018-12-21 11:39:54 +03:00
Michael Alexsander Silva Dias
daf54133c2
Fix small drawing error in TileSet editor
2018-12-20 19:52:56 -02:00
Guilherme Felipe
21bad78bd8
Fixes for TileSetEditor and TileMapEditor
...
[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756 , don't update bitmask when tilemode is ATLAS_TILE
2018-12-20 15:31:45 -02:00
Rémi Verschelde
e8cdbf99e9
CodeEditor: Drop unused enable_complete_timer variable
...
Its use was removed in 1039ba9ffb
.
2018-12-19 20:31:55 +01:00
Rémi Verschelde
26058376aa
Merge pull request #24462 from guilhermefelipecgs/fix_copy_paste_tilemap
...
Fix copy/paste for TileMap
2018-12-19 08:43:52 +01:00
Guilherme Felipe
06a929ace7
Fix copy/paste for TileMap
...
Fix #24440
2018-12-18 22:48:59 -02:00
Rémi Verschelde
3c999ae1a1
Merge pull request #24451 from mateusfccp/animation_editor_curve_tangent_different_color
...
Change color of AnimationPlayer curve to "highlight"
2018-12-18 18:56:05 +01:00
Michael Alexsander Silva Dias
2b278a5336
Small fixes for the AnimationTree editor
2018-12-18 15:24:22 -02:00
Mateus Felipe C. C. Pinto
e7968954e8
Change color of AnimationPlayer curve to "highlight"
...
This is to be consistent with Curve editor and to be less confusing
related to tangent lines color.
2018-12-18 13:46:03 -02:00
Mateus Felipe C. C. Pinto
ca1935d6f7
Add settings for single-quotes on completion
2018-12-18 12:48:36 -02:00
Rémi Verschelde
1039ba9ffb
EditorSettings: Remove enable_code_completion_delay
...
It was badly named (it disables code completion, not just the delay), and also
badly implemented (not preventing the timer for running, but just preventing it
to show the autocompletion).
It could be readded with a proper name and cleaner implementation if there's an
actual need for it.
Supersedes #24407 and closes #24352 .
2018-12-18 10:06:38 +01:00
Rémi Verschelde
1621270f26
Merge pull request #24432 from YeldhamDev/animationtree_editor_fixes
...
General fixes for the AnimationTree editor
2018-12-18 09:08:10 +01:00
Rémi Verschelde
75c6ad9756
Merge pull request #24427 from guilhermefelipecgs/fix_bread_crumb
...
Fix bread crumb of AnimationTree
2018-12-18 09:06:57 +01:00
Michael Alexsander Silva Dias
3c9ce2406b
Make the AnimationTree editor's path section more obvious
2018-12-17 23:52:14 -02:00
Michael Alexsander Silva Dias
b86b497cec
General fixes for the AnimationTree editor
2018-12-17 21:03:58 -02:00
Guilherme Felipe
317561863d
Fix bread crumb of AnimationTree
2018-12-17 17:08:41 -02:00
Rémi Verschelde
28b10ea668
Fix sometimes uninitialized variable warning raised by Xcode 9.4.1
...
Fixes this warning raised by Travis CI on macOS:
```
editor/plugins/polygon_2d_editor_plugin.cpp:95:6: warning: variable 'skeleton' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:106:7: note: uninitialized use occurs here
if (!skeleton) {
^~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:95:2: note: remove the 'if' if its condition is always false
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:94:22: note: initialize the variable 'skeleton' to silence this warning
Skeleton2D *skeleton;
^
= NULL
```
2018-12-17 12:28:11 +01:00
Rémi Verschelde
38f8269e1b
Merge pull request #24410 from YeldhamDev/graph_editors_title_fix
...
Fix titles in graph editors being invisible when headers are enabled
2018-12-17 08:10:20 +01:00
Michael Alexsander Silva Dias
9d4a996a08
Fix titles in graph editors being invisible when headers are enabled
2018-12-16 23:18:04 -02:00
Alexandre LittleWhite Laurent
ca90dd302b
Change global timestamp behaviour earlier
2018-12-16 23:39:17 +01:00
Rémi Verschelde
74bf67c3a6
Ensure cursor is visible when EditorSpinSlider exits the tree
...
Supersedes and closes #22581 .
2018-12-16 23:20:03 +01:00
Rémi Verschelde
4cf2d5bffe
Merge pull request #24405 from guilhermefelipecgs/fix_undo_fsm
...
Fix "undo" of the state machine losing node's position
2018-12-16 21:30:32 +01:00
Guilherme Felipe
bcd2659a2f
Fix "undo" of the state machine losing node's position
2018-12-16 18:06:26 -02:00
Rémi Verschelde
169db6abdd
Merge pull request #24397 from volzhs/builtin-script
...
Create built-in script properly
2018-12-16 15:51:06 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Rémi Verschelde
3914bdb82e
Merge pull request #24376 from Calinou/tweak-editor-status-colors
...
Tweak editor status colors (success, warning, error)
2018-12-16 14:06:43 +01:00
Rémi Verschelde
d3debe18b5
Merge pull request #24308 from mineevgleb/#24303-persist-project-sorting-order
...
#24303 : remember sorting order in the project manager
2018-12-16 14:00:44 +01:00
volzhs
d072d5ed14
Create built-in script properly
2018-12-16 18:31:43 +09:00
Hugo Locurcio
1e56b4dd62
Tweak editor status colors (success, warning, error)
...
Some of the previous colors were "overbright" in the sense that
some of their components were above 1, causing font anti-aliasing
to look bad.
These new colors should be easier on the eyes while fitting better
with the rest of the editor's color palette.
2018-12-15 18:09:52 +01:00
Gleb Mineev
b675a3f745
24303: remember sorting order in the project manager
2018-12-15 17:38:49 +01:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Rémi Verschelde
7ac67bfec1
Merge pull request #23464 from GameCoderStudios/master
...
Ability to pick child nodes of scenes instances marked with "Editable…
2018-12-14 18:41:47 +01:00
Rémi Verschelde
7e4e9e95e4
Merge pull request #24333 from YeldhamDev/filechooser_folder_icon
...
Change EditorLineEditFileChooser to use the "Folder" icon
2018-12-14 08:56:57 +01:00
Rémi Verschelde
491743d670
Merge pull request #24331 from mineevgleb/resource-undo-redo
...
#23231 : make resource changes in a nested inspector undoable
2018-12-14 08:56:42 +01:00
Michael Alexsander Silva Dias
0e894a160c
Change EditorLineEditFileChooser to use the "Folder" icon
2018-12-13 19:39:51 -02:00
Gleb Mineev
2e4752bdba
#23231 : make resource changes in a nested inspector undoable
2018-12-13 22:35:16 +01:00
Marc Gilleron
1f1ab997b6
Re-add missing save resource button in the inspector
2018-12-13 21:24:25 +00:00
Rémi Verschelde
2f31d31c23
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 19:57:34 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
Rémi Verschelde
d0d52606a7
i18n: Sync translations with Weblate
2018-12-13 13:49:46 +01:00
Rémi Verschelde
4d27b1fe4f
Merge pull request #24109 from remorse107/godotengine-path2d-editor-fix
...
Fixed Path2D Plugin Editor so segments can be split.
2018-12-12 16:02:55 +01:00
Rémi Verschelde
31349eec8e
Merge pull request #24203 from qichunren/fix_export_dialog_layout
...
Fix ExportDialog layout out of boundary when select a template.
2018-12-12 16:00:49 +01:00
Rémi Verschelde
4fe5a1dbef
Merge pull request #24214 from marcelofg55/editor_audio_buses_fix
...
Fix EditorAudioBuses not updating when changing to a device with different channels
2018-12-12 13:55:21 +01:00
Rémi Verschelde
c8a5400654
Merge pull request #24241 from Rubonnek/move-to-initializer-list
...
Moved member variables to initializer list
2018-12-12 09:25:34 +01:00
Rémi Verschelde
ecc5888674
Merge pull request #24293 from akien-mga/editorsettings-cleanup
...
Better code organization in EditorSettings::_load_defaults and cleanup of unused settings.
2018-12-12 09:22:49 +01:00
Rémi Verschelde
77dd0561ef
EditorSettings: Remove unused settings from initial set
...
Fixes #24291 .
2018-12-12 08:31:31 +01:00
Rémi Verschelde
fe68f53298
Code style: Sort EditorSettings initial set by section
2018-12-12 08:18:28 +01:00
Wilson E. Alvarez
08f22f1cf0
Moved member variables to initializer list
2018-12-11 18:33:01 -05:00
Marcelo Fernandez
792786b4b7
Fix EditorAudioBuses not updating when changing to a device with different channels
2018-12-11 19:54:52 -03:00
Michael Alexsander Silva Dias
8f9447310d
Enable toggle behaviour for buttons that trigger popups
2018-12-11 19:23:26 -02:00
Rémi Verschelde
5ff403b3b0
Merge pull request #23361 from mrcdk/wav_loop_backward
...
Add backward looping support to AudioStreamSample (wav files)
2018-12-11 18:43:18 +01:00
Rémi Verschelde
55089d0b1a
Merge pull request #24224 from BastiaanOlij/flip_bitangent
...
Reverse bitangent on everythings
2018-12-11 15:21:43 +01:00
Rémi Verschelde
1a82877acc
Merge pull request #24278 from MarianoGnu/script_editor
...
Fix "index -1 out of range" error spam. Fixes #24277
2018-12-11 14:06:08 +01:00
Mariano Suligoy
1884952ae3
Fix "index -1 out of range" error spam when the Editor is using translations. Fixes #24277
2018-12-11 08:26:36 -03:00
qichunren
99f9af868a
Fix ExportDialog layout out of boundary when select a template.
2018-12-11 16:13:14 +08:00
Michael Alexsander Silva Dias
133031c65e
Fix "blocked > 0" error when selecting an item in the Search Help dialog
2018-12-11 00:43:13 -02:00
Andrii Doroshenko (Xrayez)
feb12559e6
Properly reselect duplicated visual shader nodes
...
This makes it much easier to drag duplicated nodes away from original ones.
2018-12-10 14:20:58 +02:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde
3a312dbd32
Merge pull request #20725 from Calinou/textedit-subtle-indent-guides
...
Use more subtle indentation guides in the script editor
2018-12-09 23:10:32 +01:00
Rémi Verschelde
dc54ee18ae
Merge pull request #24236 from Xrayez/fix-20212
...
Fix duplicating visual shader nodes
2018-12-09 21:45:05 +01:00
Michael Alexsander Silva Dias
bc9cb0e6cd
Cleanup some unused controls in the editor's top bar
2018-12-09 17:51:30 -02:00
Andrii Doroshenko (Xrayez)
86eb6951c7
Fix duplicating visual shader nodes
2018-12-09 15:37:57 +02:00
Michael Alexsander Silva Dias
1bb14971e5
Minor changes to the File menu in the Script Editor
2018-12-08 15:59:15 -02:00
Bastiaan Olij
fa63a0fe83
Reverse bitangent on everythings to ensure default normal map behavriour is consistent
2018-12-08 13:43:46 +11:00
Rémi Verschelde
4191e5316b
Merge pull request #22437 from DualMatrix/wrong_prop_warning
...
Added warning when trying to load resource of wrong type in editor.
2018-12-07 23:17:43 +01:00
Rémi Verschelde
9b78147bce
Merge pull request #22535 from DualMatrix/editor_value_cap
...
Fixed editor inspector ranges capping values at 65535.
2018-12-07 23:15:48 +01:00
Rémi Verschelde
49ac23e29f
Merge pull request #19914 from guilhermefelipecgs/add_z_index_autotile
...
Add Z-Index for Autotile
2018-12-07 22:33:06 +01:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Marcelo Fernandez
087401b33f
Fix custom features missing when _export_begin is called
2018-12-07 16:29:47 -03:00
Marcelo Fernandez
3daf1a8744
EditorExportPlugin now calls _export_end() when export ends if scripted
2018-12-07 15:05:10 -03:00
Robert Morse
bce3599bd7
Fixed an issue with the Path2D plugin editor not supporting the capability to split curves as its toolbar buttons originally advertised.
2018-12-07 08:27:36 -06:00
Rémi Verschelde
c2e96c65b3
Merge pull request #23327 from YeldhamDev/search_shaders
...
Added "shader" filter to "Find in Files"
2018-12-07 15:11:32 +01:00
Rémi Verschelde
e4a2003b98
Merge pull request #22323 from williamd1k0/ignore-main-scene
...
Editor: Skip loading main scene if restore_scenes_on_load is used
2018-12-07 15:08:34 +01:00
Rémi Verschelde
cac8cc8052
Merge pull request #24205 from YeldhamDev/tileset_context_hide_script
...
Hide "Script" section in the "TilesetEditorContext"
2018-12-07 07:47:02 +01:00
Michael Alexsander Silva Dias
d514ac405b
Hide "Script" section in the "TilesetEditorContext"
2018-12-07 02:18:02 -02:00
groud
c6329b4569
Add signals for files move/delete/rename to FileSystemDock
2018-12-06 21:35:21 +01:00
Rémi Verschelde
ce3f3a9f82
Merge pull request #24194 from bojidar-bg/23567-fix-message-queue-overflow
...
Make thumbnail cache less tasking on the message queue
2018-12-06 20:31:08 +01:00
Thomas Winderweedle
f2e7a650c7
Clear application/run/main_scene if that file is deleted
...
Fixes #22473
2018-12-06 16:28:27 +01:00