Commit Graph

847 Commits

Author SHA1 Message Date
Marc Gilleron 6a4e89b6ec Fix crash when freelook shortcuts are undefined 2018-01-15 00:32:27 +01:00
Paulb23 896a0c5ef5 Fixed member keywords colour not updating on settings change 2018-01-14 16:31:46 +00: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
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
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
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
Bernhard Liebl 7e1b39245f Don't delete edit menu too early when closing script tabs 2018-01-08 19:47:47 +01: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
Bernhard Liebl 6c6a0fe840 Fix crash due to stale refs to node selection lists 2018-01-07 09:57:28 +01: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
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
Bernhard Liebl 66b879726e Rounded previews (and nicer script previews) 2018-01-05 07:51:38 +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
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
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
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
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
Jerome67000 42ae3525a3 #15078 renamed "z" -> "z_index" property in Node2D 2018-01-03 13:02:26 +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 459ee51338
Merge pull request #15093 from poke1024/canvas-editor-select
More exact picking for canvas editor
2018-01-03 11:15:28 +01:00
damarindra 9b04973568 Improve : ease of use TileSet Editor 2018-01-02 16:15:33 +07:00
sersoong 77c9698785 Add Show In File System to script editor tabs 2018-01-02 10:11:54 +08:00
Rémi Verschelde b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Noshyaar 9186047767
Merge pull request #15111 from poke1024/fix15097
Fixes various Line2D and Polygon2D editor bugs
2018-01-01 18:46:33 +07:00
Noshyaar 6aae9affec
Merge pull request #15080 from volzhs/text-color
Respect text editor highlighting color changes
2018-01-01 18:46:05 +07:00
volzhs 108b4a37b0 Fix lock or group with invisible node
Fix #15205
2018-01-01 02:18:39 +09:00
firefly2442 9ba9e37220 prevent strings from being evaluated to just "true" 2017-12-30 21:22:16 -07:00
Bernhard Liebl 86154c4c69 Various fixes for 2d polygon editor
Fixes issues 15096, 15097
Fixes various other Line2D edit issues
Fixes previous outline
Fixes retina support
2017-12-30 17:51:53 +01:00
damarindra e850360948 Autotile Enhancement 2017-12-28 23:57:23 +07:00
volzhs 4b0f075e95 Respect text editor highlighting color changes
Fix #14838
2017-12-28 23:49:15 +09:00
Bernhard Liebl 8505871a87 More exact picking for canvas editor 2017-12-27 20:24:58 +01:00
Gilles Roudiere b8c849205c Fix 2D editor checkboxes with a new project 2017-12-26 16:39:58 +01:00
Poommetee Ketson 6c897707ca Add missing parameter names 2017-12-25 21:19:56 +07:00
Noshyaar 256a60bc6e
Merge pull request #14826 from carlosfvieira/14371-F_key_Viewport_focus_problem
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys)
2017-12-25 08:42:31 +07:00
Noshyaar aecffd71d8
Merge pull request #14847 from YeldhamDev/3d_viewport_save
Fixes for the Spatial Editor's Perspective options and dead code cleaning
2017-12-25 08:40:43 +07:00
Noshyaar deda8974df
Merge pull request #14853 from MattUV/context-menu
Adds an option to move cursor with right click in TextEdit
2017-12-25 08:40:20 +07:00
Noshyaar 5859db00d8
Merge pull request #14846 from carlosfvieira/weird_gizmo_ortho
Fixes gizmo huge scale immediately after change to orthogonal view
2017-12-25 08:39:08 +07:00
Noshyaar b6c798a062
Merge pull request #14827 from RayKoopa/editor_patchwork
Some Editor UI patchwork
2017-12-25 08:28:53 +07:00
Noshyaar 3f193af893
Merge pull request #14808 from YeldhamDev/script_editor_fixes
Some fixes for the Script Editor and dead code cleaning.
2017-12-25 08:27:38 +07:00
geequlim 52ad2e5418 Add more translatable text for editor plugins. 2017-12-23 22:40:15 +08:00
Rémi Verschelde 3068ccc8e6
Merge pull request #14913 from poke1024/tooltip-shortcut-names
Consistent display of shortcut names in tooltips
2017-12-21 22:47:50 +01:00
poke1024 22d87f20fa Consistent display of shortcut names in tooltips 2017-12-21 20:17:30 +01:00
carlosfvieira 49859871d9 Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
Fix spatial editor plugin issues on multi viewport view menu shortcuts (only those that are bound to keys) - this closes #14371 and closes #12409
2017-12-21 11:29:17 +00:00
volzhs ec139d8522 Fix blurry after zooming 2017-12-21 00:39:02 +09:00
MattUV a55870cd81 Adds an option to move cursor with right click in TextEdit
Fixes #14832
- Added an option in the editor settings/cursor to make the cursor move with right click.
- If the option is activated (true by default), a right click will move the cursor before displaying context menu.
 - If there is a selection, a right click on it will keep it selected, a right click outside it will unselect it.
 - The option is available in textEdit via an inspector property (or via GDScript): caret_moving_by_right_click
 - The option is available in the script editor and the shader editor via the editor settings
 - The documentation has been updated with the new property, and a few other entries in TextEdit.xml.
2017-12-20 09:01:09 +01:00
Michael Alexsander Silva Dias 2490c4d882 Fixes for the Spatial Editor's Perspective options and dead code cleaning. 2017-12-20 01:05:21 -02:00
Carlos Vieira 2a3f6ee8b3 #14619 - fixes issue 1 (gizmo huge scale) - also referred in #14836 2017-12-19 23:45:10 +00:00
Ray Koopa 69ef89a8bd Limit code editor minimum width, clear Scene node subresource menu before refilling it 2017-12-19 18:29:01 +01:00
Michael Alexsander Silva Dias 36e835bbd4 Some fixes for the Script Editor and dead code cleaning. 2017-12-18 15:46:17 -02:00
Rémi Verschelde e83c502939
Merge pull request #14754 from willnationsdev/dictionary-copy
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17 23:58:59 +01:00
Will Nations f19fc83546 Dictionary::copy -> ::duplicate 2017-12-17 16:07:15 -06:00
George Marques c8d416d152
Fix method not returning value in all paths (autotile editor) 2017-12-17 16:03:46 -02:00
volzhs 4073de88cb Refactoring FPS & information on 3D viewport
- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
2017-12-17 21:49:44 +09:00
Przemysław Gołąb (n-pigeon) b3575b5164 Moved Local Space Mode and Transform Snap settings to Top Bar ...
...buttons for easier access.
2017-12-16 15:42:19 +01:00
Rémi Verschelde 03fb1fd7fa
Merge pull request #14613 from voithos/fold-jump-bugfix
Account for folded code blocks when navigating via members list
2017-12-16 01:16:25 +01:00
Rémi Verschelde 3caa18f02a
Merge pull request #14630 from willnationsdev/script-editor-create-api
Add API for ScriptEditor to open ScriptCreateDialog
2017-12-16 01:15:20 +01:00
Rémi Verschelde 1a065772d6
Merge pull request #14623 from volzhs/mesh-menu-theme
Fix theme for Mesh menu
2017-12-16 01:14:53 +01:00
Rémi Verschelde 76af59ee5e
Merge pull request #14649 from MattUV/fix-indentation
Modifies text indentation behaviour
2017-12-16 00:41:59 +01:00
Juan Linietsky e946fb8cb0 Made built-in identifiers properly constant in shaders. Fixes #14449, closes #14629 2017-12-15 18:24:30 -03:00
MattUV db020f3cea Modifies indentation behaviours
Partially fixes #14559 (see the issue for details);
Removes some code redondancy ;
Adds the possibility to indent left and right without selecting text ;
Adds the entries to the context menu when text is not selected ;
Renames indent_selection_left() and indent_selection_right() to indent_left() and indent_right() ;
Unifies context menus of shader text editor and script text editor.
2017-12-15 10:04:56 +01:00
Daniel J. Ramirez dcad7042dc Updated icons
[ciskip]
2017-12-14 15:49:27 -06:00
Juan Linietsky f3ad14224e -Add lightmapper
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Will Nations c38cd9b963 Added open_script_create_dialog func 2017-12-13 22:14:17 -06:00
Andreas Haas 34e489f060
TileMapEditor: Fix tile placement.
Fixes #14625
2017-12-13 16:46:22 +01:00
volzhs e8cc25a855 Fix theme for Mesh menu 2017-12-13 21:26:55 +09:00
Rémi Verschelde b0aeecc02b
Merge pull request #14596 from Noshyaar/pr
Enhance undoredo action name, TTR, cleanup
2017-12-13 08:36:47 +01:00
Zaven Muradyan f139d0e4e6 Account for folded code blocks when navigating via members list
Previously, the editor would attempt to set the scroll position to the
function's line number, but this would result in an invalid scroll
whenever functions above the target were folded.

This changes callback to use a combination of `goto_line` and
`set_edit_state` to navigate to the target line and reset the cursor to
column 0.

Using `goto_line` also has the side effect of automatically unfolding
the target function, which seems like useful behavior.

Fixes #14572.
2017-12-12 21:40:12 -08:00
Michael Alexsander Silva Dias a933b927ca Fixed Tileset editor button having the wrong text and not being translatable. 2017-12-12 17:06:44 -02:00
Poommetee Ketson 24df9f3707 Enhance undoredo action name, TTR, cleanup 2017-12-12 23:04:37 +07:00
Poommetee Ketson 9888a56639 Change statable to multistate, remove extra separator 2017-12-12 09:41:17 +07:00
Dmitry Koteroff cd43188734 Fixed #14503 2017-12-11 02:43:27 +03:00
Rémi Verschelde bf45e569c9
Merge pull request #11510 from AndreaCatania/skel
Added skeleton x-ray
2017-12-10 13:03:53 +01:00
AndreaCatania 63ec5823d1 Implemented skeleton visibility
Removed code visibility code from popup menu
2017-12-10 03:15:52 +01:00
Rémi Verschelde 4fd26d89c1
Merge pull request #14480 from volzhs/startup-error
Fix get_edited_scene_root error at starting editor
2017-12-10 00:12:42 +01:00
volzhs 81a79e0c0e Fix get_edited_scene_root error at starting editor 2017-12-10 08:01:00 +09:00
Andreas Haas 788ed93806
Project Manager: Fix Templates search signal connection.
Fixes #13921
2017-12-09 22:57:34 +01:00
PJB3005 04d0a0b96d Makes 3D editor grid color update without restart.
Fixes #14415
2017-12-09 21:16:26 +01:00
Rémi Verschelde 59657d6823
Merge pull request #14448 from groud/fix_checkboxes_update
Fixes the checkboxes update in canvas item editor
2017-12-09 19:04:27 +01:00
Juan Linietsky 65fb961b8b -Ability to and unwrap lightmap coordinates on import
-Added unwrap functionality to Mesh
-Ability to display and debug mesh UVs
-Added multiline draw, so it's easier and faster to draw UVs
-Many fixes to SurfaceTool
-Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09 14:18:14 -03:00
Rémi Verschelde 20a566d63a
Merge pull request #13166 from Krakean/change_addrootifnone_v2
When drag'n'drop, automatically create dragged resource as a root node if you haven't any yet (v2)
2017-12-09 16:42:25 +01:00
Gilles Roudiere e1de1b62ee Fixes the checkboxes update 2017-12-09 15:25:20 +01:00
MattUV e669ca2576 Modify shortcuts and menus to fold/unfold code
Fix #13180
As the same shortcut cannot be assigned to two actions, I removed the ability to fold (fold_line()) or unfold (unfold_line()) via menu (still possible by code), and there is a single fold/unfold action (toggle_fold_line()).

The new default shortcut is now Alt+F
2017-12-08 19:21:48 +01:00
Paulb23 48ad133cf9 Changed current line draw order and added code folding color 2017-12-07 19:17:43 +00:00
Rémi Verschelde 96dbf19093
Merge pull request #14332 from akien-mga/clang-format
Update style for clang-format 5.0.0, new min required version
2017-12-07 09:18:11 +01:00
sersoong 94adf24798 Add uppercase and lowercase to rightclickmenu in scripteditor 2017-12-07 16:09:02 +08:00
Rémi Verschelde 13c2ff9320 Style: Apply new clang-format 5.0 style to all files 2017-12-07 08:02:00 +01:00
sersoong f0fda9fd87 Add 'copy script path' to script editor plugin 2017-12-07 11:57:41 +08:00
Rémi Verschelde 7885360f3f
Merge pull request #13956 from poke1024/fix-poly2d-mode-change
Fixes Polygon2D wip mode closing when editing mode is changed
2017-12-07 00:29:12 +01:00
Juan Linietsky 7b7ba58493 -Fix particles with size==0, closes #13931
-Fixed material previews (dont show sphere unless for spatial)
2017-12-06 19:51:13 -03:00
Gilles Roudiere 7b02f5591d Moves the guides colors to editor settings 2017-12-05 21:44:52 +01:00
Gilles Roudiere 03c1b6be23 Fix a little mistake in a setting name (rulers->guides) 2017-12-05 10:45:27 +01:00
Rémi Verschelde 1702a19bf0
Merge pull request #13959 from groud/editable_rulers_colors
Makes editable the guides color
2017-12-05 09:23:52 +01:00
Andreas Haas faaa012b84
Script Editor: Use first non-whitespace comment delimiter.
As suggested by @neikeq in https://github.com/godotengine/godot/pull/13489#issuecomment-348690816
2017-12-04 18:33:43 +01:00
Juan Linietsky 1a317a39ed
Merge pull request #13961 from groud/rulers_by_default
Make rulers on by default
2017-12-04 11:45:04 -03:00
Gilles Roudiere c2a7d186bd Make rulers on by default 2017-12-04 15:39:12 +01:00
Bernhard Liebl ca7e9c0348 Fixes Polygon2D wip mode closing when editing mode is changed 2017-12-04 13:44:30 +01:00
Gilles Roudiere 6c32629758 Makes editable the rulers color 2017-12-03 18:57:49 +09:00
Mariano Suligoy af719a90a7 TileMap Fixes 2017-12-02 20:49:01 -03:00
Guilherme Felipe 893a71b7dd Fix alignment for button preview_camera 2017-12-02 09:45:25 -02:00
Andreas Haas 07aa9d0506
Script Editor: Make comment delimiter language dependent. 2017-12-01 20:54:36 +01:00
Matthias Hoelzl 2beadf7ac0 Fix displacement for centered tilemaps
- Fixes tile and collision placement for tilemaps with
  `tile_origin` set to `TILE_ORIGIN_CENTER`.
- Also fixes a bug in the offset computation for collision shapes
  with `flip_v` flag set to true if `tile_origin` is
  `TILE_ORIGIN_BOTTOM_LEFT`.
2017-11-27 15:12:30 +01:00
Bernhard Liebl 91b8b94635 add "add point" and "select point" handles to polygon 2d editor 2017-11-27 14:01:34 +01:00
bncastle 30d409edc1 Focus on sprite animation list after adding a new one to allow renaming with f2
After adding a new sprite animation, focus on the sprite animation list
to allow renaming the animation with f2 instead of having to click on
the sprite name again.
2017-11-26 20:54:26 -05:00
Juan Linietsky c6f2db393e Ask users to explore official projects when none is loaded. 2017-11-26 15:31:48 -03:00
Juan Linietsky 22415e5a31
Merge pull request #12572 from RandomShaper/onion-skinning
Onion skinning
2017-11-26 15:13:35 -03:00
Hugo Locurcio e3fc6fcaa6
Tweak the default editor camera settings
- The default FOV is now 70
- The default Z-near plane is now at 0.05 meters
2017-11-25 23:03:26 +01:00
Pedro J. Estébanez d0e09d84f0 Implement onion skinning for the animation editor 2017-11-25 13:25:14 +01:00
Juan Linietsky bc2e8d99e5 Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Pedro J. Estébanez 1964d5fddd Improve/fix SpatialEditor state saving/restoring 2017-11-25 02:18:28 +01:00
Pedro J. Estébanez 3f31925b18 Universalize draw-over API for EditorPlugins
- Now it is usable from both `CanvasItem` and `Spatial` editors.
- `EditorPlugin` API changes:
 - `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`.
 - `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get.
 - New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types.
 - New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
2017-11-24 21:24:15 +01:00
Rémi Verschelde e38efe22c7
Merge pull request #12301 from MarianoGnu/master
Implement auto-tiling
2017-11-22 15:31:46 +01:00
Dmitry Koteroff 3cca09d96a When drag'n'drop (lets say, picture in 2D mode), automatically create dragged resource as a root node if you haven't any yet. 2017-11-22 05:28:02 +03:00
Rémi Verschelde 613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00
Bojidar Marinov 0cf9597758
Allow for getting/setting indexed properties of objects using get/set_indexed
Performance is around the same as using pure set() through GDScript.
2017-11-21 20:58:21 +02:00
Bernhard Liebl 80ad8afc85 Native pan and zoom for macOS 2017-11-21 09:11:39 +01:00
Ricardo Maes 77f21b63e9 Add simple spacebar panning setting for 2D editor 2017-11-20 22:53:14 +01:00
Daniel J. Ramirez e5de5b4908 Visual fixes
Added some icons (Including the onion one)
Fixed text editor ellipsis style and editor tabs
2017-11-20 13:03:22 -06:00
Rémi Verschelde d1831915bf
Merge pull request #12359 from kubecz3k/spatial-lock
ability to lock spatial nodes transform in editor
2017-11-20 16:02:20 +01:00
Mariano Suligoy bcfb0a09f8 Implement auto-tiling 2017-11-20 06:27:47 -03:00
Rémi Verschelde 7f52db75c6
Merge pull request #13008 from Chaosus/assetstorefixes
Few fixes for asset store browser
2017-11-20 09:10:13 +01:00
sersoong 66f6a8b4b5 Add close other tabs to Script Editor 2017-11-20 15:06:52 +08:00
Chaosus f88f8e1a4a Few fixes for asset store browser 2017-11-20 10:01:40 +03:00
Rémi Verschelde ecf80fbbba
Merge pull request #12988 from akien-mga/xdg-home-paths
Add support for XDG Base Directory spec
2017-11-20 00:42:51 +01:00
Rémi Verschelde bc26a5bd3a
Merge pull request #12936 from n-pigeon/planar_scale_gizmo
Implemented planar scaling with two modes.
2017-11-20 00:16:28 +01:00
Rémi Verschelde d826b043ad
Merge pull request #12950 from ianb96/code_folding
Code Folding
2017-11-20 00:15:10 +01:00
Rémi Verschelde cc88a4cea6
Merge pull request #13030 from Krakean/master
Add "View FPS" in 3D->Perspective's popup.
2017-11-19 23:49:35 +01:00
Dmitry Koteroff 55f992942c Add "View FPS" in 3D->Perspective's popup.
"Fixes" to make it acceptable by clang-format.

"Fixes" to make it acceptable by clang-format.
2017-11-20 00:35:46 +03:00
Rémi Verschelde 6e3f2f44af Use new XDG folders to dehardcode paths 2017-11-19 20:54:26 +01:00
Poommetee Ketson f5e85c6103
Merge pull request #12955 from groud/editor_canvas_item_api_rework
Editor canvas item api rework
2017-11-20 00:19:00 +07:00
Gilles Roudiere 8d1f2b1857 Rework the canvas_item API for further improves to the canvas item editor 2017-11-19 13:36:31 +01:00
Omar Al Halabi cb86f6fbf6 fix set_current_tab: Indexp_current=-1 out of size 2017-11-19 13:14:00 +02:00
Ian 1e59169d2d scrolling fixes 2017-11-18 20:07:53 -05:00
Ian d350f506a0 TextEdit code folding 2017-11-17 21:49:43 -05:00
Rémi Verschelde ad199c3964 EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
2017-11-17 20:55:09 +01:00
Ferenc Arn d28763a4c1 Rename Rect3 to AABB.
Fixes #12973.
2017-11-17 11:01:41 -05:00
Rémi Verschelde bb1d1912ea
Merge pull request #12488 from djrm/pr_gridmap_fixes
Several improvements to GridMap.
2017-11-16 19:27:27 +01:00
Przemysław Gołąb (n-pigeon) 9cc6d21d9f Implemented planar scaling with two modes.
Modes:
- Scale uniformly on two axes
- Hold SHIFT to scale non uniformly
2017-11-14 23:51:27 +01:00
Juan Linietsky 04edfc090b Finalized ability to convert from CanvasItem/Spatial/Particles materials to ShaderMaterial, closes #10242 2017-11-14 15:45:30 -03:00
Rémi Verschelde 4685674389
Merge pull request #12842 from ianb96/shader_editor_fix
Shader Editor context menu and line operations and style fix
2017-11-14 07:33:04 +01:00
Ian c478c1ded5 remove debug msg 2017-11-13 18:16:59 -05:00
Rémi Verschelde c4f9820c2f
Merge pull request #12909 from n-pigeon/tra_gizmo_fix_2
Fix uninitialized bool. Breaks translation in release_debug target.
2017-11-13 23:11:04 +01:00
Przemysław Gołąb (n-pigeon) 9a4f6d6689 Fix uninitialized bool. Breaks translation in release_debug target. 2017-11-13 22:54:33 +01:00
Rémi Verschelde 4755bc9e2b
Merge pull request #12854 from poke1024/fix-poly2d-editor-handle
Fix minor drawing order glitch in polygon 2D editor
2017-11-13 22:18:56 +01:00
Rémi Verschelde 05a780a101
Merge pull request #12869 from ianb96/script_list_move
Script List Reorder
2017-11-13 21:55:09 +01:00
Bernhard Liebl 89f7032c2e Fix drawing order of polygon 2d editor handles 2017-11-13 18:49:06 +01:00
Przemysław Gołąb (n-pigeon) e2160afcd8 Fixed View plane local rotation.
Plus some cleanups.
2017-11-13 09:15:41 +01:00
Ian 9f6a06b992 add script list drag n drop 2017-11-12 15:45:42 -05:00
Ian 9126a2072c move item up/down context menu and shortcut 2017-11-12 15:45:42 -05:00
Ian 798a14eb33 add script editor list context menu 2017-11-12 15:45:42 -05:00
Rémi Verschelde b0f10c6643
Merge pull request #12855 from Hinsbart/remove_preview
Remove preview when closing "change default type" dialog.
2017-11-12 21:03:42 +01:00
Rémi Verschelde 31117588fd
Merge pull request #12823 from Web-eWorks/meshdropfix
Fix #12571: Dragging OBJ mesh files no longer instances a scene
2017-11-12 20:31:51 +01:00
Andreas Haas 58fafea485
Remove preview when closing "change default type" dialog. 2017-11-12 10:50:32 +01:00
Ian 94b3e786cd shader editor context menu and line operations and style fix 2017-11-11 14:46:59 -05:00
Daniel J. Ramirez 592ee82010 Fixed theme update and some widgets. 2017-11-11 11:58:30 -06:00
Jakub Grzesik 518d907914 ability to lock spatial nodes transform in editor 2017-11-11 12:56:37 +01:00
Poommetee Ketson aca18b6a49
Merge pull request #12806 from letheed/unify-degrees
Unify degree methods and properties
2017-11-11 13:27:02 +07:00
Webster Sheets 5c88ad9457 Dropping a mesh file into the scene no longer creates an instanced scene. 2017-11-10 16:31:53 -05:00
William McKIE fd01e7d89e Replace Del icon by Remove icon
It would seem there are editors that still used the old del icon
inherited from 2.X instead of the fresh remove icon from 3.X
resulting to be replaced to an "Error" textual icon.
2017-11-10 21:57:39 +01:00
letheed 482e07af7e Unify degree members and properties 2017-11-10 12:52:07 +01:00
Gilles Roudiere e2785fbded
Merge pull request #12797 from viprip/12668_fix_texture_region_dock_zoom_icon_is_misaligned
Fix misaligned zoom icon in Texture Region Editor plugin
2017-11-10 10:07:49 +01:00
Rémi Verschelde 94a915135d
Merge pull request #12786 from n-pigeon/spatial_transform_gizmo
Cleanups in Spatial Transform Gizmo
2017-11-10 09:53:43 +01:00
Przemysław Gołąb (n-pigeon) f1c2a18e57 Cleanups in Spatial Transform Gizmo
Fixed translation i local space - changed a bit how it was implemented.
Fixed bug with rotations when object is scaled.
Added safety check preventing scaling to 0 in local space.
All Gizmoz display numerical output message on the bottom of the viewport.
Unified code a bit, so it will be easier to maintain.
2017-11-10 08:22:11 +01:00
William McKIE 1fc787e6ac Fix misaligned zoom icon in Texture Region Editor plugin
The zoom icon was aligned on top compared to the others zoom buttons
from the HBox container.

Closes #12668.
2017-11-10 07:31:36 +01:00
Juan Linietsky 192a4d7de5 Reworked how servers preallocate RIDs, should fix #10970 2017-11-09 23:35:34 -03:00
Daniel J. Ramirez 1b7f99d9e5 Several improvements to GridMap.
Fixed crash when undoing.
More ergonomic shortcuts.
Fixed freelook navigation.
2017-11-09 16:18:48 -06:00
Chaosus 423f299530 Enable asset store for godot 3.0 2017-11-09 18:32:40 +03:00
Marc Gilleron 0b7ae364ea Fix tilemap undo/redo 2017-11-08 22:26:19 +01:00
Geequlim 0781649456 Add menu to import current editor theme into theme editor 2017-11-07 13:32:04 +08:00
Bernhard Liebl 88007e91cf Use AbstractPolygon2DEditor for Line2D 2017-11-04 20:26:38 +01:00
Rémi Verschelde c880302754
Merge pull request #12566 from bncastle/select_anim_fix
Select correct animation on creation of a new one
2017-11-02 14:21:09 +01:00
scorched 1d99f93a7a Fix compilation on Visual Studio 2013 again. 2017-11-01 23:47:05 +03:00
bncastle 95408c8670 Select correct animation on creation of a new one
-  Select the correct animation when creating a new one.
- Removed unneeded new_name variable.
2017-11-01 15:40:58 -04:00
Gilles Roudiere 025f138561
Merge pull request #10618 from poke1024/polygon2d-selection
Proposal for modified Polygon2D editor controls
2017-11-01 18:16:33 +01:00
Juan Linietsky a4ea63737c Ability to shrink 3D viewport by half 2017-10-31 14:23:47 -03:00
Rémi Verschelde 31a487660a
Merge pull request #12499 from Zylann/freelook_toggle_mode
Add option to use freelook with a toggle shortcut
2017-10-31 09:29:54 +01:00
Marc Gilleron b9521f862d Add option to use freelook with a toggle shortcut (like Blender) instead of holding RMB (like Unity) 2017-10-30 23:23:55 +01:00
Rémi Verschelde a6ddc5a9a4
Merge pull request #12363 from groud/implement_guides
Implement 2D editor guides
2017-10-30 22:58:46 +01:00
Juan Linietsky 495bcd7301 Clean up GI Probe baking, proper button and progress bar. 2017-10-30 16:33:37 -03:00
Gilles Roudiere 32502a4b68 Fixes keybord directionnal keys not moving nodes in the 2D editor 2017-10-29 22:00:03 +01:00
Rémi Verschelde 5f24a0b250
Merge pull request #12389 from Chaosus/continuehotkey
Added hotkey for Continue action in Script editor

[ci skip]
2017-10-28 17:52:02 +02:00
sersoong 831d601a83 Add copy button to sprite_frames_editor_plugin 2017-10-28 08:03:49 +08:00
Chaosus 70566c0935 Added hotkey for Continue action 2017-10-25 00:01:18 +03:00
Gilles Roudiere 06a4e2e3ad Implement guides 2017-10-24 22:32:00 +02:00
Indah Sylvia 79dda1350d Finished transition of Patch9Rect to NinePatchRect 2017-10-24 13:01:45 +07:00
Rémi Verschelde ad5613ec40 Merge pull request #12310 from Paulb23/toggle_highlight_current_line
Added setting to toggle current line highlighting
2017-10-23 23:25:11 +02:00
Bernhard Liebl 7c245e9f6d adds alternative editing of nodes: you can select nodes, use del to delete nodes, and split edges by simply clicking into edge 2017-10-23 19:01:14 +02:00
Marc Gilleron e9f6ff5bd1 Use bresenham line in freehand tilemap painting to fill discontinuities 2017-10-23 01:26:51 +02:00
Paulb23 45670df354 Added setting to toggle current line highlighting 2017-10-22 13:42:08 +01:00
Rémi Verschelde 99c8a8c7b1 Merge pull request #11401 from SaracenOne/snapped_drag
Added snapping to spatial drag and drop.
2017-10-22 12:06:00 +02:00
Alexander Holland a9876869de Change theme button name to edit theme
[ci skip]
2017-10-22 11:54:37 +02:00
Pedro J. Estébanez 27be483a74 Fix TileMap editor not getting input
Fixes #12265.
2017-10-22 03:58:29 +02:00
Felipe Seixas 651246cbff Fix drop-down size when resizing font #12207
Fixes Scene > Open Recent
Fixes ScriptEditor > File > Open Recent
2017-10-21 11:53:53 -04:00
Poommetee Ketson 9b634180aa Refactor Fixed to Physics 2017-10-21 21:28:08 +07:00
Rémi Verschelde 8cb76888ae Merge pull request #12228 from hi-ogawa/fix-spatial-shader-conversion-with-texture
Fix spatial shader conversion with texture
2017-10-20 23:55:58 +02:00
Rémi Verschelde 7969565de7 Merge pull request #12052 from hi-ogawa/particle-material-conversion-plugin
Create ParticlesMaterialConversionPlugin
2017-10-20 23:54:56 +02:00
scorched 3ba5ee42c3 Fix compilation on Visual Studio 2013 (#10219). 2017-10-20 12:55:22 +02:00
Rémi Verschelde eacdcd7239 Merge pull request #12206 from SaracenOne/drag_and_drop_fix
Fix drag and drop collision with non-centred origin points.

[ci skip]
2017-10-20 12:43:02 +02:00
Hiroshi Ogawa 3bd2a4c421 Fix spatial shader conversion with texture 2017-10-19 16:10:24 +09:00
Saracen c566899dcf Fix drag and drop collision with non-centred origin points. 2017-10-18 05:16:05 +01:00
Gilles Roudiere 907970aab6 Restored files mode 2017-10-18 00:05:08 +02:00
Gilles Roudiere fc02605b49 Fixes snapping and replaces the _draw_canvas by forward_canvas_draw 2017-10-18 00:01:59 +02:00
Marc Gilleron 59e6a27da1 Added icon under zoom/speed indicator bar 2017-10-15 21:20:51 +02:00
Rémi Verschelde 61a26dc23e Merge pull request #11927 from Zylann/freelook_interpolation_fix
Freelook interpolation fixes
2017-10-15 20:40:16 +02:00
Rémi Verschelde eeb9257a95 Merge pull request #12110 from djrm/pr_spatial_editor_fixes
Return camera to origin when creating a new scene and going to 3d edi…
2017-10-15 10:04:33 +02:00
Daniel J. Ramirez c04f8721f3 Return camera to origin when creating a new scene and going to 3d editor. 2017-10-14 19:05:09 -05:00
Paulb23 ca24310a13 Fixed help overview visibility, issue 12011 and 10407 2017-10-14 18:51:35 +01:00
Daniel J. Ramirez 9001ba26aa Added and improved some missing icons, plus some other visual fixes. 2017-10-13 16:39:17 -05:00
Daniel J. Ramirez dbc37afcd9 Added and improved some icons, plus some other minor visual fixes. 2017-10-12 14:43:11 -05:00
Hiroshi Ogawa d777681882 Create ParticlesMaterialConversionPlugin and format generated shader code 2017-10-12 21:30:19 +09:00
jagt 21c2bf84e6 fix script editor clear recent scripts crash 2017-10-11 16:24:57 +08:00
Marc Gilleron de42e53671 Freelook interpolation fixes
- Smooth freelook position more explicitely
- Don't let orbit zoom produce translation when it shouldn't
- Make base speed framerate-independent (and tweaked setting for that)
- Don't rely on camera for calculations because it no longer reflect immediate state
- Avoid potential divide-by-zero with zoom inertia
- Make speed/zoom relation optional (if enabled, speed is adjusted from zoom)
- Never change zoom distance when freelook is active
- Orbit inertia also applies on freelook
2017-10-10 02:38:17 +02:00
Gilles Roudiere ae94758374 Merge pull request #11019 from poke1024/refactor-polygon-v2
Refactoring of polygon editors to a common code base (v2)
2017-10-09 19:47:54 +02:00
Rémi Verschelde bf12b45986 Merge pull request #11965 from SaracenOne/navgen_fix
Navmesh Generation Fix

[ci skip]
2017-10-09 15:23:40 +02:00
Rémi Verschelde 438e32d652 Merge pull request #11941 from Paulb23/members_selected_scroll_issue_11648
Consistant scroll when using members overview, issue 11648
2017-10-09 15:19:15 +02:00
Saracen 70e47996b8 Fix bug in navmesh generation when using meshes with multiple
surfaces.
2017-10-09 13:14:27 +01:00
Rémi Verschelde 1cb4fc1510 Merge pull request #11846 from gabrielformiga/fix-ik-bone-drag
Fix IK Bone Drag on Viewport
2017-10-09 12:30:56 +02:00
Rémi Verschelde 3091cfcebd Merge pull request #11842 from n-pigeon/rotate_gizmo_fix
Fixed rotating in local space using 3D Gizmo.
2017-10-09 12:29:35 +02:00
Rémi Verschelde 3151b08c48 Merge pull request #11821 from groud/margins_preset_menu
Replaces (and extends) the anchor menu to a Layout one
2017-10-09 12:21:57 +02:00
Paulb23 b07dfd75ea Consistant scroll when using members overview, issue 11648 2017-10-08 14:29:27 +01:00
Gilles Roudiere a25d70ab31 Extends the anchors menu to a presets 2017-10-05 21:53:36 +02:00
Gabriel f931093812 Fix IK Bone Drag on Viewport 2017-10-04 21:58:13 -03:00
Przemysław Gołąb (n-pigeon) a6ff281966 Fixed rotating in local space using 3D Gizmo. 2017-10-04 23:18:31 +02:00
Gilles Roudiere 3f279d2a3e Fixes the pre drag rect not drawn correctly 2017-10-03 22:44:34 +02:00
Bernhard Liebl f815a3df7e Refactoring of polygon editors to a common code base
includes rebase and manual application 67a706fc1b and 4537977d6d
2017-10-03 13:10:45 +02:00
Daniel J. Ramirez 6d874ea685 Added correct initialization for script editor theme.
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00
Andreas Haas 3c1dab7be7 Merge pull request #11770 from Noshyaar/pr-๓
CurveEditor: fix can't edit right tangent
2017-10-03 00:26:12 +02:00
Andreas Haas 5cd68abf88 Merge pull request #11478 from n-pigeon/scale_gizmo
Scale editing Gizmo for Spatial Editor
2017-10-03 00:03:01 +02:00
Andreas Haas 5303efb2fa Merge pull request #11659 from AndreaCatania/prephysics
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
Poommetee Ketson 0ce4d82bbf
CurveEditor: fix can't edit right tangent 2017-10-03 03:48:11 +07:00