Commit Graph

591 Commits

Author SHA1 Message Date
Johan Manuel cec1c48a7e Fix various warnings
The warnings fixed were about things like unused variables, misleading
indentation, missing default cases in switches and better grouping of
conditions in if statements.
2016-08-13 13:21:35 +02:00
supaiku 3d84849e03 Added CLOSE_ALL files option to script editor 2016-08-13 02:56:38 +02:00
Daniel J. Ramirez 1e7d0c6ac1 Zoom texture region via mouse wheel 2016-08-09 17:28:40 -05:00
Juan Linietsky 9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Saracen b578cf4da8 TextureRegionEditor snap_mode fix. 2016-08-04 19:49:11 +01:00
Paulb23 e8780d9d32 Added missing license and quotation typo 2016-08-03 16:16:20 +01:00
Juan Linietsky 3d1d190dcd Merge branch 'master' of https://github.com/godotengine/godot 2016-08-02 19:11:47 -03:00
Juan Linietsky ad313097eb WIP visual scripting, not working yet but you can check out stuff 2016-08-02 19:11:05 -03:00
Saracen 5035edb7fd Explicitly initialize 'pending_auto_reload' to false. 2016-07-29 13:51:26 +01:00
Daniel J. Ramirez 213a57ccaf Stop baking process if there is no geometry in the BakedLightInstance.
moved missing baked light warning to BakedLightInstance configuration warning
2016-07-25 21:45:20 -05:00
MarianoGNU 6622a3d110 Prevent crash in TextureRegionEditor. Fixes #5862 2016-07-22 21:11:12 -03:00
Juan Linietsky 3aeafcae04 Removed support for saving paths as relative, closes #5728
Editor now has good refactoring tools, so this function is mostly obsolete
2016-07-22 10:39:46 -03:00
Juan Linietsky 12472534ec Show a warning that an animation must be selected in order to edit it. Avoid copying/pasting if no anim selected. Closes #5799 2016-07-22 09:42:12 -03:00
Juan Linietsky 124e3591a5 Some optimizations and limits for extreme zoom in and out in editor, fixes #5820 2016-07-21 10:11:53 -03:00
Rémi Verschelde 750b973ee4 Merge pull request #5200 from neikeq/sc-CanvasItemEditor
Implement ShortCuts in CanvasItemEditor
2016-07-21 09:02:01 +02:00
Ignacio Etcheverry 4e82f9ffcf Implement missing ShortCuts in CanvasItemEditor 2016-07-21 03:28:41 +02:00
Rémi Verschelde 13fe615ea3 Merge pull request #5760 from r1cebank/issue-5636__add-close-docs-option
Script Editor: adding close all docs menu option
2016-07-19 07:35:20 +02:00
Juan Linietsky 3e3108abe2 Always soft reload editor plugins. Closes #5273 2016-07-18 19:24:38 -03:00
Siyuan Gao 0c3b1b51b8 Script Editor: adding close all docs menu option 2016-07-18 10:09:42 -07:00
Franklin Sobrinho 3ca6e584e5 Fix ScriptEditor don't saving the layout when opening a help page
- Use ScriptEditor::_update_script_names just once when re-creating the layout
2016-07-18 12:30:43 -03:00
Rémi Verschelde 62eae7cbe2 Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-18 00:52:36 +02:00
Rémi Verschelde 3183834c5d Merge pull request #5657 from Paulb23/block_caret
Added block caret to TextEdit
2016-07-18 00:44:45 +02:00
Ignacio Etcheverry 2bba1bf770 CanvasItemEditor: Changed Frame Selection shortcut 2016-07-15 21:38:43 +02:00
Paulb23 b550471a14 Fixed breakpoint gutter toggle not updating when game is running, issue 5712 2016-07-15 15:02:55 +01:00
Paulb23 54f720ac06 Added block caret to TextEdit 2016-07-12 16:07:17 +01:00
Paulb23 a9956be63d Added completion font colors 2016-07-11 14:25:56 +01:00
Paulb23 8e5c40b364 Added completion scroll color 2016-07-11 14:11:34 +01:00
Juan Linietsky 46bb02991f Merge pull request #5270 from lonesurvivor/master
Added Tile Origin = Bottom Left option to the TileMap
2016-07-10 13:41:33 -03:00
Juan Linietsky 7bfb84af08 Merge pull request #5611 from TheHX/spatial-gizmo
Fix EditorSpatialGizmo virtual functions not being called
2016-07-10 13:08:13 -03:00
Juan Linietsky 5dd6530acf Merge pull request #5563 from opmana/fix-convert-tileset
Respect frame property when converting to TileSet.
2016-07-10 13:02:55 -03:00
Rémi Verschelde d23d40cfbd Merge pull request #5612 from TheHX/collision-polygon-plugin
Fix CollisionPolygon gizmo showing error icons instead of the 3d handles
2016-07-09 18:27:29 +02:00
Franklin Sobrinho 7cad11e108 Fix CollisionPolygon gizmo showing error icons instead of the 3d handles 2016-07-09 13:18:16 -03:00
Franklin Sobrinho 914d670a71 Fix EditorSpatialGizmo virtual functions not being called
* Bind EditorSpatialGizmo::clear method
2016-07-09 13:10:13 -03:00
Juan Linietsky b0f0ae0723 Finally fixes the infamous bug #4444, hoping to never see you again.
Closes #4444.
2016-07-09 12:12:03 -03:00
Juan Linietsky d8c31e0e74 remove warnings if a script is missing and can't be opened 2016-07-07 21:27:20 -03: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
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
Andrii Skrynnyk 0a8d6de0c3
Respect frame property when converting to TileSet. 2016-07-05 11:40:22 -07:00
Juan Linietsky 1e095cf397 fix to the fix, and removed some conflicting shorcuts 2016-07-03 19:50:52 -03: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 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 b9326e3f2b Properly show the sample and play it back, also closes #5288 2016-06-30 18:29:47 -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
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 da2f7e3c38 Merge pull request #5419 from djrm/shortcuts
Shortcuts for script switching in script Mode
2016-06-30 08:04:26 +02:00
Juan Linietsky ff11401441 Allow animation name to be clipped, closes #5246 2016-06-29 20:11:14 -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
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 e2d208f122 Ability to rotate controls using tool, closes #3800 2016-06-27 10:47:51 -03:00
Daniel J. Ramirez 8f259ff5ca Shortcuts for script switching in script Mode 2016-06-26 10:21:02 -05:00
Rémi Verschelde b02d67be30 Merge pull request #5307 from MarianoGnu/master
TextureRegion improvements
2016-06-26 09:43:45 +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
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
Paulb23 a40cb680ca Added code completion background color setting 2016-06-21 16:50:31 +01: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 9b8f2741ae do not crash when generating preview of very large sound files, fixes #4123 2016-06-20 22:38:31 -03: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
MarianoGNU 0f1a717c64 Remove unused connection. ShaderEditor should'nt handle ShaderGraphs.
Fixes #4678 && #4745
2016-06-20 00:50:33 -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
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 f70aa176e5 Merge pull request #5166 from djrm/shortcuts
Added customizable shortcuts for tile map editor
2016-06-19 12:50:35 +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
Daniel J. Ramirez 422fac5066 Removed lots of prints 2016-06-18 18:01:06 -05:00
Rémi Verschelde 2ca331d959 Merge pull request #5236 from djrm/fix_#5228
Visible path editor icons, fixes #5228
2016-06-19 00:17:31 +02:00
Rémi Verschelde c3bf11d4d4 Drop fully commented-out files
Part of #5272
2016-06-18 20:23:49 +02:00
Rémi Verschelde b7dbf9207a Drop empty files that are not used anywhere
Part of #5272
2016-06-18 19:46:30 +02:00
Rémi Verschelde a7fc04626a Add missing license headers in our source files (#5255)
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Juan Linietsky f0d9245ecf -added missing .inc files
-Made it possible to change the editor theme
-Added two options to theme editor plugin to create empty template themes and editor themes
-Make sure that saved themes to .tres keep the null theme fields, to make it easier to keep those when saving/loading the theme
2016-06-17 01:13:23 -03:00
Daniel J. Ramirez cb013e8703 Visible path editor icons, fixes #5228 2016-06-15 15:26:52 -05:00
Rémi Verschelde 2345f7fcae Merge pull request #5163 from Paulb23/script_editor_shortcuts 2016-06-15 08:34:39 +02:00
Juan Linietsky 99e5bb56d1 Merge pull request #5137 from nunodonato/fixaxismessages
show correct message when transforming with axis-constraint (fixes #4870)
2016-06-14 08:34:22 -03:00
Juan Linietsky b46bffd7ef Merge pull request #5138 from Geequlim/TextureRegionEditor
Edit the region of AtlasTexture by TextureRegionEditorPlugin
2016-06-13 15:48:54 -03:00
Juan Linietsky dca382647e Merge pull request #5165 from neikeq/pr-issue-5116
ConnectionsDock: Double click to create and go to signal connection
2016-06-13 15:46:41 -03:00
Paulb23 907100337e Added shader editor shortcuts 2016-06-13 15:14:55 +01:00
Paulb23 52d2d52c31 Added script editor shortcuts 2016-06-13 15:14:55 +01:00
Juan Linietsky 45443a1651 Changed reload logic to auto-hard-reload scripts on save. It's simpler to use and also fixes #4756 2016-06-13 10:58:32 -03:00
Daniel J. Ramirez 5524bcd2b5 Completed shortcuts for Tile Map Editor 2016-06-12 17:19:18 -05:00
Daniel J. Ramirez 7427cbee7b Added some shortcutable actions for animation player editor 2016-06-12 16:39:12 -05:00
Daniel J. Ramirez 7c9e68ed7e Added customizable shortcuts for tile map editor 2016-06-12 16:39:12 -05:00
Juan Linietsky be223c91f9 fixed tile map editor plugin, all previews are now the same size, closes #4983 2016-06-12 17:10:34 -03:00
Juan Linietsky 4667f9e61e Changed how min/max icon size in ItemList works and replaced it by a fixed size. Fixes many issues, closes #4907 2016-06-12 16:52:22 -03:00
Juan Linietsky 83bf8036de rewrote LineEdit window repositioning code so it does not eat the last character, closes #4992 2016-06-12 12:05:21 -03:00
Juan Linietsky 482b21a5a4 apply built-in scripts when running the game, closes #4987 2016-06-11 21:59:35 -03:00
Ignacio Etcheverry 10881802ba ConnectionsDock: Double click to create and go to signal connection 2016-06-12 01:05:54 +02:00
Geequlim 3f3798811d Add support for AtlasTexture resources
Add undo/redo support for texture region of stylebox and atlas texture resources.
2016-06-10 18:31:38 +08:00
Nuno Donato a713188388 * fix messages when modifying on switching the active axis 2016-06-10 10:42:13 +01:00
volzhs 990956c4e0 add line spacing option to script and shader editor (#5105) 2016-06-09 20:43:19 +02:00
Juan Linietsky f8f30662d9 -Ability to reload (and soft reload) tool scripts. Please test! 2016-06-08 20:00:52 -03:00
Paulb23 d66b034bd1 Improved breakpoint marker position, and scales with font size 2016-06-07 16:59:16 +01:00