Commit Graph

4097 Commits

Author SHA1 Message Date
Rémi Verschelde 9bef886fa3
Merge pull request #27117 from Faless/editor/asset_lib_image_error
Enabled logging of failed image download.
2019-04-01 11:03:03 +02:00
Rémi Verschelde 3c797248d0
Merge pull request #26970 from KoBeWi/custom_node_is_now_other_node
Changed 'Custom Node' to 'Other Node' to be less confusing
2019-04-01 10:13:27 +02:00
Hugo Locurcio d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations 2019-03-31 23:54:46 +02:00
Ignacio Etcheverry c8aa85189a EditorHelp, makerst: Improve enum ref resolving and constant ref support
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class.
Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29 23:40:31 +01:00
Rémi Verschelde 472c8a7ba1 i18n: Sync translations with Weblate
Also sync translation template.
2019-03-28 10:38:58 +01:00
lupoDharkael 2c68ce930c Add CSV export to profiling data 2019-03-28 08:42:29 +01:00
Hugo Locurcio 9ba6738719
Use the accent color to highlight selected text
This makes selections easier to see, while making them fit better
within the editor theme.

This closes #22552.
2019-03-27 22:12:41 +01:00
Siddharth fcd39a506a Update tile_set_editor_plugin.cpp 2019-03-27 22:50:52 +05:30
Siddharth ba2b09b034 Revert "Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits."
This reverts commit 2d995372d8.
2019-03-27 22:49:19 +05:30
Rémi Verschelde 167d02ef61
Merge pull request #27388 from KidRigger/master
Prevents crash on loading unrecognized resources.
2019-03-27 17:22:27 +01:00
Rémi Verschelde 37969e71e4
Merge pull request #27383 from SpechtMagnus/master
TileMap: Fixed unfinished max_lines draw handling for freeze/crash avoidance.
2019-03-27 17:20:56 +01:00
Rémi Verschelde 9d7343a1a3
Merge pull request #27182 from goodyttoor/gltf_order
Fix order of transformation in GLTF import
2019-03-27 17:06:50 +01:00
Michael Alexsander Silva Dias d819ad6f78 Small tooltip changes to filesystem-related UI componentes in editor 2019-03-27 01:50:50 -03:00
Juan Linietsky 6574c557c9 Add a "Request Docs" button to code editor. 2019-03-26 16:36:19 -07:00
Tomasz Chabora c0da243f04 Allow to drop folders onto editor 2019-03-26 13:33:38 +01:00
Hugo Locurcio cca1fab1c4
Use the "warning" color for the "restart required" label
This makes the color match the warning icon placed besides the label.
2019-03-25 14:04:31 +01:00
Anish 8ee31ace34 Prevents crash on loading unrecognized resources.
Editor crashes on trying to load resources with no loaders.
Simple check on the resource loader prevents using a null
resource loader.

Fixes: #27385
2019-03-25 02:32:21 +05:30
Magnus Specht 601acdf0e1 Fixed unfinished max_lines handling for crash avoidance. 2019-03-24 19:17:02 +01:00
Siddharth 13ead635d9 Merge branch 'master' of https://github.com/godotengine/godot into issue1 2019-03-23 20:09:08 +05:30
Siddharth 2d995372d8 Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits.
Updated tile_set_editor_plugin.cpp And area.cpp

Updated with clang-format

Updated tile_set_editor_plugin.cpp And area.cpp
2019-03-23 20:03:59 +05:30
qarmin 1b6e0d04f0 Show bones after creating 2019-03-22 19:14:54 +01:00
Pedro J. Estébanez 9c3ddf05cb Revert accidental commits
This reverts commit fb37284c02.
This reverts commit 4db0f51b9a.
2019-03-20 21:43:55 +01:00
Pedro J. Estébanez 4db0f51b9a Create live view dock [wip] 2019-03-20 20:44:43 +01:00
piyushdagar d86d7981cc Fixes Adding animation to AnimatedSprite doesn't update inspector immediately 2019-03-20 09:08:39 +05:30
ShyRed dcd268e183 Add Emission Mask to CPUParticle2D
Add ability to load emission masks to CPUParticle2D.
2019-03-19 17:28:57 +01:00
PouleyKetchoupp 8346d90c5e Properly handle different border widths in rounded corner aa
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
Kanabenki a1e7febbb3 Keep binds for connected signals when changing node type 2019-03-19 10:21:52 +01:00
Vivatchai Kaveeta 32dd9c67c6 Fix order of transformation in GLTF import
From the gltf 2 spec, the order is R  * S. Previously we did S * R, which broke some mesh with non-uniform scale.

Fix #23356, Fix #14725
2019-03-18 03:08:46 +07:00
Paulb23 6f6d4a6c2e Fix script editor attempting to set current line to -1 on script open 2019-03-17 20:02:05 +00:00
Timo Schwarzer 7a0dfc04aa
Allow whitespaces in warning-ignore comments 2019-03-17 18:42:59 +01:00
Will Nations 2d106eb715 Fix inherited icons for script classes 2019-03-17 00:04:15 -05:00
LATRio 22030d4cc4 Fixing zooming in TextureRegion
Fixes #20710
2019-03-17 10:37:58 +09:00
Rémi Verschelde df7d3708c5
Merge pull request #27145 from YeldhamDev/editfilediag_favrm_remove
Remove unused 'fav_rm' ToolButton in EditorFileDialog
2019-03-16 17:07:15 -07:00
Michael Alexsander Silva Dias 579fffd97e Remove unused 'fav_rm' ToolButton in EditorFileDialog 2019-03-16 20:30:06 -03:00
Rémi Verschelde 3f631c2567
Merge pull request #27130 from akien-mga/editor-theme-hint-typo
Fix misplaced hint for interface/theme/accent_color
2019-03-16 14:26:45 -07:00
qarmin 4cee053f7c Fix deleting properties after deleting files 2019-03-16 22:05:24 +01:00
Rémi Verschelde e5a310cd38
Merge pull request #25782 from hsandt/feature/fix-toggle-comment-indent
Feature/fix toggle comment indent
2019-03-16 11:17:47 -07:00
Rémi Verschelde 43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde c1fae20400
Merge pull request #26706 from YeldhamDev/multinode_scriptclear_fix
Fix clearing scripts while multiple nodes are selected
2019-03-16 11:09:40 -07:00
Rémi Verschelde 8965ff90ca
Merge pull request #26919 from jabcross/master
Implement source lookup for class_name defined classes
2019-03-16 11:06:34 -07:00
Rémi Verschelde ffd115dd6f
Merge pull request #26935 from qarmin/show_class_name_icon_in_tabs
Show in tabs custom class icons
2019-03-16 11:04:03 -07:00
Rémi Verschelde b17c8c0396 Fix misplaced hint for interface/theme/accent_color
Supersedes #26992.
2019-03-16 11:00:32 -07:00
Rémi Verschelde 06ebf4c3ad
Merge pull request #27123 from bojidar-bg/27113-rename-action
Fix renaming actions in the Project settings
2019-03-16 10:55:01 -07:00
Rémi Verschelde 18fa1846ea
Merge pull request #27115 from Janglee123/master
Fix toggling snap mode while transforming the Spatial object
2019-03-16 10:54:44 -07:00
Bojidar Marinov 699a3957ce
Fix renaming actions in the Project settings
Fixes #27113, a regression from 6daed7d122
2019-03-16 16:28:03 +02:00
Fabio Alessandrelli 37c0ac1d6d Enabled logging of failed image download. 2019-03-16 10:58:07 +01:00
janglee123 05446e8b53 fixed toggelling snap mode while transforming 2019-03-16 13:45:39 +05:30
Michael Alexsander Silva Dias ebabb0ea65 Make bottom panel only try to hide editors when they're visible 2019-03-16 03:39:49 -03:00
Rémi Verschelde cad371dd85
Merge pull request #26945 from shartte/allow-fewer-viewports-in-editor-state
Be more tolerant about under-defined spatial viewport state
2019-03-13 20:11:24 +01:00
qarmin 2bc6ad670b Fix toggle visibility in SceneTreeDialog 2019-03-13 11:19:51 +01:00
Rémi Verschelde 04b04555d1 i18n: Sync translations with Weblate 2019-03-12 16:57:43 +01:00
Tomasz Chabora c1ce5b87b4 Changed 'Custom Node' to 'Other Node' to be less confusing 2019-03-12 16:12:14 +01:00
Sebastian Hartte 7bab7fd777 Don't crash when the saved editor state contains fewer viewports than currently supported. 2019-03-12 12:17:17 +01:00
Will Nations c1b247e4d5 Add EditorInspector getter. Update Sub-Inspectors. 2019-03-12 02:15:15 -05:00
Rémi Verschelde 6d86450a83
Merge pull request #26941 from JFonS/add_gizmos_priority
Add priority to gizmos and fix small issues
2019-03-12 01:19:39 +01:00
JFonS 2658e5d03d Add priority to gizmos and fix small issues
User defined gizmos will haave higher preference than editor gizmos by
default. Also fixed some inconsistencies in the gizmos menu when using
custom gizmos.
2019-03-12 00:30:50 +01:00
qarmin 825a870f06 Show in tabs non default class icons 2019-03-11 22:54:23 +01:00
qarmin 2e5b6b5bde Fix perspective button hide when it should be actually disabled 2019-03-11 18:10:00 +01:00
Pedro Ciambra e8fe174616 Implement source lookup for class_name defined classes
Previous to this, classes defined with class_name had no
behavior when ctrl-clicked in the editor.

Fixes #26882
2019-03-11 12:52:17 -03:00
Daniel Rakos 1cf7ca87ce Fix skeleton reparenting to also work when the skeleton node is not a bone
Existing code only did the reparenting when the parent node was a bone. This
change fixes that, plus the reparenting code itself, which used the index of
the skin instead of the skin index itself to address the skeleton array.
2019-03-11 16:26:45 +01:00
Anish d6e4a08c61 Prevents a Null Reference in deleting Animations.
A null Animation would cause a crash by accessing restricted memory.
Solved by checking if the animation track is null before using the
animation.

Fixes: #26829
2019-03-11 17:04:02 +05:30
Martin Wallin ed06ed38fb Display vertex number when hovering point in collision polygon 2019-03-11 10:42:55 +01:00
Rémi Verschelde 43184375b2 i18n: Sync translation template with current source 2019-03-10 11:04:59 +01:00
Rémi Verschelde 9a2fdef1fa i18n: Sync translations with Weblate 2019-03-10 11:03:26 +01:00
Rémi Verschelde 03664e26c5
Merge pull request #26687 from QbieShay/hang_server_build_fix
Removed the resource preview thread from the server build
2019-03-09 22:59:24 +01:00
Rémi Verschelde 0d728123c6
Merge pull request #26818 from vnen/class_name-inheritance
Allow class_name scripts to have nested inheritance
2019-03-09 14:27:43 +01:00
George Marques 25f9aee005
Allow class_name scripts to have nested inheritance 2019-03-09 00:47:27 -03:00
Juan Linietsky 95c6d9caba Fix crash in texture previeer, closes #26749, probably others 2019-03-08 14:18:12 -03:00
Rémi Verschelde a38bf5287a
Merge pull request #26781 from YeldhamDev/editfilediag_favdir_fix
Fix "Favorite" button not being toggled when navigating to a faved folder manually
2019-03-08 08:26:55 +01:00
qarmin 8c4051819e Fix error when trying to enter to folder/node directly via address bar 2019-03-08 06:15:42 +01:00
Michael Alexsander Silva Dias ec1c879746 Fix "Favorite" button not being toggled when navigating to a faved folder manually 2019-03-07 21:48:12 -03:00
Juan Linietsky 9af7fa193f Do not annoy unrelated textures with texture editor. 2019-03-07 13:54:05 -03:00
Rémi Verschelde b38f44e177
Merge pull request #26758 from qarmin/fix_error_dragging_empty_script_editor
Fix error when dragging empty script list in Script Editor
2019-03-07 17:40:42 +01:00
Juan Linietsky b376273f1b Force inspector to clean up on delete, fixes crash. 2019-03-07 12:39:53 -03:00
Juan Linietsky 6cb841edcb Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733 2019-03-07 12:16:20 -03:00
qarmin 7837276597 Fix error when dragging empty script list in Script Editor 2019-03-07 16:09:02 +01:00
Rémi Verschelde 2f2fa8db69
Merge pull request #26722 from MarianoGnu/fix_24238
TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238
2019-03-06 20:58:05 +01:00
Mariano Suligoy 6c08f4ea4e TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238 2019-03-06 15:31:16 -03:00
Michael Alexsander Silva Dias 73aaf06be7 Cleanup relationship line coding after 5f079e2 2019-03-06 14:33:26 -03:00
Juan Linietsky 6eac688952 Don't hide/show top editor if they did not change, fixes #26644 2019-03-06 12:42:01 -03:00
Juan Linietsky 5f079e2ef9 -Make tileset and meshlibrary edit in a separate inspector, fixes #26671
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Rémi Verschelde 4d099e901b
Merge pull request #26705 from volzhs/fix-export
Fix directory check when exporting project
2019-03-06 15:31:42 +01:00
Juan Linietsky 9b5c6f539b Safer way to update animation if changed, fixes #26670 2019-03-06 10:22:38 -03:00
Michael Alexsander Silva Dias d3042d162d Fix clearing scripts while multiple nodes are selected 2019-03-06 09:58:47 -03:00
Juan Linietsky 4dd99701b0 Fix how settings change, closes #26692 2019-03-06 09:25:19 -03:00
volzhs 8920bb8c1b Fix directory check when exporting project
Fix #26702
2019-03-06 21:20:18 +09:00
Rémi Verschelde 3916a53522
Merge pull request #22716 from Chaosus/update_theme
Make theme changing no longer requires restart to be fully applied
2019-03-06 12:36:54 +01:00
qarmin 138698e51f Do not lose focus when moving through scene tree 2019-03-06 12:10:09 +01:00
Ilaria Cislaghi 65b11d7517 Removed the resource preview thread from the server build 2019-03-06 09:30:15 +01:00
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
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
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