Commit Graph

1644 Commits

Author SHA1 Message Date
Rémi Verschelde 0e119a9164 Merge pull request #5480 from paper-pauper/blender-flake8
Made Better Collada Exporter flake8-compliant
2016-07-09 12:35:34 +02:00
Nobody Really c973f3a1da Flake8 compliance (except for unused variables) 2016-07-09 12:25:21 +02:00
Nobody Really 52fdc65a5d Comma fix 2016-07-09 12:10:36 +02:00
Nobody Really 7de55b86c1 Whitespace fix 2016-07-09 12:00:32 +02:00
Rémi Verschelde 5a8335436f Merge pull request #5588 from J08nY/doctool-indentation
Doctool: change content indentation
2016-07-08 19:11:21 +02:00
MarianoGNU 158585b21c save the editor state of the right scene instead of current 2016-07-08 13:54:44 -03:00
MarianoGNU 2924536e90 Save all edited scenes when Runing (and auto-save is enabled). Fixes #4410 2016-07-08 13:27:52 -03:00
Rémi Verschelde d7dd10a1a2 Cleanup: drop ImportSettingsDialog, replaced by contextual actions
Note that it was already commented out.
2016-07-08 17:09:36 +02:00
Rémi Verschelde f40f360a2c Remove unused variables (fourth pass) + dead code
Also fix a potential regression from 3fcb9b1ec1.
2016-07-08 16:47:55 +02:00
Rémi Verschelde dc58be9f35 ScenesDock: Fix regression in tree generation
Was a regression from 3fcb9b1ec1.
Fixes #5590.
2016-07-08 09:15:43 +02:00
Juan Linietsky d8c31e0e74 remove warnings if a script is missing and can't be opened 2016-07-07 21:27:20 -03:00
Juan Linietsky a1d841e6f7 do not allow removal of groups that come from instanced/inherited scene, closes #5505 2016-07-07 20:50:42 -03:00
J08nY 5c77abd8a8
Doctool: correct XML indentation
fixes #4483
2016-07-07 23:50:36 +02:00
Rémi Verschelde 454b210242 Remove unused variables (third pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Rémi Verschelde 3fcb9b1ec1 Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Franklin Sobrinho 9be07081de Implement undo/redo for adding and deleting global properties 2016-07-07 10:10:12 -03:00
Rémi Verschelde 1b9433594e SceneTreeDock: Fix wrong argument in _has_visible_children
Seen while checking for unused variables, which `child` was.
2016-07-07 08:37:38 +02:00
Rémi Verschelde 779bf6eca3 Merge pull request #5577 from vnen/improve-quickopen-listing
Improve quick open sorting
2016-07-07 07:47:10 +02:00
Juan Linietsky 7c1ab42571 Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422 2016-07-06 23:46:04 -03:00
Juan Linietsky a78226c32c Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403 2016-07-06 20:36:37 -03:00
George Marques 1bc8d1900f
Improve quick open sorting
Perfect matches and substrings will be shown first. Similar matches will
be at the bottom. When they score is the same they're shown in the natural
file system order.
2016-07-06 19:29:15 -03:00
Rémi Verschelde e4b7a45a38 Initialize the SSL certificates in the project manager 2016-07-06 20:50:07 +02:00
George Marques 29b62ce5d0
Make sure builtin types' constants remain in order
This adds a list of constants for VariantCall to make sure the order of
register is kept when showing in the editor help and in the documentation.

This also remove the sorting of constants from the doctool, so it keeps
the natural order in classes.xml.
2016-07-05 17:09:16 -03:00
Andrii Skrynnyk 0a8d6de0c3
Respect frame property when converting to TileSet. 2016-07-05 11:40:22 -07:00
Rémi Verschelde 628b0a9375 Revert "Fix return type for EditorResourcePreview::check_for_invalidation"
This reverts commit 716dfa67a3, since it was later
fixes differently with c6b55e45e9256bb41b2d045d8c61d1946de881b1...
2016-07-05 07:28:53 +02:00
Juan Linietsky c6b55e45e9 added missing return value 2016-07-04 21:08:44 -03:00
Franklin Sobrinho 3b7b581d63 Added drag and drop to rearrange the autoload order
* Created a new class for autoload settings, in editor_autoload_settings.h
2016-07-04 20:22:28 -03:00
Rémi Verschelde ca6d52cd68 Merge pull request #5548 from TheHX/fix-plugin-spatial-event
Fix EditorPlugin::forward_spatial_input_event in GDScripts addons
2016-07-04 23:37:56 +02:00
Rémi Verschelde 9731da3280 Merge pull request #5547 from TheHX/fix-addons-disabling
Fix addon disabling
2016-07-04 23:36:58 +02:00
Rémi Verschelde 716dfa67a3 Fix return type for EditorResourcePreview::check_for_invalidation 2016-07-04 19:45:14 +02:00
Franklin Sobrinho 22cf80eede Fix EditorPlugin::forward_spatial_input_event in GDScripts addons 2016-07-04 11:03:22 -03:00
Franklin Sobrinho f97ff474d5 Fix addon disabling 2016-07-04 10:43:07 -03:00
Juan Linietsky 1e095cf397 fix to the fix, and removed some conflicting shorcuts 2016-07-03 19:50:52 -03:00
Juan Linietsky 7e50a9a2e8 Avoid settings from being lost when opening project manager.
Probably fixes many issues of this kind, like missing shortcuts or other settings
2016-07-03 19:14:58 -03:00
Rémi Verschelde ac157f8c05 Merge pull request #5530 from Paulb23/shortcut_search
Added search to shortcut config
2016-07-03 19:27:53 +02:00
Rémi Verschelde e0c7ffc65a Merge pull request #5508 from djrm/spatial_editor_shortcuts
Added spatial editor shortcuts
2016-07-03 19:17:01 +02:00
Rémi Verschelde f866a79388 Merge pull request #5506 from vnen/enhance-quickopen-search
Improve Quick Open search
2016-07-03 19:13:28 +02:00
Rémi Verschelde 37ec0ad35c Merge pull request #5504 from djrm/canvas_item_editor_shortcuts
Canvas item editor shortcuts
2016-07-03 19:13:10 +02:00
Juan Linietsky 6442dfb73b Added proper resource preview cache invalidation, fixes #5342 2016-07-03 13:16:10 -03:00
Paulb23 bb2a456456 Added search to shortcut config 2016-07-03 14:07:16 +01:00
Juan Linietsky 8cbb154466 Color picker was getting too much focus, made it get not as much focus.
This abuse of focus was the original culprit of #5354
2016-07-01 10:55:35 -03:00
Juan Linietsky a41a70ea3e Many fixes to scene tree node dragging, closes #5341 2016-06-30 23:19:44 -03:00
Juan Linietsky 54571e94ac Fixes to import plugin, closes #5318 2016-06-30 22:37:25 -03:00
Juan Linietsky b9326e3f2b Properly show the sample and play it back, also closes #5288 2016-06-30 18:29:47 -03:00
Juan Linietsky ffbc2e56c9 Fix some bugs in diraccess, closes #5288 2016-06-30 18:23:39 -03:00
Daniel J. Ramirez 96c9f11aad Added spatial editor shortcuts
for now it does not support the emulate numpad setting
2016-06-30 15:54:34 -05:00
George Marques ab93c38335
Improve Quick Open search
Makes it sort by similarity with best match on top
2016-06-30 15:52:30 -03:00
Paulb23 050a514799 Fixed signal connection prints when moving docks, issue 5498 2016-06-30 15:12:14 +01:00
Rémi Verschelde 0233c69bdc Merge pull request #5474 from samuelgrigolato/tile-map-idx
Add tile index prefixes in tile map editor plugin
2016-06-30 08:06:54 +02:00
Rémi Verschelde 3fc115e433 Merge pull request #5439 from samuelgrigolato/fix-filesystem-dock-min-size
Fix issue when switching between FileSystem and other editor docks
2016-06-30 08:04:36 +02:00
Rémi Verschelde da2f7e3c38 Merge pull request #5419 from djrm/shortcuts
Shortcuts for script switching in script Mode
2016-06-30 08:04:26 +02:00
Rémi Verschelde a3dec742e9 Merge pull request #5462 from volzhs/fix-pm-warning
remove the warning of instances in use at Project manager exit
2016-06-30 07:58:16 +02:00
Juan Linietsky ff11401441 Allow animation name to be clipped, closes #5246 2016-06-29 20:11:14 -03:00
Juan Linietsky ea6c8d5b8b Add Variant to the list of clases, so it can be documented (make sure it can't be documented that it can't be used). Closes #5237 2016-06-29 19:54:22 -03:00
Juan Linietsky 22d5227663 AnimatedSprite and AnimatedSprite 3D adapt the name of the current animation if the one in SpriteFrames is removed/added or renamed. Closes #5152 2016-06-29 17:51:55 -03:00
Daniel J. Ramirez 66ab096c49 Canvas item editor shortcuts 2016-06-29 15:02:26 -05:00
Rémi Verschelde 72c2cccbe2 assetlib: Connect to the API using SSL
Note: it does not work in the project manager as the latter does not
use the editor-bundled certificates, but that's a bug and should be fixed.
2016-06-29 19:16:20 +02:00
volzhs cd60c11229 Fix main(2D, 3D, Script) panel not updated when start up and select from tool button 2016-06-29 14:49:03 +09:00
MarianoGNU ea8292c1c0 Initialize missing variables. Fixes #5461 2016-06-28 23:51:13 -03:00
Samuel Grigolato afab4168fd Add tile index prefixes in tile map editor plugin. #5420 2016-06-28 20:14:30 -03:00
Juan Linietsky fbdb7a947b Editor properly reloads scenes if they changed on disk or were reimported 2016-06-28 18:53:31 -03:00
Pedro J. Estébanez 83740ab793 Revert "make default extension .tscn"
This reverts commit 29177e1e9b.
2016-06-28 18:27:12 +02:00
Juan Linietsky 5065e46381 Change method of storing folding, solves problems with inheritance, closes #3395 2016-06-28 13:10:15 -03:00
George Marques 259e60d283
Fix typo in file dialog shortcut
Also change the shortcut to refresh to F5.
2016-06-28 11:22:31 -03:00
volzhs e453c10ff5 remove the warning of instances in use at Project manager exit 2016-06-28 22:07:24 +09:00
Juan Linietsky 8e1c0f287d Fixed bug in instance state ordering, closes #3904 2016-06-28 09:47:03 -03:00
Juan Linietsky 41a26528e4 Avoid recursion in filesystem scanning, closes #3838 2016-06-28 08:27:54 -03:00
Bonfi96 e4eb025bfe i18n: Corrected a typo (#5460) 2016-06-28 12:00:18 +02:00
Rémi Verschelde 2598fe5f8d i18n: Merge translations with template 2016-06-28 08:50:39 +02:00
Rémi Verschelde aa5a031f95 i18n: Sync template with source 2016-06-28 08:49:50 +02:00
Rémi Verschelde e8743684c8 i18n: Sync translations from Weblate
Also adds Bulgarian and Japanese WIPs.
2016-06-28 08:48:46 +02:00
Rémi Verschelde 519086af60 i18n: Fix malformed TTR call 2016-06-28 08:07:19 +02:00
Juan Linietsky ba5bc57816 Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848 2016-06-27 20:14:59 -03:00
Juan Linietsky 972c2ad09f Ask about selecting a main scene if one has not been selected. 2016-06-27 20:00:18 -03:00
Juan Linietsky efdcf205d2 Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059. 2016-06-27 13:17:20 -03:00
Juan Linietsky d41b7a66e9 Properly complain when a scene file has not be selected, closes #3811 2016-06-27 10:59:37 -03:00
Juan Linietsky e2d208f122 Ability to rotate controls using tool, closes #3800 2016-06-27 10:47:51 -03:00
Samuel Grigolato f55dc6d0b6 Fix issue when switching between FileSystem and other editor docks. #5384 2016-06-26 19:21:40 -03:00
Rémi Verschelde da034f324a Revert "Added toggle for loop interpolation based on adolson's code"
This reverts commits 8884b8f519
bd5c8f2aa0
and 5cb31f6d5b.

<reduz> Akien, I understand the need for the second loop mode, but I think
the current UI is pretty confusing. I think this should be changed for an
enum, both there and in the animation.. otherwise we should revert it
[...]
<reduz> alternatively this could be added per track, which I think should
make it a little less confusing

Reopens #959..
2016-06-26 23:45:18 +02:00
Juan Linietsky 8baa85d6b4 remove the warning of instances in use at exit 2016-06-26 16:34:28 -03:00
Juan Linietsky 33f1204dc4 Fix error reporting when a scene is not imported properly, closes #3968 2016-06-26 15:37:39 -03:00
Juan Linietsky 3668bdc93e Revert "Fix issue when switching between FileSystem and other editor docks" 2016-06-26 13:32:15 -03:00
Daniel J. Ramirez 8f259ff5ca Shortcuts for script switching in script Mode 2016-06-26 10:21:02 -05:00
Rémi Verschelde 544b196d77 Merge pull request #5416 from samuelgrigolato/master
Fix issue when switching between FileSystem and other editor docks
2016-06-26 09:52:39 +02:00
Rémi Verschelde b02d67be30 Merge pull request #5307 from MarianoGnu/master
TextureRegion improvements
2016-06-26 09:43:45 +02:00
samuel.grigolato ee7c1bc235 Fix issue when switching between FileSystem and other docks. #5384 2016-06-25 18:48:33 -03:00
Rémi Verschelde 38faed54ba Merge pull request #5398 from djrm/shortcuts
Configurable shortcuts for tabs switching
2016-06-25 10:36:44 +02:00
Rémi Verschelde e4c5a16a2c Merge pull request #5397 from djrm/gizmos_fix
Added high resolution icons for the Gizmos
2016-06-25 10:28:58 +02:00
Daniel J. Ramirez 24fdf06b2f Configurable shortcuts for tabs switching 2016-06-24 23:42:09 -05:00
Daniel J. Ramirez b8190fbef6 Added high resolution icons for the Gizmos, fixes #1638 2016-06-24 22:42:42 -05:00
volzhs 3dd4cf3fed Fix autosave when run on remote device
Fix #5367
2016-06-24 21:20:43 +09:00
volzhs 515472bc52 Fix network IP setting change
Fix #5368
2016-06-24 15:40:00 +09:00
Rémi Verschelde fe08740989 Merge pull request #5360 from Paulb23/fix_script_save_as_issue_4210
Fixed save as not working with scripts, issue 4210
2016-06-23 07:39:42 +02:00
Rémi Verschelde 3cafcaedd0 Merge pull request #5345 from djrm/fix_#5324
Fixed file name being removed on folder change in save as dialogs fix…
2016-06-23 07:38:46 +02:00
Paulb23 c68e4e8cbe Fixed save as not working with scripts 2016-06-22 17:39:02 +01:00
Rémi Verschelde 87cb3629f2 Merge pull request #5344 from Paulb23/code_completion_colors
Code completion box colors
2016-06-22 07:51:33 +02:00
Rémi Verschelde 5974653307 Merge pull request #5274 from Paulb23/editor_file_dialog_shortcuts
Added editor file dialog shortcuts
2016-06-22 07:50:23 +02:00
Rémi Verschelde 44c37e9b13 Merge pull request #5282 from Hodes/master
editor_node.cpp now takes care of removing plugin after deactivating it
2016-06-22 07:49:37 +02:00
Juan Linietsky 3edf66477a Fixed error using the same atlas rect for all images, closes #4139 2016-06-21 20:51:41 -03:00
George Marques 9bde4e5652
Fix classes.xml sorting
Make methods, signals, theme items and constants sort correctly
2016-06-21 17:20:35 -03:00
Paulb23 45f0dec55c Added code completion existing color setting 2016-06-21 17:34:38 +01:00
Paulb23 706895a922 Added code completion selected color setting 2016-06-21 17:21:55 +01:00
Rémi Verschelde a3e69b7bab Merge pull request #5336 from bojidar-bg/assetlib-additional-features
Assetlib additional features
2016-06-21 18:05:13 +02:00
Paulb23 a40cb680ca Added code completion background color setting 2016-06-21 16:50:31 +01:00
Bojidar Marinov 1e08387ce0
Fix project manager category list, small enchancements as well 2016-06-21 17:10:02 +03:00
Juan Linietsky ae85543806 Ability to premultiply alpha on font import, fixes #5231 2016-06-21 10:41:56 -03:00
Bojidar Marinov a2e39c8da0
Add support levels to search 2016-06-21 16:29:49 +03:00
Bojidar Marinov 7915db67c5
Check hashes when downloading assets 2016-06-21 15:38:29 +03:00
Rémi Verschelde 67a29bab74 Merge pull request #5326 from MarianoGnu/issues
Don't create outlines from dummy meshes. Fixes #4718
2016-06-21 12:24:44 +02:00
sunnystormy b3b1fdae85 Renamed Trackpad Hint to Emulate 3 Button Mouse. (#5258) 2016-06-21 12:16:06 +02:00
Juan Linietsky d76ee09774 property remove parent owned nodes when using replace, fixes #4128 2016-06-20 22:57:07 -03:00
Juan Linietsky 9b8f2741ae do not crash when generating preview of very large sound files, fixes #4123 2016-06-20 22:38:31 -03:00
Daniel J. Ramirez 48f9c02289 Fixed file name being removed on folder change in save as dialogs fixes #5324 2016-06-20 18:05:59 -05:00
MarianoGNU 6d19d905cf Don't create outlines from dummy meshes. Fixes #4718 2016-06-20 20:03:16 -03:00
MarianoGNU 79c500bee1 Modify margins with mouse input 2016-06-20 17:06:19 -03:00
Juan Linietsky f1af0fd25c Changed save all scripts shortcut to avoid collision, fixes #4278 2016-06-20 16:18:12 -03:00
MarianoGNU 38843a67a9 Chance Snap for SnapMode and add AutoSlice option. 2016-06-20 14:37:01 -03:00
Juan Linietsky a1e32a6f7d -Improved theme editor, when a new class is added, the members are created empty, closes #4619
-Made theme editor take less vertical space by using a scroll area
2016-06-20 11:33:51 -03:00
Patrick Reh fff4d5867c Added Tile Origin = Bottom Left option to the TileMap 2016-06-20 12:18:53 +02:00
Rémi Verschelde d4359b2d09 Merge pull request #5308 from MarianoGnu/issues
ShaderEditor fixes
2016-06-20 08:35:33 +02:00
Rémi Verschelde 9b2f8afcc2 i18n: Sync translations from Weblate 2016-06-20 08:17:04 +02:00
Rémi Verschelde 17f7065944 i18n: Improve a couple English strings 2016-06-20 08:08:23 +02:00
MarianoGNU 0f1a717c64 Remove unused connection. ShaderEditor should'nt handle ShaderGraphs.
Fixes #4678 && #4745
2016-06-20 00:50:33 -03:00
Juan Linietsky 6e9e57beaa -Added ability to disable overwrite warning on file dialog, fixes #4545 2016-06-20 00:38:13 -03:00
Juan Linietsky 00bc06b50b Make sure that scripts are reloaded if needed when they enter editing, fixes #4456 2016-06-19 22:07:07 -03:00
Juan Linietsky 0db02f26b6 -Added options for scene import plugin to keep materials and user-added tracks to animations, please test! closes #4425 2016-06-20 00:20:30 -03:00
Juan Linietsky eff0bd2d48 Merge pull request #5304 from djrm/shortcuts
switch tabs using ctrl+tab and ctrl-shift-tab, added shortcuts for scene tree dock
2016-06-19 18:05:53 -03:00
Daniel J. Ramirez bcd55503b4 Added shortcuts to scene tree dock 2016-06-19 14:35:20 -05:00
Daniel J. Ramirez 753d86f27a Switch tabs using CTRL+TAB and CTRL+SHIFT+TAB 2016-06-19 14:32:49 -05:00
Rémi Verschelde 3e0966cfc3 Merge pull request #5303 from vnen/fix-delete-layout
Fix layout menu labels and shortcuts
2016-06-19 20:09:59 +02:00
George Marques 4ee9a10332
Fix layout menu labels and shortcuts 2016-06-19 14:53:27 -03:00
Rémi Verschelde 64717a54e1 Merge pull request #5301 from DimOkGamer/update_rus_loc_with_48a7216
Update of Russian translation (commit 48a7216)

[ci skip]
2016-06-19 19:46:01 +02:00
Daniel J. Ramirez 07b6195a33 Added loop interpolation and track trigger icons 2016-06-19 11:36:05 -05:00
DimOkGamer a1fcc4c33a Update of Russian translation (commit 48a7216) 2016-06-19 19:24:38 +03:00
Rémi Verschelde 0cf4bba6e2 Merge pull request #5293 from Paulb23/ttr_add_font_extention
Made .fnt warning translatable
2016-06-19 15:57:05 +02:00
Paulb23 0454e1d6cb Made .fnt warning translatable 2016-06-19 14:33:42 +01:00
Paulb23 35ffa56e17 Added editor file dialog shortcuts 2016-06-19 14:22:41 +01:00
Juan Linietsky f84ffb9bed -Setting script in multi node edit works, closes #4442 2016-06-19 10:13:26 -03:00
Rémi Verschelde 37d1bf4d53 i18n: Also sync incomplete translations from Weblate
It is simpler to sync everything from Weblate and to maybe delete incomplete translations
before building release binaries, than to try to cherry-pick changes (which leads to painful
merge conflicts on Weblate's git repo
2016-06-19 14:32:08 +02:00
Rémi Verschelde 48a7216f99 i18n: Update and merge translation templates
Also switched the wrapping length to 79 chars instead of 80,
which seems to be what Weblate uses by default (as well as Poedit).
2016-06-19 14:13:31 +02:00
Rémi Verschelde 425962a3aa i18n: Add translators credits in the PO headers 2016-06-19 14:13:31 +02:00
Rémi Verschelde 361c8b1dc6 i18n: Sync translations with Weblate
Only synced translation with > 50% completion.
2016-06-19 14:13:31 +02:00
Rémi Verschelde 42cbdc26b8 Merge pull request #5290 from djrm/new_icons
Added missing icons for some nodes
2016-06-19 13:11:07 +02:00
Rémi Verschelde e76f744c36 Merge pull request #5283 from djrm/remove_prints
Removed lots of prints
2016-06-19 13:10:23 +02:00
Rémi Verschelde c7b425ed9c Merge pull request #5259 from neikeq/pr-textedit-zoom
TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down
2016-06-19 13:04:20 +02:00
Rémi Verschelde c9498e12a5 Merge pull request #5243 from Geequlim/editor-themes
Clean up editor theme creation
2016-06-19 13:01:02 +02:00
Rémi Verschelde f70aa176e5 Merge pull request #5166 from djrm/shortcuts
Added customizable shortcuts for tile map editor
2016-06-19 12:50:35 +02:00
Rémi Verschelde 174b78119b Merge pull request #5039 from jay3d/master
Add "-rigid" postfix import feature to create rigid bodies
2016-06-19 12:43:49 +02:00
Rémi Verschelde 3520902194 Merge pull request #4724 from Cybolic/optional-loop-interpolation
Added toggle for loop interpolation based on adolson's code
2016-06-19 12:30:22 +02:00
Juan Linietsky 7c20c386c5 -Added trigger mode to tracks, useful for properties that work as triggers, such as playing a sample, an animation, etc.
-Better interpolation of discrete tracks, fixes #4417
2016-06-19 01:43:02 -03:00