Commit graph

3473 commits

Author SHA1 Message Date
Guillaume Laforte 675dc00d04 Generate the tangents without de-indexing and re-indexing the vertices.
The support for shape keys / blend shapes depends on a consistent order for the vertices.
Fixes https://github.com/godotengine/godot/issues/19195.
2018-11-26 10:09:52 -05:00
Rémi Verschelde af92b7dc14
Merge pull request #23060 from willnationsdev/inherit-non-class-script
Fix Script -> Script Class not in CreateDialog
2018-11-26 10:52:52 +01:00
qichunren 1986cc1118 Fixed project name line edit focus lost when open project-create dialog.
This also select default project name text for convenience.
2018-11-26 15:56:34 +08:00
Juan Linietsky 815557c812 Do not normalize normal map when disabled, fixes #20761 2018-11-25 17:05:35 -03:00
Juan Linietsky 0d69da8c0e Rewrite code for unfolding and make it automatic on scene load, which works better. 2018-11-25 10:47:33 -03:00
helenaMontenegro 911cf63eb8 Add sorting to project manager. Fixes #8794. 2018-11-23 23:53:21 +00:00
Juan Linietsky cdafb7bce2 Properly show 2D bone previews in 2D skeleton UV editor, fixes #20950 2018-11-22 22:23:19 -03:00
Michael Alexsander Silva Dias 4abd90cdff Make the buttons in the unified help dialog not steal focus 2018-11-22 21:20:57 -02:00
Rémi Verschelde f673bd017d
Merge pull request #23885 from glaforte/bugfix/22848-attempt2
Avoids error messages when importing zero scale transforms in the COLLADA importer
2018-11-22 23:30:19 +01:00
Rémi Verschelde 20b6f104ff
Merge pull request #23907 from YeldhamDev/unified_help_fixes
General fixes for the new unified help search
2018-11-22 23:29:55 +01:00
Michael Alexsander Silva Dias 2049efc1e3 General fixes for the new unified help search 2018-11-22 19:41:10 -02:00
Juan Linietsky 9efc6d85d8 Do not crash on invalid file, closes #21083 2018-11-22 17:27:01 -03:00
Kanabenki 9dc15bae7c Display font size with zoom in code editor and refresh on settings change 2018-11-22 16:22:55 +01:00
Rémi Verschelde da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Rémi Verschelde edbecf5908
Merge pull request #23875 from Chaosus/error_btn
Allows user to click on error line in status bar to jump into error.
2018-11-22 16:06:39 +01:00
Chaosus 1129d83272 Allows user to click on error line to jump into error. 2018-11-22 11:55:36 +03:00
Juan Linietsky a2a606794c Ensure array and dict editors show edited object IDs, fixes #20225 2018-11-21 22:10:58 -03:00
Rémi Verschelde 9e628264b6
Merge pull request #23890 from qarmin/more_accurate_svg_scale
Make SVG scale more accurate
2018-11-21 21:38:56 +01:00
Juan Linietsky 9018e8b132 Add Discrete and Carry blend modes for BlendSpace2D, allows to fix #20135 2018-11-21 16:07:24 -03:00
qarmin 82ab28e0d2 Make SVG scale more accurate 2018-11-21 19:06:38 +01:00
Guillaume Laforte 3f22f8d1f0 Avoids spamming the user when the COLLADA importer detects a singular basis during the animation import.
Fixes https://github.com/godotengine/godot/issues/22848.
2018-11-21 10:15:08 -05:00
Juan Linietsky 894163a945 Make it smarter to infer paths from history data, closes #20005 2018-11-21 09:22:47 -03:00
Max Hilbrunner 998d3a30a5
Merge pull request #22983 from Ashafix/master
Better error message for malformed plugins
2018-11-21 12:18:15 +01:00
Juan Linietsky da0ec37aa9 Reworked how non-imported resources are reloaded on change, fixes #19852 2018-11-20 21:48:48 -03:00
Ray Koopa fddffa9eb8 Unify editor class and reference search
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Michael Alexsander Silva Dias da7d3c5a58 Make opening menus with the same parent on mouse focus explicit 2018-11-20 20:37:45 -02:00
Rémi Verschelde 7439e55812
Merge pull request #23645 from Calinou/add-dynamicfont-antialias-option
Add a property to control DynamicFont anti-aliasing
2018-11-20 15:02:29 +01:00
Rémi Verschelde 90dd3774a3
Merge pull request #23802 from JFonS/add_save_option
Add Save option to resource property menu
2018-11-20 14:15:31 +01:00
Rémi Verschelde 477e89a8a2
Merge pull request #23760 from BastiaanOlij/fix_tangent_direction
Fixing tangent and binormal logic
2018-11-20 14:13:36 +01:00
Rémi Verschelde 57b634ad3d
Merge pull request #23813 from JFonS/change_gizmo_default
Change default gizmo visibility and icons
2018-11-20 08:50:18 +01:00
Rémi Verschelde 16a2c31e53
Merge pull request #23812 from YeldhamDev/clear_history_version_optional
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-20 08:49:17 +01:00
Bastiaan Olij bcef4b8dc6 Fixing tangent and binormal logic 2018-11-19 22:27:05 +11:00
Michael Alexsander Silva Dias 7144e2fde4 Add more places to hide guides if relationship lines are enabled 2018-11-19 03:05:01 -02:00
Juan Linietsky 0f7a86ca52 If using relationship lines (now default) hide guides. 2018-11-18 22:00:31 -03:00
Juan Linietsky dc33d25fec Make sure inbetween lines in inspector can't be clicked, fixes #19014 2018-11-18 21:52:01 -03:00
Juan Linietsky c12de11c44 Ensure multinode undo redo merges ends for operation, fixes #19010 2018-11-18 21:43:22 -03:00
Juan Linietsky 079c2630e2 Make sure RMB also works for resource editor in inspector, fixes #18994 2018-11-18 21:30:08 -03:00
Michael Alexsander Silva Dias 6ba94d5ca0 Add argument to UndoRedo's "clear_history()" to not increase the version 2018-11-18 19:46:35 -02:00
JFonS e5a4fa5281 Change default gizmo visibility and icons 2018-11-18 22:01:09 +01:00
Juan Linietsky 455f297671 Properly reset canvas state after drawing, fixes #18860 2018-11-18 16:34:20 -03:00
JFonS dbca3b81ba Add Save option to resource property menu 2018-11-18 15:17:04 +01:00
Wilson E. Alvarez f8e0051420 Removed unnecessary assignments 2018-11-17 20:40:55 -05:00
Rémi Verschelde 9eb4b6d91a
Merge pull request #23748 from groud/fix_drag_and_drop_canvas_items
Fixes drag and drog of image files on scaled nodes
2018-11-17 17:20:50 +01:00
Rémi Verschelde 563356109b Fixup to previous commit, missed one occurrence 2018-11-17 16:24:34 +01:00
Rémi Verschelde efd4228892 EditorSettings: Rename invert_y-axis to invert_y_axis for consistency
No other option uses a dash in its identifier.
2018-11-17 16:19:02 +01:00
groud 60f2e94c08 Fixes drag and drog of image files on scaled nodes 2018-11-16 16:55:28 +01:00
DrNochi 911d3a4586 Check if setting exists to prevent warning
Fixes #23332
2018-11-16 15:26:55 +01:00
Juan Linietsky 7c00f0599e Add proper warnings when attempting to create a ViewporTexture in a resource that is not fit for it. Closes #16006. 2018-11-14 11:33:39 -03:00
Juan Linietsky 7f347cc31a It is now possible to cancel on 2D polygon editor. RMB (previously close) and ESC will cancel polygon. Closes #15474 2018-11-13 18:50:54 -03:00
Marcelo Fernandez e49a090919 Export Path now has a folder icon to select the path 2018-11-12 16:04:58 -03:00
Marcelo Fernandez aaa650e14a Fix missing bind for _export_path_changed 2018-11-12 11:38:26 -03:00
Rémi Verschelde d1858cd729
Merge pull request #23655 from ibrahn/uninit-cleanup-plugins
Fixed various uninitialised member variables in editor plugins.
2018-11-12 08:56:07 +01:00
Rémi Verschelde a05f136fb0
Merge pull request #23654 from YeldhamDev/remove_unused_debug_var
Remove unused variable in ScriptEditorDebugger
2018-11-12 08:53:28 +01:00
Rémi Verschelde 8dfe786406
Merge pull request #23649 from willnationsdev/fix-scene-icons
Fix scene dock not showing custom icons
2018-11-12 08:19:40 +01:00
Michael Alexsander Silva Dias 8a08a9fb6a Remove unused variable in ScriptEditorDebugger 2018-11-11 15:35:09 -02:00
Ibrahn Sahir ed337085cf Fixed various uninitialised member variables in editor plugins. 2018-11-11 17:32:47 +00:00
Juan Linietsky d16ce4a8ed Many fixes to script editor remote debugger, closes #13346 2018-11-11 09:16:27 -03:00
Will Nations 33e18ab2b5 Fix scene dock not showing custom icons 2018-11-10 22:46:20 -06:00
Hugo Locurcio fd89464d45
Add a property to control DynamicFont anti-aliasing
- Editor font anti-aliasing can now be disabled in the Editor Settings.
- DynamicFonts used in projects can now have their anti-aliasing
  disabled in their DynamicFontData child. Changes will be visible
  upon reloading the scene in the editor.
2018-11-10 22:07:32 +01:00
Rémi Verschelde 35e533f34f
Merge pull request #23597 from vnen/network-fs-fix
Fix deploy with network filesystem
2018-11-10 21:54:14 +01:00
Rémi Verschelde f2873e5d06
Merge pull request #23638 from DualMatrix/tileset_spam
Fixed error spam when deleting cell in tileset
2018-11-10 21:53:11 +01:00
DualMatrix b6c386a3b0 Fixed error spam when deleting cell in tileset
Fixes #23556 and should fix #21549
2018-11-10 18:52:52 +01:00
George Marques 9fac01e410 Fix deploy with network filesystem
Also make some prints only happen in verbose mode.
2018-11-10 10:51:31 -02:00
Juan Linietsky eb2d7228cd Make TextureRegion grid settings occupy less space, closes #12679 2018-11-10 08:08:27 -03:00
Rémi Verschelde a16d9c6ab6
Merge pull request #23476 from marcelofg55/export_all
Add an Export All button to the Export dialog
2018-11-09 16:55:04 +01:00
Rémi Verschelde d4c62e714c
Merge pull request #23578 from Liangdi/master
fix tile set editor crash when drawing polygon shapes
2018-11-09 15:57:31 +01:00
Rémi Verschelde ffe5723fde
Merge pull request #23614 from DualMatrix/snappy
AnimationPlayer, snap absolute position instead of motion.
2018-11-09 15:56:32 +01:00
DualMatrix e4e8fc6314 AnimationPlayer, snap absolute position instead of motion.
Fixes #22663
2018-11-09 12:35:49 +01:00
Rémi Verschelde 4e1995c29b Remove junk SCons file 2018-11-09 11:51:38 +01:00
Rémi Verschelde eef2625ae5
Merge pull request #23059 from groud/change_ci_selection
Allow the Container children selection but don't allow them to move
2018-11-09 10:04:34 +01:00
Ryan Schmitt e890a7d627 Improve dragging behavior of editor_spin_slider
Fixes issues with changing the size or position of a Rect. Fixes #23011
2018-11-08 19:48:44 -08:00
DualMatrix 8286975d16 Made AnimationPlayer timeline only advance when keyframing frame variables
Fixes #23330
2018-11-08 21:46:34 +01:00
Juan Linietsky 531dc2f435 Proper time tracking in AnimationNodeAnimation, closes #22887 2018-11-08 16:51:45 -03:00
Juan Linietsky f2e54057ae -Moved EditorDefaultValue to ClassDB, made it core
-Removed one and zero hints for properties, replaced by default value
2018-11-08 11:30:59 -03:00
Liangdi 5116c009c9 fix tile set editor crash when drawing polygon shapes 2018-11-08 02:10:13 +08:00
groud 0ec448d21d Fixes icons in itemlist not working 2018-11-07 18:29:24 +01:00
Rémi Verschelde de0d306558
Merge pull request #23383 from groud/better_tilemap_transform
Enhance the tilemap transform buttons
2018-11-06 22:27:29 +01:00
Rémi Verschelde 90d43084c2
Merge pull request #23526 from Mintormo/fix-23480
(#23480) Fixed problem with wrong directory path
2018-11-06 22:14:14 +01:00
Rémi Verschelde 8739f4b6e2
Merge pull request #23543 from marcelofg55/export_path2
Preset saved export path is now shown on the Export window
2018-11-06 22:09:33 +01:00
groud 742a9d9023 Fixes uniform scaling issues (for real this time) 2018-11-06 21:51:48 +01:00
Marcelo Fernandez 4755a3beed Preset saved export path is now shown on the Export window 2018-11-05 22:01:34 -03:00
groud c2b6a900fc Fixes uniform scaling weird behavior 2018-11-05 23:31:57 +01:00
Mintormo 69bca28271 (#23480) Wrong directory path in filesystem dock when creating script.
When creating script and file selected in filesystem dock,
between file name and directory path there is no "/" symbol.
This commit fix that bug.
2018-11-05 17:27:48 +03:00
Michael Alexsander Silva Dias f6d137d3d0 Added "shader" filter to "Find in Files" 2018-11-05 12:13:08 -02:00
Rémi Verschelde d4028a3f50
Merge pull request #23522 from YeldhamDev/find_files_dialog_fixup
General fixup of the "Find in Files" dialog
2018-11-05 14:52:45 +01:00
Rémi Verschelde 06a133bdd1
Merge pull request #23518 from volzhs/confirmed_already_connected
Fix error with a specific dock layout
2018-11-05 13:06:27 +01:00
Rémi Verschelde 118c78372e
Merge pull request #23523 from akien-mga/docs-https-latest
doc: Use HTTPS for docs.godotengine.org and point to latest branch
2018-11-05 09:39:20 +01:00
Rémi Verschelde fcd761e889
Merge pull request #23519 from Rubonnek/remove-unnecessary-assignments
Removed unnecessary assignments
2018-11-05 09:05:03 +01:00
Rémi Verschelde 5f8af252e8 doc: Use HTTPS for docs.godotengine.org and point to latest branch
Fixes #23509.
2018-11-05 08:46:27 +01:00
Rémi Verschelde 935537c531
Merge pull request #23508 from Paulb23/clone_last_line_issue_21811
Fix clone line undo history and extra new line, issue 21811
2018-11-05 08:38:42 +01:00
Rémi Verschelde 4c63772f54
Merge pull request #22622 from JFonS/fix_particle_animation
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
2018-11-05 07:59:30 +01:00
Michael Alexsander Silva Dias e030317b6c General fixup of the "Find in Files" dialog 2018-11-05 04:51:34 -02:00
Wilson E. Alvarez 71df4caf8f
Removed unnecessary assignments 2018-11-04 22:19:30 -05:00
volzhs 9f62f79dbb Fix error with a specific dock layout 2018-11-05 11:45:25 +09:00
Rémi Verschelde 19f1ddb708
Merge pull request #23481 from groud/fix_extends_not_updating
Fixes CollisionShape extends not updating when draggind handles
2018-11-04 22:04:52 +01:00
Rémi Verschelde 2cf33bc5f1
Merge pull request #23479 from groud/fix_search_rmb_options
Hide some RMB options in the filesystem dock when files are searched
2018-11-04 22:03:48 +01:00
Paulb23 6c54cb8bff Fix clone line undo history and extra new line, issue 21811 2018-11-04 18:33:16 +00:00
JFonS 85ce4a67ed Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
Remove animation loop from ParticlesMaterial and move it to
SpatialMaterial for 3D particles and Particles2D for the 2D case.

Added animation to CPUParticles2D as well as the "Convert to
CPUParticles2D" to the PAarticles2D menu.
2018-11-04 15:58:12 +01:00
Marcelo Fernandez c0766e9503 Add an Export All button to the Export dialog 2018-11-03 21:19:12 -03:00
groud 952f3004f1 Fixes CollisionShape extends not updating when draggind handles 2018-11-03 19:15:10 +01:00
groud a821de2275 Hide some RMB options in the filesystem dock when files are searched 2018-11-03 18:37:57 +01:00
Angeloss c15919fd6b Ability to pick child nodes of scenes instances marked with "Editable children" to the "Add animation track/Pick node to be animated" dialog. 2018-11-02 17:29:03 -06:00
Jared f115f00ec6 Allow plugin scene change signal to report null for empty scenes. 2018-11-03 00:11:02 +02:00
Juan Linietsky 03563c8ddf
Merge pull request #23061 from groud/remove_thumbnail_view
Remove the thumnail-only view from the filesystem dock
2018-11-02 13:09:09 -03:00
Juan Linietsky 08612e1cfd No longer force mipmaps on import of VRAM textures, closes #10221 2018-11-02 12:26:11 -03:00
Juan Linietsky 9b2c441ae3
Merge pull request #22625 from allkhor/cleanup_history_from_remote_nodes
Cleanup the editor history from remote nodes after the scene stopped.
2018-11-02 11:32:36 -03:00
Rémi Verschelde a3501c096f
Merge pull request #21897 from Calinou/3d-display-camera-coordinates
Display camera coordinates in the 3D viewport's information pane
2018-11-02 11:33:22 +01:00
Rémi Verschelde 5beaea9891
Merge pull request #23389 from marcelofg55/multiple_ext
Export for OS X on OS X now lets you select .dmg or .zip
2018-11-02 11:07:18 +01:00
Pedro J. Estébanez d856ec611a Let TileSet editor sanitize out tiles with wrong textures 2018-11-02 04:54:28 +01:00
Pedro J. Estébanez d2b0f69a64 Let user fix dependencies in resources 2018-11-02 04:44:40 +01:00
Juan Linietsky 0e27af280c
Merge pull request #22817 from DualMatrix/animation_group
Made AnimationPlayer track groups update after changing path
2018-11-01 20:05:49 -03:00
Rémi Verschelde 91e5782795
Merge pull request #23311 from YeldhamDev/editor_capitalization_fix
Small capitalization fixes across the editor
2018-11-01 21:37:33 +01:00
Juan Linietsky 755249f7d9
Merge pull request #22311 from Xrayez/fix-22037
Fix blend tree editor updating invalid blend tree node graph
2018-11-01 16:59:48 -03:00
Juan Linietsky 74d895425d
Merge pull request #23313 from DavidSichma/viewport-reassign
Handling NodePaths in in-place Editor for Resources
2018-11-01 13:59:59 -03:00
Marcelo Fernandez d51999f11d Export for OS X on OS X now lets you select .dmg or .zip 2018-11-01 10:08:26 -03:00
Rémi Verschelde 9000b1a75d
Merge pull request #22938 from groud/open_spriteframes_on_animatedsprites_edit
Opens the SpriteFrames editor when editing an AnimatedSprite
2018-11-01 10:49:38 +01:00
Rémi Verschelde 3282539e81
Merge pull request #22977 from CakHuri/draw_relationship_lines-ON
Made 'draw relationship lines' (at Editor Settings) enabled by default.
2018-11-01 10:46:15 +01:00
Rémi Verschelde c7928bc27f
Merge pull request #23195 from Liangdi/master
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
2018-11-01 10:37:27 +01:00
Rémi Verschelde 21dc20cd07
Merge pull request #23380 from volzhs/hide_attach_script
Hide "Attach Script" if node has one
2018-11-01 10:13:44 +01:00
Rémi Verschelde 8a4045358e
Merge pull request #23405 from YeldhamDev/remove_folding_print
Remove "save folding for:" message when saving
2018-10-31 10:06:05 +01:00
Rémi Verschelde 3439196eed
Merge pull request #23381 from Alien1993/renaming_tree_nodes
Warning dialog is now shown if trying to set Node name to empty string
2018-10-31 09:57:45 +01:00
groud 0c2ebbe626 Add an overlay on editor to display error messages 2018-10-30 18:53:58 +01:00
Juan Linietsky ad22ef28a9 Improve import dock usability when selecting multiple files, only change what was modified on re-import. 2018-10-30 13:12:21 -03:00
Michael Alexsander Silva Dias df72ac5965 Remove "save folding for:" message when saving 2018-10-30 11:55:36 -03:00
groud a05ef683a5 Allow the Container children selection but don't allow them to move 2018-10-30 14:56:55 +01:00
groud bdb5282ea0 Enhance the tilemap transform buttons 2018-10-30 14:43:52 +01:00
Silvano Cerza 839f3d5eeb Warning dialog is now shown if trying to set Node name to empty string
If the user tried to change a Node name to an empty string in the Scene
Tree Editor an error would be returned to console, now a warning dialog
is shown with a clear message
2018-10-30 12:44:54 +01:00
Juan Linietsky 4761c6bb7b Automatically unfold sections of properties that someone else edited (no local info exists). 2018-10-29 17:39:17 -03:00
Juan Linietsky e647342140 Moved folding outside the resource files, now saved outside the project. 2018-10-29 16:37:09 -03:00
Rémi Verschelde 786ece2375
Merge pull request #23326 from YeldhamDev/search_results_fix
Fix issues with the "Search Results" panel
2018-10-29 17:18:53 +01:00
Juan Linietsky 6cc116d415 Ability to revert any property, not just from inherited scenes or scripts. 2018-10-29 12:25:56 -03:00
volzhs 8f4e842b47 Hide "Attach Script" if node has one 2018-10-29 22:25:52 +09:00
Chaosus 4f4bbfbb85 Fix small visual bug in filesystem dock 2018-10-29 16:21:55 +03:00
Rémi Verschelde 0a80ceaf02
Merge pull request #23288 from willnationsdev/restore-clear-script
Restore ClearScript btn w/ ExtendScript RMB link
2018-10-29 12:16:55 +01:00
Rémi Verschelde 69ccccaf71
Merge pull request #23322 from marcelofg55/export_path
Save last export path when exporting
2018-10-29 12:08:50 +01:00
MrCdK b2bfcb53d6 Add backward looping support to AudioStreamSample (wav files) 2018-10-28 19:37:14 +01:00
Marcelo Fernandez 5bdb9cf208 Add a duplicate button to duplicate presets 2018-10-28 15:13:38 -03:00
Michael Alexsander Silva Dias ec00ec08aa Fix issues with the "Search Results" panel 2018-10-27 22:48:09 -03:00
Marcelo Fernandez 9814446ea0 Save last export path when exporting 2018-10-27 10:53:05 -03:00
David Sichma 4e9c411229 Handling NodePaths in in-place Editor for Resources 2018-10-26 22:16:38 +02:00
Michael Alexsander Silva Dias f3835282c4 Small capitalization fixes across the editor 2018-10-26 16:11:36 -03:00
Liangdi aaa7f625df support New TileSet Editor zooming use CTRL/CMD + MouseWheel
fixed code style for clang-format

apply clang-format
2018-10-26 23:58:58 +08:00
groud 5536e7a8d4 Fixes the editor layout 2018-10-26 12:44:49 +02:00
Rémi Verschelde 13582354fd
Merge pull request #23290 from YeldhamDev/fix_default_layout
Fix default layout dock sizes
2018-10-25 23:19:10 +02:00
Ashafix 9e36f5f6f8 Better error message for malformed plugins 2018-10-25 22:46:01 +02:00
Michael Alexsander Silva Dias 9765a8dc21 Fix default layout dock sizes 2018-10-25 17:21:23 -03:00
Rémi Verschelde eeee47196c
Merge pull request #23262 from swenner/more-cppcheck-fixes
More cppcheck fixes, fixes #22702
2018-10-25 21:12:14 +02:00
Simon Wenner 9fcf9ee813 fixed uninitialized variables and false positives found by CppCheck 2018-10-25 20:38:17 +02:00
Will Nations b4e7299b72 Restore ClearScript btn w/ ExtendScript RMB link 2018-10-25 13:33:16 -05:00
Rémi Verschelde 3f23b2ecf4
Merge pull request #23017 from Calinou/increase-source-font-line-spacing
Increase the source font's line spacing
2018-10-25 17:31:24 +02:00