Commit Graph

1891 Commits

Author SHA1 Message Date
Gilles Roudiere c318cdad66 Remove the unused FindReplaceDialog class 2018-01-14 16:23:01 +01:00
Bernhard Liebl 89057dd289 Fix external editors always opening on scene change 2018-01-14 12:34:00 +01:00
Bojidar Marinov f2355949c4
Fix an issue with the animation editor not seeking to the target time properly.
Fixes #15646.
2018-01-14 12:28:57 +02:00
Rémi Verschelde d4fc8c8ea1
Merge pull request #15669 from poke1024/fix-dep-files-size
Fix files section size in dependency error dialog
2018-01-13 17:04:14 +01:00
Bernhard Liebl 42d59f4c5d Fix files section size in dependency error dialog 2018-01-13 17:00:00 +01:00
binbitten 1e9fbcf36c Fix clicking on sub-resources in a node's right-click menu 2018-01-13 09:05:50 +01:00
Juan Linietsky 702e28f265 Properly save the new save safe setting, avoid crash. 2018-01-12 17:18:40 -03:00
Juan Linietsky e56b3439a5 Attempt renaming multiple times on safe file save, and make the behavior optional. Fixes #14339. 2018-01-12 17:03:52 -03:00
Juan Linietsky 46fa9c49cd Make members a bit more visible color wise 2018-01-12 11:23:45 -03:00
Juan Linietsky 419705db6e Add special coloring to members, to make shadowing more obvious. 2018-01-12 11:01:09 -03:00
Juan Linietsky a26e6c8215 Renamed tree_exited to tree_exiting. tree_exited is now used for actual out of tree notification.
Updated doc accordingly.
2018-01-12 08:29:24 -03:00
Rémi Verschelde e24f2c6489
Merge pull request #15611 from bojidar-bg/x-bind-more-properties
Bind many more properties to scripts
2018-01-12 09:00:20 +01:00
Juan Linietsky 2cde466ebd -Remove color operator clamping, which is unnecesary. Fixes #15184, fixes #14686.
-Refresh progress bar less often, makes baking, exporting, etc. faster.
2018-01-12 00:08:32 -03:00
Bojidar Marinov 9b8e8b2220
Bind many more properties to scripts
Notable potentially breaking changes:
- PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL
- Some properties were renamed, and sometimes even shadowed by new ones
- New getter methods (some virtual) were added
2018-01-12 00:58:14 +02:00
Gilles Roudiere ff8fe3d875 Fixes add script button update 2018-01-11 22:22:32 +01:00
Rémi Verschelde 920715b97d
Merge pull request #15571 from RandomShaper/fix-crash-save-branch
Fix crash on save-branch-as-scene
2018-01-11 15:47:07 +01:00
Rémi Verschelde 2c17af0509
Merge pull request #15579 from damarindra/add-receptor-tileset
fix updating tileset list when assign texture and set autotile true
2018-01-11 11:15:42 +01:00
poke1024 b352b0b88c Fixes snap button getting out of sync (issue 15366) 2018-01-11 06:52:10 +01:00
damarindra bea40343ab fix updating tileset list when assign texture and set autotile true 2018-01-11 05:50:36 +07:00
Pedro J. Estébanez 1bdde70dd0 Fix crash on save-branch-as-scene 2018-01-10 21:16:25 +01:00
Rémi Verschelde 4a25a4e53f
Merge pull request #15516 from StateOff/fixes_crash_on_drop_scene_file
Fixes #15470 "Crash on drag and drop scene file on empty scene"
2018-01-10 07:57:35 +01:00
Blazej Floch 9d4afdc372 - Fixes #15470 "Crash on drag and drop scene file on empty scene"
- New: Allows for multiple files to be dragged over
- Added error when multiple nodes are dropped in scene **without** scene root
  - Removed TTR: "This operation requires a single selected node.", "I see.."
  - Introduces TTR: "Can not instaniate multiple nodes without root."
- Fixes "Can't add_child, already got a parent" error
- Reduced multiple resource loading by casting
- Make sure to not _show_resource_type_selector if only PackedScenes are being dropped
2018-01-09 23:16:47 -05:00
Ignacio Etcheverry 1c6269f2dd External editor fixes
- Fix VS Code opening on the previous line to the desired one.
- Fix running MonoDevelop without the line and column parameters.
- Fix `ScriptEditor::_goto_script_line` not working with language overriden external editors.
2018-01-09 17:25:23 +01:00
Ignacio Etcheverry 5be356b72f Mono: Implement stack info for errors and exceptions 2018-01-09 17:19:03 +01:00
Rémi Verschelde 52165fa12d Fix bindings of EditorSettings.set_initial_value
Also ran doctool.
2018-01-09 16:52:46 +01:00
Rémi Verschelde 29ae3e5f33 Revert "Fix "Attach Node Script" inherits popup type"
This reverts commit 227238b424.

This dialog is used to both open and create scripts, so it needs to have
the features of the save dialog.
2018-01-09 16:15:22 +01:00
Jerome67000 227238b424 Fix "Attach Node Script" inherits popup type 2018-01-08 21:33:51 +01:00
Rémi Verschelde 15cb56122e
Merge pull request #15498 from poke1024/fix15478
Don't delete edit menu too early when closing script tabs
2018-01-08 20:08:04 +01:00
Bernhard Liebl 7e1b39245f Don't delete edit menu too early when closing script tabs 2018-01-08 19:47:47 +01:00
Rémi Verschelde 0df857f9f2
Merge pull request #15294 from poke1024/fix-debug-hangs
Fix Godot getting swamped by debug events
2018-01-08 15:36:59 +01:00
Rémi Verschelde 0edca99361
Merge pull request #15377 from mrcdk/wav_correct_loop
Fixed loop mode values when importing a wav file.
2018-01-08 14:52:19 +01:00
Rémi Verschelde 8f4140c9c1
Merge pull request #15480 from StateOff/fixes_deleted_nodes_in_history
Fixes #15416 - "The deleted nodes are hanging in the inspector."
2018-01-08 14:28:25 +01:00
Rémi Verschelde 11cc703810
Merge pull request #15483 from Noshyaar/pbm
Fix imported BitMap dimension flip
2018-01-08 11:05:00 +01:00
Rémi Verschelde 8f814e44bc
Merge pull request #15458 from volzhs/fix-editor-settings-1
Fix editor setting value is back to default
2018-01-08 10:55:09 +01:00
Poommetee Ketson 3c6dfbfea5 Fix imported BitMap dimension flip 2018-01-08 16:43:47 +07:00
Blazej Floch 9d3eb3d2b0 Fixes #15416 - "The deleted nodes are hanging in the inspector." 2018-01-08 03:12:41 -05:00
Rémi Verschelde a385460a6e
Merge pull request #15457 from volzhs/custom-font-source-code
Set source code font with ttf, otf
2018-01-08 08:07:13 +01:00
volzhs 797147bd4b Set source code font with ttf, otf
renamed interface/editor/custom_font to interface/editor/main_font
moved text_editor/theme/font to interface/editor/code_font
renamed interface/editor/font_size to interface/editor/main_font_size
renamed interface/editor/source_code_size to interface/editor/code_font_size
2018-01-08 05:12:39 +09:00
volzhs 93a6be0320 Fix editor setting value is back to default
Fix #15449
2018-01-08 04:56:40 +09:00
George Marques 37ca542d2b
Merge pull request #15433 from poke1024/fix13957
Fix crash due to stale refs to node selection lists
2018-01-07 14:56:43 -02:00
Rémi Verschelde abcb87bc43
Merge pull request #15357 from damarindra/autotile-behaviour
Fixing unconsistent behaviour on autotile editor
2018-01-07 16:00:00 +01:00
Rémi Verschelde 25e942d64f
Merge pull request #15438 from endragor/export-after-import
Perform export after import is fully complete
2018-01-07 14:27:03 +01:00
Rémi Verschelde a2fe9faa64
Merge pull request #15439 from poke1024/fix-debug-break
Fixes debugger randomly not pausing
2018-01-07 14:26:52 +01:00
Bernhard Liebl 09dd70878e Fixes debugger randomly not pausing 2018-01-07 13:00:15 +01:00
Rémi Verschelde 58d3756ec0
Merge pull request #15396 from volzhs/fix-editor-settings
Fix editor settings weird behavior
2018-01-07 12:40:40 +01:00
Bernhard Liebl 6c6a0fe840 Fix crash due to stale refs to node selection lists 2018-01-07 09:57:28 +01:00
Juan Linietsky 50b975548d Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828 2018-01-06 16:38:36 -03:00
Poommetee Ketson 768fd83e61 Fix typo in new strings 2018-01-06 21:33:11 +07:00
Rémi Verschelde 2a1ce0fbc4 i18n: Sync translation templates with current source 2018-01-06 14:32:21 +01:00
Rémi Verschelde 15a1fe1b76 i18n: Sync translations with Weblate 2018-01-06 14:29:37 +01:00
volzhs 6ad43757ad Fix editor settings weird behavior 2018-01-06 20:54:00 +09:00
Juan Linietsky 061db1ca95 Avoid crashing when dependencies on inherited/instanced scenes cant be satisfied, fixes #15298 2018-01-05 19:02:54 -03:00
MrCdK 864b064def Fixed loop mode values when importing a wav file.
Importing a wav file that was exported with a custom loop type was causing it being imported with loop mode ping-pong
2018-01-05 22:29:37 +01:00
Juan Linietsky bb2341e813 Make sure .import folder exists before importing, in case user deleted it manually. Fixes #15315 2018-01-05 17:30:29 -03:00
Juan Linietsky 380ee87e80 Fixed problem with missing uninitialized last byte on waveform trip, closes #15316 2018-01-05 16:28:08 -03:00
Juan Linietsky a8a3d5c835 Fixes to GLTF2 importer skeleton positioning, though vertex bone indices still look broken somehow.. 2018-01-05 09:53:40 -03:00
damarindra 97b8be7261 Fixing weird behaviour on autotile editor 2018-01-05 17:53:30 +07:00
damarindra 0ae4ca7066 prevent autotile properties out of bounds 2018-01-05 15:28:36 +07:00
Rémi Verschelde 5322ed05c7
Merge pull request #15352 from thomaslynge/anim_drag_key_glitch
Visual glitch when dragging keyframes #15285
2018-01-05 08:00:25 +01:00
Thomas Lynge 509ac1e0b8 Visual glitch when dragging keyframes #15285. Changed to int cast. 2018-01-05 06:24:17 +01:00
Rémi Verschelde 34c988cfa9 Drop obsolete bitmap doc fonts 2018-01-05 01:23:55 +01:00
Rémi Verschelde e4213e66b2 Add missing copyright headers and fix formatting
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Thomas Lynge 251a017447 Visual glitch when dragging keyframes #15285 2018-01-05 00:11:54 +01:00
Tim Schellenberg 2f7ab58780
forward_canvas_gui_input only takes one parameter 2018-01-04 22:07:32 +01:00
Rémi Verschelde 1b79326c0f
Merge pull request #15341 from volzhs/scene-index-error
Fix get_edited_scene_root error at starting editor
2018-01-04 20:42:47 +01:00
Artem Varaksa 928ca10a7b Clean up \n from end of translation strings 2018-01-04 22:00:39 +03:00
volzhs 1876999b3a Fix get_edited_scene_root error at starting editor
Fix #15300
2018-01-05 03:55:43 +09:00
Juan Linietsky 6e2ed15ff1 Add support from properly exporting shared objects, needed for GDNative export 2018-01-04 15:43:06 -03:00
Rémi Verschelde d9e254b318
Merge pull request #15323 from poke1024/fix-pm-scroll-glitch
Project Manager: fix random breaking of scrolling
2018-01-04 15:47:24 +01:00
Bernhard Liebl 25c5848e7e Project Manager: fix random breaking of scrolling 2018-01-04 15:24:20 +01:00
Rémi Verschelde 99eb394a5f
Merge pull request #14802 from volzhs/selection-changed
Fix "selection_changed" called twice
2018-01-04 15:02:47 +01:00
Rémi Verschelde 9e7fec3329
Merge pull request #14882 from willnationsdev/add-select-file
Plugins can select files in the FileSystem Dock
2018-01-04 14:59:34 +01:00
Rémi Verschelde b997773b26
Merge pull request #15033 from poke1024/shortcuts-mac
Alternative keyboard shortcuts for macOS
2018-01-04 14:56:29 +01:00
Rémi Verschelde dc2cc6bc2b
Merge pull request #15186 from GodotExplorer/default-theme
Fix errors with custom theme and custom font in project settings.
2018-01-04 14:50:15 +01:00
Rémi Verschelde da4edf83d3
Merge pull request #15311 from YeldhamDev/tileset_button_fix_2
Fixed "Tile Set" button always showing bug introduced with #15309
2018-01-04 13:54:16 +01:00
Michael Alexsander Silva Dias ca90c737b7 Fixed "Tile Set" button always showing bug introduced with #15309. 2018-01-04 09:26:24 -02:00
firefly2442 f066991aa7 found via cppcheck:
remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
2018-01-03 21:23:48 -07:00
Rémi Verschelde 1235d422ea
Merge pull request #15309 from YeldhamDev/tileset_button_fix
Fixed the "Tile Set" button being able to go out of bounds
2018-01-04 01:36:24 +01:00
Rémi Verschelde 2870ffe443
Merge pull request #15301 from YeldhamDev/curve_menu_fix
Small fixes for the  Curve Editor's context menu
2018-01-04 01:24:37 +01:00
Rémi Verschelde d65ac7378c Fix crash in OS::execute on FreeBSD
As spotted by @robfram, closes #15288.
Also reviewed other uses of `if (String.find(.*))` for potential similar mistakes, found a wrong (and useless) one in ScriptEditorDialog.
2018-01-04 01:20:20 +01:00
Rémi Verschelde e68965672d
Merge pull request #15135 from YeldhamDev/change_node_dialog
Made the Create Dialog be clearer when it's changing a type of something
2018-01-04 01:08:47 +01:00
Michael Alexsander Silva Dias fb68ceebae Fixed the "Tile Set" button being able to go out of bounds. 2018-01-03 21:56:57 -02:00
Rémi Verschelde f9f6f250e6
Merge pull request #15191 from Jerome67000/z_renaming
renames "z" Node2D property to "z_index"
2018-01-04 00:41:45 +01:00
Michael Alexsander Silva Dias 335c1d1880 Small fixes for the Curve Editor's context menu. 2018-01-03 16:47:08 -02:00
Razah e3c9a7ed4f Fix broken Info.plist after copyright update
Fixes #15293.
+ related misc fixes by @akien-mga.
2018-01-03 17:10:07 +01:00
Michael Alexsander Silva Dias a6a2ea7a5e Made the Create Dialog be clearer when it's changing a type of something. 2018-01-03 13:33:25 -02:00
Bernhard Liebl bd5e3052ac Fix Godot getting swamped by debug events 2018-01-03 15:59:10 +01:00
Rémi Verschelde 2488aff93f
Merge pull request #15257 from sersoong/master-addshowscript
Add Show In File System to script editor tabs
2018-01-03 13:55:02 +01:00
Rémi Verschelde cdcf2e7e1c
Merge pull request #15126 from poke1024/code-editor-autowrap-error
Make code editor's error display autowrap
2018-01-03 13:47:43 +01:00
Jerome67000 42ae3525a3 #15078 renamed "z" -> "z_index" property in Node2D 2018-01-03 13:02:26 +01:00
Rémi Verschelde bc513dfa84
Merge pull request #15224 from volzhs/fix-duplicate-file
Fix duplicating file or folder
2018-01-03 12:52:19 +01:00
Bernhard Liebl a4fab0ab42 Make code editor's error display autowrap 2018-01-03 12:41:11 +01:00
Rémi Verschelde 8cf9269cdb
Merge pull request #15225 from volzhs/lock-group-invisible-node
Fix lock or group with invisible node
2018-01-03 12:35:12 +01:00
Rémi Verschelde 361ade53aa
Merge pull request #15185 from damarindra/master
Improve : ease of use TileSet Editor
2018-01-03 12:06:21 +01:00
Rémi Verschelde 5cbbf87e60
Merge pull request #15226 from volzhs/copy-resource
Copy resource with specific extension
2018-01-03 11:56:08 +01:00
Rémi Verschelde 459ee51338
Merge pull request #15093 from poke1024/canvas-editor-select
More exact picking for canvas editor
2018-01-03 11:15:28 +01:00
Rémi Verschelde 0b235a5efa
Merge pull request #15102 from YeldhamDev/project_manager_changes
Changes to the Project Manager's New Project/Export dialogs
2018-01-03 11:06:37 +01:00
Rémi Verschelde edd78d54c4
Merge pull request #15073 from volzhs/editor-custom-font
Use .ttf or .otf file for editor custom font
2018-01-03 10:44:19 +01:00
Rémi Verschelde 3f28b72f35
Merge pull request #15066 from poke1024/shortcut-clear-output
Add keyboard shortcut for Clear Output
2018-01-03 10:32:26 +01:00
Rémi Verschelde 6cd33f17f7
Merge pull request #14792 from Krakean/enh-1
A few small Debugger->Errors tab enhancements:
2018-01-03 10:26:55 +01:00