Wilson E. Alvarez
f0db7fca79
Added shortcut to rename files
2018-03-27 05:55:51 -04:00
Wilson E. Alvarez
bc9ef5461b
Simplify CanvasItemEditor anchor drag logic
2018-03-26 14:30:51 -04:00
Crazy-P
efd413916e
Fixes replace all not replacing the first word
2018-03-25 15:39:37 +08:00
robfram
7821b70a00
Fix bug added in PR#17589. Resources couldn't be saved to files
...
This PR fixes the code to avoid saving default environment every time
the project is run whitin the editor.
Should fix #17727 . Sorry for the troubles!
2018-03-24 19:16:47 +01:00
Alessandro
eda1e266c8
Fix all categories unfold when one key binding is changed
2018-03-24 17:02:18 +01:00
Poommetee Ketson
ed3b080ca6
Fix converting to tileset crashes Godot if existing file is not tileset
...
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde
fd79de01c2
Merge pull request #17706 from Calinou/overhaul-hidpi-settings
...
Overhaul the display scaling editor settings
2018-03-23 14:12:20 +01:00
Hugo Locurcio
61bf0d10d5
Overhaul the display scaling editor settings
...
This adds more scaling options, in addition to a custom scaling option
which allows any scale between 0.75 and 3.0 to be used.
2018-03-23 14:04:39 +01:00
Nikodem Lokatelj
6eac0f6817
Extended node renames function to also rename script instance node path properties and fixed animation rename bug perform_node_renames function now also checks for any script instance with node paths so they also get renamed to point to new paths. This also fixes a bug with animation player renaming where two nodes had the same name.
2018-03-23 12:59:31 +01:00
Rémi Verschelde
32c726f7cd
Merge pull request #17344 from poke1024/multi-add-clear-script
...
Allow Attach and Clear Script on multiple nodes
2018-03-23 11:37:18 +01:00
Rémi Verschelde
1d07830182
Merge pull request #17490 from robfram/homogenize-check-prop-names
...
Fix non-valid characters for `input_action`
2018-03-23 11:29:26 +01:00
Rémi Verschelde
f16652d1a2
Merge pull request #17496 from robfram/fix-f3-change-editor-and-find
...
Fix pressing `F3` do both changing to script editor AND find next text
2018-03-23 11:28:48 +01:00
Rémi Verschelde
699325f9a1
Merge pull request #17505 from ArkDShiggy/invert_y-axis
...
add option to invert y-axis
2018-03-23 11:28:05 +01:00
Rémi Verschelde
74382dbfbb
Merge pull request #17576 from Mr-Slurpy/master
...
Allow users to add items to Tool menu
2018-03-23 11:08:03 +01:00
Ivan Vodopiviz
f5147befb6
Prevented external editor from running multiple times
...
Fixes #16923 . I'm not a fan of the special case for scripts in editor_node.cpp, but in any case,
I made it so it wouldn't make the external editor to re-open just because we switched scenes.
2018-03-21 22:23:15 +01:00
Rémi Verschelde
d486973f58
Merge pull request #17589 from robfram/fix-always-save-at-run
...
Fix saving unmodified scenes and resources
2018-03-20 11:17:19 +01:00
Julien CATINEAU
57e6b8781c
add option to invert y-axis
2018-03-20 08:03:38 +01:00
Rémi Verschelde
ebce36c22f
Merge pull request #17622 from RandomShaper/gltf-fixes
...
A couple of fixes for glTF importing
2018-03-19 10:18:43 +01:00
Pedro J. Estébanez
1f26da0ad1
Fix animation length from glTF not correctly set
2018-03-19 00:27:14 +01:00
Pedro J. Estébanez
adbe749513
Fix glTF not accepting VEC3 colors
...
Aside from the colors themselves, the rejection was adding somes issues later in the mesh import process.
2018-03-19 00:27:14 +01:00
robfram
28ab60422d
Fix saving unmodified scenes and resources
...
When `_save_all_scenes` or `save_resource_in_path` was called, they
always saved all the scenes and the resource no matter if they were
modified or not. For example, when `saving before run` option was
checked, it always overwrote the current scene and the default
environment simply by opening and runing the project.
This PR adds checks for unsaved scenes (using the same `unsave` check
others method used) and modified resources (comparing last modified
time and last import time).
Fix #6025 .
2018-03-18 11:58:40 +01:00
Mr-Slurpy
9da18f3974
Added tool menu functions in EditorPlugin
2018-03-17 14:41:50 -04:00
robfram
da6c07698f
Fix non-valid characters for `input_action`
...
Add a new function to check action names, `_validate_action_name`, in
the spirit of `_valprop`. Offending characters include non-printable
ascii, and `\/=:"`. Also set only one text for the UI message.
2018-03-17 15:32:44 +01:00
Gilles Roudiere
038de54b1f
Fixes scrollbars in Canvas Item Editor
2018-03-17 12:18:33 +01:00
robfram
8939f44f6a
Fix pressing `F3` do both changing to script editor AND find next text
...
As `KEY_F3` was used both for changing to script editor window and, in
the script editor, for finding the next result in the last search, and
the key event is **not** consumed, the resulting behaviour was similar
to press `F3` twice, first to change to script editor and second to
find the next result of a previous search.
This PR sets the `key_pressed` status of `InputEvent` to `false` if
this event is responsible of an editor change, simulating the
consumption of the event.
Fix #17334
2018-03-16 20:17:42 +01:00
Rémi Verschelde
99c1323a08
Merge pull request #17388 from Hinsbart/mono_class_name
...
Mono: Avoid invalid class names.
2018-03-15 19:47:39 +01:00
Andreas Haas
700d07cf7c
Mono: Avoid invalid class names.
...
Disallow reserved keywords as class names and prefix base class with the Godot
namespace if it's the same as the class name.
Fixes #12483
2018-03-15 19:25:06 +01:00
Rémi Verschelde
db289e0e85
Merge pull request #17420 from marcelofg55/fscache_err_checks
...
Added error checks for fscache saving
2018-03-14 09:21:31 +01:00
Marcelo Fernandez
06e537fec5
Added error checks for fscache saving
2018-03-13 13:15:03 -03:00
Bojidar Marinov
9f6c0c6eae
Duplicate Arrays and Dictionaries when instancing scene in editor
...
Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate
Fixes #13971
2018-03-13 17:18:08 +02:00
Rémi Verschelde
c81356153e
Merge pull request #16971 from Noshyaar/tilemap
...
TileMap: add fix_invalid_tiles
2018-03-13 13:57:58 +01:00
Rémi Verschelde
65dc4abca3
Merge pull request #16978 from Noshyaar/tmsc
...
Add icon to TileMapEditor popupmenu
2018-03-13 13:57:10 +01:00
Rémi Verschelde
535205196f
Merge pull request #17013 from Noshyaar/theme
...
Update icons when theme changed
2018-03-13 13:48:37 +01:00
Rémi Verschelde
96bda9c463
Merge pull request #17094 from Calinou/add-dynamicfont-hinting-options
...
Add an hinting mode setting to DynamicFonts
2018-03-13 13:38:35 +01:00
Rémi Verschelde
8b31b98036
Merge pull request #17104 from Faless/assetlib_more_threads
...
More threading in AssetLib
2018-03-13 13:35:28 +01:00
Rémi Verschelde
401a39f57e
Merge pull request #17116 from poke1024/fix16734
...
Fix round preview getting square on "run scene" (issue 16734)
2018-03-13 13:33:51 +01:00
Rémi Verschelde
bd82fc19e9
Merge pull request #17138 from simedis/import_md5
...
Make md5's not be in the same file as the import settings
2018-03-13 13:06:18 +01:00
Rémi Verschelde
a3915d8597
Merge pull request #17154 from Hinsbart/fix_text_editor_settings
...
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-13 12:54:43 +01:00
Rémi Verschelde
8b629bbcbe
Merge pull request #17166 from Noshyaar/tilemap2
...
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-13 12:53:51 +01:00
Rémi Verschelde
fcd81c9627
Merge pull request #17172 from StateOff/add_show_axis_options
...
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-13 12:53:11 +01:00
Rémi Verschelde
de1e2b4497
Merge pull request #17176 from Noshyaar/audiobus
...
EditorAudioBus: expand effects list
2018-03-13 12:51:54 +01:00
Rémi Verschelde
4835488716
Merge pull request #17184 from Noshyaar/tilemap3x
...
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-13 12:51:01 +01:00
Rémi Verschelde
18d543d7ab
Merge pull request #17311 from marcelofg55/export_err_checks
...
Improved error checking at EditorExportPlatformPC::export_project
2018-03-13 12:17:53 +01:00
Rémi Verschelde
6d59bc67a0
Merge pull request #17379 from poke1024/fix-anim-popups
...
AnimationPlayer: fix popups close on double click
2018-03-13 11:55:17 +01:00
Rémi Verschelde
319167a67a
Merge pull request #17380 from robfram/fix-change-node-type
...
Fix overwriting all common properties when using `Change Type` tool
2018-03-13 11:54:10 +01:00
Rémi Verschelde
b49746f3cd
Merge pull request #17381 from poke1024/fix-anim-scrub
...
AnimationPlayer: fix scrubbing after play backwards
2018-03-13 11:51:30 +01:00
Rémi Verschelde
4287c7822b
Merge pull request #17440 from viktor-ferenczi/issue-5042
...
Properly closing all files in Python build code
2018-03-13 11:49:58 +01:00
Rémi Verschelde
a64f30536e
Merge pull request #17390 from poke1024/fix-anim-text-overlap
...
Fixes overlapping text labels in animation editor timeline
2018-03-13 11:40:31 +01:00
Rémi Verschelde
9cadef3ffb
Merge pull request #17404 from poke1024/fix-anim-player-pan
...
Fix wrong pan direction in animation player ui
2018-03-13 11:34:25 +01:00
Rémi Verschelde
f92acfe119
Merge pull request #17406 from poke1024/fix-anim-key-ui
...
Fix broken hover/select coloring of keys in animation editor
2018-03-13 11:31:17 +01:00
Rémi Verschelde
40aa97d2c8
Merge pull request #17413 from ShyRed/previewfix
...
Update preview on filesystem change
2018-03-13 11:27:43 +01:00
Rémi Verschelde
ed1fb87429
Merge pull request #17435 from poke1024/output-error-icon
...
Show error icon at "Output" in case of errors
2018-03-13 11:22:28 +01:00
Rémi Verschelde
71cc0df311
Merge pull request #17441 from poke1024/fix-autoload-column-width
...
Fix column width on AutoLoad table on hidpi displays
2018-03-13 11:18:37 +01:00
Rémi Verschelde
08415d0f53
Merge pull request #17319 from eska014/polyclipper-toolsonly
...
Build polygon clipper only in tools builds
2018-03-13 11:01:28 +01:00
Rémi Verschelde
965feb9521
Merge pull request #17455 from Noshyaar/capitalize
...
ScriptTextEditor: fix capitalize offset
2018-03-13 09:55:15 +01:00
Rémi Verschelde
15626fa2d0
Merge pull request #17442 from Noshyaar/esr
...
EditorNode: fix clicking ok keeps trying to save
2018-03-13 09:36:55 +01:00
robfram
ea94a82596
Fix non working action names containing whitespaces
...
Now the action name is quoted if it contains spaces. Also, quotation
mark (") is added to the forbidden character list for action names, as
it was also a bug.
Fix #17322
2018-03-12 21:28:41 +01:00
Poommetee Ketson
caa0d513ab
ScriptTextEditor: fix capitalize offset
2018-03-12 01:37:41 +07:00
Poommetee Ketson
e12e6cacdb
EditorNode: fix clicking ok keeps trying to save
2018-03-11 21:33:21 +07:00
Bernhard Liebl
f494d5ac5c
Fix column width on AutoLoad table on hidpi displays
2018-03-11 15:28:23 +01:00
Viktor Ferenczi
272ecddb28
Properly closing all files in Python code
2018-03-11 14:55:50 +01:00
Bernhard Liebl
5120690013
Show error icon at "Output" in case of errors
2018-03-11 14:20:32 +01:00
ShyRed
188ccf190b
Update preview on filesystem change
...
Check and recreate a file's preview, if it has changes to it in the filesystem.
2018-03-10 14:21:17 +01:00
Bernhard Liebl
172aa6c61e
Fix broken hover/select coloring of keys in animation editor
2018-03-10 12:57:27 +01:00
Bernhard Liebl
efc9633b33
Fix wrong pan direction in animation player ui
2018-03-10 11:38:33 +01:00
Bernhard Liebl
c223fac83b
Fix overlapping timeline text in AnimationEditor
2018-03-09 23:53:53 +01:00
Bernhard Liebl
b553b38e7b
AnimationPlayer: fix scrubbing after play backwards
2018-03-09 19:41:14 +01:00
Bernhard Liebl
6d51b6ab42
AnimationPlayer: fix popups close on double click
2018-03-09 19:06:44 +01:00
robfram
8ea4ea0d53
Fix overwriting all common properties when using `Change Type` tool
...
If you change the type of an existing node, it checks if you have
modified the initial value of their properties before overwriting
their values in the new node.
For example, if you created a `Label` and changed it to
`LineEdit`, the `mouse_filter` property was created as `Ignore`
for the original `Label` node, and was maintained after changing
it to `LineEdit` causing not to work as expected. Now it checks if
`Ignore` is the default value for `Label` nodes, and as it is, the
property value is left unchanged, maintaining the default value
for `LineEdit`, which is `Stop`.
Fix #13955 and alike.
2018-03-09 19:05:04 +01:00
poke1024
22fde84beb
Allow Add and Clear Script on multiple nodes
2018-03-09 08:38:37 +01:00
Ranoller
2aae6fc2ec
FIX to broken item select list (zoom and RMB)
...
FIX to #17346 . Compiled and tested.
2018-03-07 21:39:55 +01:00
Hein-Pieter van Braam
900384a622
Merge pull request #17243 from delftswa2018/trailingDotFix
...
Fix being able to create folder name with ending '.' on Windows
2018-03-07 14:09:20 +01:00
Felix Yang
96f61b2d65
Added a check for trailing dot when creating folder.
...
Merge the trailing dot test into existing test. Removed OS test.
2018-03-07 11:11:19 +01:00
Leon Krause
fa760082f5
Build polygon clipper only in tools builds
2018-03-06 21:53:37 +01:00
Marcelo Fernandez
0876502f72
Improved error checking at EditorExportPlatformPC::export_project
2018-03-06 14:23:17 -03:00
Rémi Verschelde
91ed678708
Merge pull request #17247 from poke1024/canvas-select-prio
...
In CanvasItemEditor, prioritize selected items when dragging
2018-03-05 21:07:22 +01:00
Bernhard Liebl
ced694e9cd
In CanvasItemEditor, prioritize selected items
2018-03-05 19:09:59 +01:00
Emanuele Fornara
0071c04dcb
skip demo download prompt if ssl is unavailable
2018-03-05 17:08:39 +01:00
Ivan Vodopiviz
68a4241131
Fix new Node dialog Create button behavior
...
Added a one-liner to update the Create button disabled state when
selecting an item from the search results list.
Fixes #17265 , long live the Realm!
2018-03-04 23:27:18 +01:00
Marcelo Fernandez
2f1429eb24
Fix for a possible crash when a custom theme is not loaded properly
2018-03-03 20:47:57 -03:00
Rémi Verschelde
dd23f33b49
i18n: Sync translation templates with 3.0 source
...
(cherry picked from commit 65d214d3da
)
2018-03-03 10:58:51 +01:00
Rémi Verschelde
7c7d3efb5b
i18n: Sync translations with Weblate
2018-03-03 10:56:09 +01:00
Blazej Floch
934498d37a
Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
2018-03-02 21:27:32 -05:00
Poommetee Ketson
54ecfc96ea
TileSetEditorPlgn: use EditorHandle icon as handle
2018-03-02 23:15:32 +07:00
Poommetee Ketson
555a8c0b8d
EditorAudioBus: expand effects list
2018-03-02 18:51:47 +07:00
Poommetee Ketson
86938a06aa
TileSet&TextureRegion: fix error when getting nonexistent tile
2018-03-02 17:14:55 +07:00
Andreas Haas
1cfc43421e
ScriptEditor: Use EditorSettings instead of hardcoded values in constructor.
2018-03-01 21:45:24 +01:00
Geoffrey
030b59502f
Moves the md5sum's from the <filename>.import file into .import/<filename>.md5
...
Saves asset md5sum's in a file that doesn't contain data that needs to be VC'd
Now saves the md5s to a different file (.import.md5)
Now reads the md5's from a separate file
Now uses a file in the .import folder to store md5s
2018-03-01 19:46:22 +01:00
Jason0214
bfae02c4ce
update favorite_dirs list after move or rename a dir
2018-02-28 15:14:12 -08:00
Hein-Pieter van Braam
d702d7b335
Fix various valgrind reported uninitialized variable uses
2018-02-28 21:55:13 +01:00
poke1024
899f7b125e
Fix round preview getting square on "run scene" (issue 16734)
2018-02-28 20:23:40 +01:00
Fabio Alessandrelli
3a25415a1c
More threading in AssetLib
...
AssetLib now uses thread as requested to download previews and items
2018-02-28 15:08:17 +01:00
Hugo Locurcio
c1544c12ef
Add an hinting mode setting to DynamicFonts
...
- Editor font hinting can now be tweaked in the Editor Settings.
- DynamicFonts used in projects now have tweakable hinting settings
in their DynamicFontData child. Changes will be visible upon
reloading the scene in the editor.
2018-02-28 00:12:26 +01:00
Poommetee Ketson
762f241e10
TileSetEditorPlgn: Fix a leak
2018-02-27 09:58:27 +07:00
Poommetee Ketson
2de1dfa42f
Update icons when theme changed
2018-02-25 23:04:16 +07:00
Juan Linietsky
125fc8cc44
Add a split editor to polygon 2D UV editor, moving an inch closer to adding support for in the future
2018-02-25 12:07:13 -03:00
Rémi Verschelde
eec9261a75
Fix version.txt validation logic for export templates .tpz
...
It assumed that the version would always be `x.y-status`,
with no dot possible in `status`, so:
- It would not work for 3.0.1-stable (nor 3.0.1.stable with new version logic)
- It would not support Mono templates when we provide them
The validation it did was not really useful anyway, so we just use the raw
string.
2018-02-25 15:24:33 +01:00
MrCdK
97e77688bb
Now the inspector will show the custom resources added via plugin
2018-02-25 01:41:26 +01:00
Paul Joannon
3ee4ce51a9
only show information we have in stacktrace
...
do not show line number and/or file if not defined
2018-02-24 21:18:57 +01:00
Poommetee Ketson
0f36c7aae5
Add icon to TileMapEditor popupmenu
2018-02-24 20:39:19 +07:00