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
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