Commit Graph

560 Commits

Author SHA1 Message Date
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
Geequlim 5894060abb Enhanced StyleBoxTexture:
Add texture region support for StyleBoxTexture.
  Quick region(texture region and scale region) selection for StyleBoxTexture with TextureRegionEditorPlugin.
2016-06-05 00:45:53 +08:00
Geequlim 9546b2ffd4 Add plugin to pick texture region and patch margins for Patch9Frame 2016-06-05 00:45:53 +08:00
Błażej Szczygieł bff77d731f SampleLibraryEditor: Initialize "is_playing" variable
Fixes crash caused by jumping to wrong place due to uninitialized
variable.

Closes #4703

(cherry picked from commit 9acb666320)
2016-06-03 20:07:46 +02:00
Juan Linietsky 2ca4995a6f Cleaned up remote menu
-Merged fileserver & deploy dumb clients option
-Live Script Reloading can now happen automatically on script save
-Changed Live to Mirror term to differentiate from Unity and Unreal, as
what Godot does is not the same thing.
2016-06-03 12:34:25 -03:00
DimOkGamer f7d0110cdf Added 3 more translatable strings
and fixed russian localization based on user feedback.

Added strings already contained in the current version of the
localization.
2016-06-01 14:32:20 +03:00
DimOkGamer 0fc4f1bcf4 Added more translatable strings in code. Updated template tools.pot.
also improved Russian localization.
2016-05-30 21:47:53 +03:00
Juan Linietsky 9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
Rémi Verschelde c2b1315689 Merge pull request #4847 from Hinsbart/fix_icon_scale_new
Proper alignment and fixed scaling for TileMapEditor tile icons.
2016-05-29 18:39:05 +02:00
Rémi Verschelde a2fee79459 Merge pull request #4843 from Paulb23/breakpoints_next_prev_and_remove_issue_1690
Added, goto next and previous breakpoint and remove all, issue 1690
2016-05-29 18:35:07 +02:00
Rémi Verschelde d3b46b6bf2 Merge pull request #4822 from Paulb23/breakpoint_marker_issue_4750
Added breakpoint markers, issue 4750
2016-05-29 18:34:13 +02:00
Rémi Verschelde 6a7530c718 Merge pull request #4812 from neikeq/pr-search-bar
ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar
2016-05-29 18:32:06 +02:00
Ignacio Etcheverry 51be9beec9 ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar 2016-05-29 14:26:19 +02:00
Geequlim cb05e8450d Set more visible string to translatable 2016-05-29 16:10:23 +08:00
Andreas Haas 62de01ae3b Delete unused code in TileMapEditor 2016-05-28 21:50:22 +02:00
Mariano Javier Suligoy b6fdac80cb Merge pull request #4852 from MarianoGnu/master
Remove focus from Sprite Region Editor dialog. Fixes #4751
2016-05-28 04:40:27 +02:00
MarianoGNU e7b7dfefd3 Remove focus from Sprite Region Editor dialog. Fixes #4751 2016-05-27 22:53:26 -03:00
Bojidar Marinov ab97718d8a Reorder tiles into nice columns 2016-05-27 22:42:51 +03:00
Juan Linietsky 8be2fabbe5 Changed import workflow
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Andreas Haas 7c1594ee5a Use scalar to scale TileMap icons 2016-05-27 18:54:46 +02:00
Paulb23 daf0ed646f Added, goto next and previous breakpoint and remove all, issue 1690 2016-05-27 15:29:04 +01:00
Paulb23 72fda444d1 Added breakpoint markers, issue 4750 2016-05-26 14:17:14 +01:00
Paulb23 27dbbd68d5 Added settings to change marked and breakpoint color 2016-05-25 16:57:33 +01:00
Andreas Haas abbdfb5739 Set tooltip for SpriteRegionEditor 2016-05-25 13:42:11 +02:00
Andreas Haas 11f728fc98 Add a slider for zooming TileMap preview icons.
Fixes #2413
2016-05-24 20:36:53 +02:00
Juan Linietsky d3495b128a -Improve resource previews
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Paulb23 d7073a77e1 Added color themes to the text editor 2016-05-23 15:15:55 +01:00
volzhs f3a3596295 fix error when open project and close editor
### when open project ###
```
ERROR: Attempt to connect nonexistent signal 'size_flags_changed' to method 'queue_sort'
   At: core\object.cpp:1400
ERROR: Attempt to connect nonexistent signal 'minimum_size_changed' to method '_child_minsize_changed'
   At: core\object.cpp:1400
ERROR: Attempt to connect nonexistent signal 'visibility_changed' to method '_child_minsize_changed'
   At: core\object.cpp:1400
```

### when close editor ###
```
ERROR: Nonexistent signal: size_flags_changed
   At: core\object.cpp:1458
ERROR: Nonexistent signal: minimum_size_changed
   At: core\object.cpp:1458
ERROR: Nonexistent signal: visibility_changed
   At: core\object.cpp:1458
```
2016-05-22 20:07:31 +09:00
Rémi Verschelde be053e6286 i18n: Use %d instead of %i in vformat
Fixes #4742.
2016-05-21 16:34:56 +02:00
Hubert Jarosz 33403d91f7
remove trailing whitespace 2016-05-21 15:29:25 +02:00
Rémi Verschelde 436debb045 Merge pull request #4733 from akien-mga/pr-i18n-proofreading
i18n: Proofreading of all strings
2016-05-21 11:34:19 +02:00
Rémi Verschelde 2a6bd0c357 Merge pull request #4722 from MarianoGnu/master
Add Drag&Drop to ShaderGraphEditor's texture uniform graph node.
2016-05-21 11:33:16 +02:00