Commit graph

504 commits

Author SHA1 Message Date
Paulb23
e03e7deb1b Added caret blink in text editor 2016-05-09 19:22:11 +01:00
Paulb23
488495852b Fixed animation player auto-queue duplication and undo/redo 2016-05-07 17:27:52 +01:00
Rémi Verschelde
fb277dbde6 i18n: Don't make print_line calls translatable 2016-05-04 15:28:37 +02:00
Juan Linietsky
567cb691ec Modified editor strings to be translatable in the future 2016-05-03 22:25:37 -03:00
Rémi Verschelde
0b4f277184 AnimationPlayer: Prevent resetting timeline when pinned (#4497)
Fixes #1019
2016-05-01 11:37:58 +02:00
Rémi Verschelde
6d22e03b96 Merge pull request #4485 from bojidar-bg/2d-snap-axis
Allow dragging on only one axis when holding down shift in 2D
2016-04-29 14:36:03 +02:00
Bojidar Marinov
d82ff4ed09 Allow dragging on only one (global) axis when holding down shift
Closes #1723
2016-04-29 15:06:29 +03:00
Paulb23
64751e0a75 Shader editor now uses text editor settings 2016-04-29 12:39:04 +01:00
Paulb23
bda5ea0871 Fixed shader editor syntax coloring 2016-04-29 01:35:03 +01:00
Rémi Verschelde
0485c9eaba Merge pull request #4451 from JoshuaGrams/anim-tree-filter
Anim tree: add filters on Animation nodes
2016-04-28 20:48:38 +02:00
Josh Grams
bd95e18ae4 AnimationTree: add filters to Animation nodes. 2016-04-26 06:49:06 -04:00
Paulb23
f3e6569e00 Trim trailing white space on save, issue 4383 2016-04-23 19:21:34 +01:00
Aren Villanueva
d75856146c Adds a remove class item option in the theme editor.
I've also added a get_stylebox_types helper function to the theme class in order to figure out exactly what types are available to a theme.
2016-04-21 11:58:53 +10:00
Rémi Verschelde
c0ec7e933a Merge pull request #4302 from Anarchid/gridmap-navmesh
Navmesh support for GridMaps
2016-04-20 21:12:35 +02:00
Anarchid
73ca831848 Implement GridMap support for navigation meshes 2016-04-20 21:19:05 +03:00
Marc Gilleron
84d706cb35 Made trackpad behaviour optional in 3D mode (issue #4265) 2016-04-12 03:37:35 +02:00
Paulb23
8c328474f2 Setting to change line number color 2016-04-08 20:11:16 +01:00
Rémi Verschelde
823e87baee Merge pull request #4258 from neikeq/pr-imp-canvas-select
Avoid selecting items from instanced scenes in CanvasItemEditorPlugin
2016-04-07 14:12:44 +02:00
Ignacio Etcheverry
fab57f2fbc CanvasItemEditorPlugin: Avoid selecting items from instanced scenes
- This behaviour is only applied to click selection. Rect selection and List selection can still select these items
2016-04-07 13:08:18 +02:00
Rémi Verschelde
3e3f16fefc Merge pull request #4251 from Paulb23/block_indent_issue_3803
Fixed block indent inconsistency, issue #3803
2016-04-06 19:39:07 +02:00
Paulb23
d78e98e2a4 Option to toggle syntax highlighting 2016-04-06 18:27:58 +01:00
Paulb23
93700676b5 Fixed block indent inconsistency, fixes issue 3803 2016-04-06 17:46:10 +01:00
Rémi Verschelde
d5191a610b Merge pull request #4248 from bojidar-bg/fix-launchmedia-for-bones
Fix Ctrl+LaunchMedia showing up as a shortcut for "Make Bones"
2016-04-06 18:43:15 +02:00
Rémi Verschelde
44446cf58b Merge pull request #4238 from Paulb23/caret_color
Ability to change the caret color
2016-04-06 18:42:32 +02:00
Rémi Verschelde
d6871ee847 Merge pull request #4234 from Paulb23/member_variable_syntax_highlighting
Member variable syntax highlighting
2016-04-06 18:42:13 +02:00
Rémi Verschelde
aad31ee986 Merge pull request #4174 from Hodes/master
Multiple editor plugins for same obj type
2016-04-06 18:41:51 +02:00
Bojidar Marinov
4af1839073 Fix Ctrl+LaunchMedia showing up as a shortcut for "Make Bones"
Close #4044
2016-04-06 15:42:50 +03:00
Bojidar Marinov
8ee8802cbe Bind Z key (without modifiers) to toggle wireframe in 3D view
Fixed #4124
2016-04-06 14:24:35 +03:00
Paul Batty
646e089782 Fixed text edit undo and redo operation interaction 2016-04-06 08:36:29 +02:00
SaracenOne
f303e3483d Fixes errors occurring when switching to a new scene with a spatial editor from a canvas editor. 2016-04-06 08:34:34 +02:00
sunnystormy
3ebde34d8f Added rotation/panning support for trackpads in 3D mode #53 2016-04-06 08:15:34 +02:00
Paulb23
c7519f091d Ability to change the caret color 2016-04-05 17:06:56 +01:00
Paulb23
fc9f9adcb2 Member variable syntax highlighting 2016-04-05 15:50:54 +01:00
Rémi Verschelde
9c89d3e042 Separate help pages from scripts by default
Fixes #4199
2016-04-04 07:32:00 +02:00
Luiz Paulo de Vasconcellos
1b6f14d810 Change toggle comment behaviour. Fixes #4198 2016-04-04 07:31:39 +02:00
hodes
7a1d7af332 Enables the possibility of editing on multiple plugins at same time on same object type. 2016-04-02 20:39:35 -03:00
Paul Batty
50aa78210c Function syntax highlighting 2016-04-02 21:46:42 +02:00
Paulb23
474911c533 Option to toggle line numbers 2016-03-30 19:16:52 +01:00
Paulb23
c844c2d604 Syntax highlighting for numbers 2016-03-21 15:45:38 +00:00
Rémi Verschelde
d4321c9f33 Merge pull request #4033 from akien-mga/pr-sample-lib-stop-button
Add stop and delete buttons to sample library (supersedes #3339)
2016-03-20 16:03:57 +01:00
Rémi Verschelde
15ba4d34c5 Merge pull request #4077 from sanikoyes/Pr-resourcepreloader-multiple-select
Allow select multiple files in ResourcePreloaderEditor
2016-03-18 14:27:31 +01:00
Paulb23
0fc7be89d3 Option to toggle tab drawing 2016-03-18 12:49:18 +00:00
sanikoyes
e13e343c9c Rename path to paths 2016-03-18 18:26:02 +08:00
Rémi Verschelde
63aafb3f48 Merge pull request #4076 from Paulb23/word_highlighting
Highlight all occurrences of selected word
2016-03-17 11:01:18 +01:00
sanikoyes
174b9a5f9e Allow select multiple files in ResourcePreloaderEditor 2016-03-17 12:30:13 +08:00
Paulb23
b0488cacf2 Highlight all occurrences of selected word 2016-03-16 21:20:42 +00:00
Rémi Verschelde
5b67305ebb Merge pull request #4065 from TheHX/issue-4058
Fix editors panels, of the bottom panel, not resizing in some cases
2016-03-16 13:34:42 +01:00
Rémi Verschelde
cb065b961c Merge pull request #4006 from TheHX/tilemap-editor
Several improvements for the Tilemap editor
2016-03-15 19:29:39 +01:00
Franklin Sobrinho
4a0f835ece Fix editors panels, of the bottom panel, not resizing in some cases 2016-03-15 15:15:50 -03:00
Franklin Sobrinho
1589157337 Tilemap Editor: Fix some last issues of PR-4006 2016-03-15 14:32:28 -03:00
Rémi Verschelde
9e97e9f39d Merge pull request #4057 from TheHX/particles-plugin
Fix file dialog, of Particles2D plugin, showing "Error" icons
2016-03-14 21:14:48 +01:00
Franklin Sobrinho
f1c58e4b18 Tilemap Editor: Use ItemList::set_item_icon_region in tile palette 2016-03-14 16:24:17 -03:00
Franklin Sobrinho
8d2a957e36 Fix file dialog, of Particles2D plugin, showing "Error" icons 2016-03-14 16:05:20 -03:00
Franklin Sobrinho
05036ed0ad Tilemap Editor: Bucket tool - optimize memory usage, "removed safety limit" 2016-03-14 12:39:58 -03:00
Franklin Sobrinho
aba9729ba7 Tilemap Editor: Bucket fill 2016-03-14 12:39:58 -03:00
Franklin Sobrinho
9de53c98a0 Tilemap Editor: Shortcuts for the editor menu, fixed small inconsistencies 2016-03-14 12:39:58 -03:00
Franklin Sobrinho
fd06683cb4 Tilemap Editor: Line drawing and erasing 2016-03-14 12:39:58 -03:00
Franklin Sobrinho
e2061e0025 Tilemap Editor: Rectangle drawing/erasing and small improvements 2016-03-14 12:39:57 -03:00
Paulb23
9234bd3ff9 Added configuable tab size 2016-03-14 15:13:45 +00:00
Rémi Verschelde
d36333b648 Remove redundant buttons
Now the Load button is alone on its line,
we probably need to find it a better place.
2016-03-13 15:28:03 +01:00
Rémi Verschelde
533b9b7342 Add stop and delete buttons to sample library
Based on the work by @rdcklinux in #3339.
The play button becomes a stop button while playing.
A delete button is added in the last column.
2016-03-13 15:28:03 +01:00
Hubert Jarosz
7b07bcaf44
fix six possible "divide by zero" 2016-03-09 00:18:23 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace 2016-03-09 00:00:52 +01:00
Juan Linietsky
9157a13aef Merge pull request #3969 from Paulb23/scroll_past_end_of_file
Enabled scrolling past end of file in text editor.
2016-03-08 15:34:21 -03:00
Saracen
7fecebd8a8 Added extra controls to GeometryInstances to control how they should cast shadows: double-sided and shadows only.
Conflicts:
	servers/visual/visual_server_raster.h
2016-03-07 23:14:14 +00:00
Paulb23
f19eea2f2d Enabled scrolling past end of file 2016-03-07 02:32:51 +00:00
Franklin Sobrinho
cc6a6ef08c Added search box in Class List dialog (Script Editor) 2016-03-05 07:59:04 -03:00
Martin Chuckeles
47206b409d Add editor settings for call hint placement
Added settings: text_editor/put_callhint_tooltip_below_current_line
and text_editor/callhint_tooltip_offset
2016-03-04 12:10:15 +01:00
Juan Linietsky
6fc1c3a4d1 Completed the support for plugins! It is not possible to add plugins.
Not all APIs are provided yet, please request whathever you are missing.
Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings.
Have fun!
2016-02-27 23:12:27 -03:00
Juan Linietsky
2a7fdb23b3 First attempt at making a more useful EditorPlugin API. Still undocumented, but feedback welcome! 2016-02-27 00:32:51 -03:00
volzhs
87243508e9 keep previous rotation when using rotate tool. fixes #3788. 2016-02-22 18:13:27 +09:00
Juan Linietsky
499308e482 -fixed a crash when closing scene with animationplayer open
-removed item checked print, closes #3564
2016-02-21 11:52:11 -03:00
Juan Linietsky
70cdfa681a -Change link to new documentation
-fixed bug in tilemap collision debug
2016-02-20 10:02:14 -03:00
Rémi Verschelde
7496fd4788 Merge pull request #3689 from nunodonato/numpademulation
* Added numpad emulation in the 3d viewport (fixes #3612)
2016-02-16 07:50:51 +01:00
Rémi Verschelde
080dfa14a0 Merge pull request #3641 from JoshuaGrams/master
AnimationPlayer frame SpinBox snaps to steps.
2016-02-16 07:41:59 +01:00
Nuno
67a839c791 * Added numpad emulation (fixes #3612) 2016-02-12 11:51:25 +00:00
Tegu
8714e3b2e2 Fixed a couple of tooltips on the editor 2016-02-10 22:56:24 +02:00
Josh Grams
5317ca4c62 AnimationPlayer frame SpinBox snaps to steps. 2016-02-09 15:02:57 -05:00
Juan Linietsky
f51c26c025 Insert new key helper is back to 2D editor, missed it? 2016-02-09 16:09:58 -03:00
Juan Linietsky
92a3b9fb9f -Property apply limits to V/H Splits in main editor window. Fixes #3567 2016-02-08 13:01:54 -03:00
Juan Linietsky
f026838cbc -only save scripts if changed, takes less time to run projects and does not confuse you with changed dates. 2016-02-02 21:10:52 -03:00
Juan Linietsky
857edbea1c -make animationplayer thinner, also toolbuttons too. fixes #3526 2016-02-02 18:22:37 -03:00
Rémi Verschelde
9a2dd3ebbb Merge pull request #3490 from TheHX/issue-3453
Fix input passing to script editor even if not visible
2016-01-27 18:10:25 +01:00
Franklin Sobrinho
d6adb9b9c2 Fix input passing to script editor even if not visible 2016-01-27 13:56:05 -03:00
Franklin Sobrinho
9f5d537993 Fix animation toolbar 2016-01-27 11:10:51 -03:00
reduz
48d2b7f4be avoid crash when scaling tilemap too much, fixes #266 2016-01-24 17:22:17 -03:00
reduz
e997c0d242 -avoid allowing selection of canvasitems inside a viewport, fixes #1383 2016-01-24 16:41:50 -03:00
Juan Linietsky
6c27df8df6 -Fixes a bunch of stdout errors, closes #2763 closes #2731 2016-01-23 19:51:51 -03:00
Juan Linietsky
2cc640dbed Fix wrong condition test for saving, fixes #3287 2016-01-23 14:44:37 -03:00
kubecz3k
e80d7d2a91 Wider initial size of the panel with scripts
I believe it's size is now exactly the same how it was before commit that allowed to hide script panel entirely. 
I assume previously it was 140 wide because of 70px of minimal size + 70px of offset, so now when minimal size is 0 the offset need to be 140.
2016-01-20 13:01:27 +01:00
hondres
4cca09921d thumbnail preview for AtlasTextures 2016-01-19 04:27:27 +01:00
Juan Linietsky
d1bb868a19 -fixed bug related to mouse cursor changes, fixes #3366 2016-01-18 19:49:54 -03:00
Ovnuniarchos
ded1acc33e New shader nodes are now created under (more or less) the cursor. 2016-01-18 16:02:42 +01:00
Juan Linietsky
74a48a0140 -Massive editor dialog cleanup
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Juan Linietsky
72fcb8a35b -Moved all the "root" input handling for GUI from individual Controls to Viewport.
-Should fix several reported bugs when controls don't have a common parent

This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
Rémi Verschelde
3c6dd5749d Merge pull request #3204 from neikeq/fix_3153
Consider texture offset when rotating tiles
2016-01-15 16:53:16 +01:00
Rémi Verschelde
1fc96e2dca Merge pull request #3329 from SaracenOne/color_ramp_fix
Color Ramp Editor Plugin Fix
2016-01-15 13:54:04 +01:00
Rémi Verschelde
d4a2409334 Merge pull request #3338 from godotengine/kubecz3k-patch-1
Ability to hide  panel with scripts
2016-01-15 13:52:29 +01:00
Ignacio Etcheverry
e187762c2d Spatial/Canvas Editor: Ignore unhandled input if there is a dialog 2016-01-15 11:37:45 +01:00
kubecz3k
ca0a6c4d59 Ability to hide panel with scripts
Minimal horizontal size for  panel with scripts was = 70, changed it to 0.
It's especially helpful if someone is working on a laptop, or just don't like to have anything on the left side of the screen.
Video  that shows how it's working after the change: https://www.youtube.com/watch?v=Y_o4pOpjyhY&feature=youtu.be
2016-01-13 16:47:10 +01:00
Saracen
0b1f395e7d Fixed color ramp editor plugin to allow editing color ramps while in the spatial editor. 2016-01-12 20:13:45 +00:00
Rémi Verschelde
e212058841 Merge pull request #3308 from neikeq/keep_xform_settings
Remember Transform menu settings for the Spatial Editor
2016-01-11 14:53:35 +01:00
Ignacio Etcheverry
aa9c2e68c6 Remove unnecessary fail conditions when loading SpatialEditor state 2016-01-11 14:43:37 +01:00
Ignacio Etcheverry
f25897527e Remember Transform menu settings for the Spatial Editor 2016-01-11 14:00:25 +01:00
Rémi Verschelde
7055d38c30 Merge pull request #3309 from MarianoGnu/bug_fixing3
Make SpriteRegionEditor remember state when switching scenes (fixes #3245)
2016-01-11 11:28:03 +01:00
MarianoGNU
fd14c73e67 Make SpriteRegionEditor remember state beatwhen setions (fixes #3245) 2016-01-10 19:02:32 -03:00
Franklin Sobrinho
56bc005643 Fix script highlighting for classes that begin with "_" 2016-01-10 12:20:04 -03:00
Franklin Sobrinho
7fa233cd89 Fix some error messages 2016-01-09 08:35:57 -03:00
Rémi Verschelde
515567d491 Merge pull request #3282 from TheHX/pr-script-debugger
Fix debugger close button and script editor "Show Debugger"
2016-01-08 20:50:41 +01:00
Franklin Sobrinho
514eed4072 Fix debugger close button and script editor "Show Debugger" 2016-01-08 16:43:50 -03:00
Rémi Verschelde
33f4010378 Merge pull request #3250 from akien-mga/pr-uniform-scaling-canvasitem
Fix uniform scaling of non-square CanvasItem nodes
2016-01-07 14:34:21 +01:00
Rémi Verschelde
9849df9438 Merge pull request #3217 from neikeq/asframes_patch
Disable renaming SpriteFrames
2016-01-06 11:49:22 +01:00
Rémi Verschelde
30ce222205 Merge pull request #3216 from nounoursheureux/spriteframes
Show the texture name after the frame number in the SpriteFrames editor
2016-01-06 11:49:08 +01:00
Rémi Verschelde
fa0500557f Fix uniform scaling of non-square CanvasItem nodes
Fixes #3224.
I chose the longest side of the original node (width vs height) as the "guiding direction" to handle the ever changing drag_vector and avoid issues when a component changes sign.
2016-01-06 00:13:07 +01:00
Ignacio Etcheverry
a9dbe83155 TileMap: Properly flip/rotate tiles with non-square region 2016-01-04 15:28:11 +01:00
Juan Linietsky
30d4a50b42 Fix KP5 toggle perspective shortcut, fixes #2035 2016-01-04 00:17:28 -03:00
Juan Linietsky
e8fbf39f88 -Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
Ignacio Etcheverry
ac7145c3be Disable renaming AnimatedSprite frames 2016-01-03 12:45:12 +01:00
Nounours Heureux
07d8558eee Show the texture name after the frame number in the SpriteFrames editor 2016-01-03 09:31:10 +01:00
Juan Linietsky
939c5f5c9e -Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115 2016-01-02 20:32:19 -03:00
Juan Linietsky
b0b1da6950 Make buttons properly obey stylebox content marins, closes #2156 2016-01-02 15:51:41 -03:00
Juan Linietsky
be73e2d2f2 fixed uninitialized tool mode in path 2d editor 2016-01-02 15:42:14 -03:00
Ignacio Etcheverry
e22e0cecf7 TileMap: Consider texture offset for rotated tiles 2016-01-02 18:17:20 +01:00
George Marques
5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky
d014518a1a Make sure auto bracket completion setting always works, closes #2332 2016-01-01 09:52:01 -03:00
Juan Linietsky
8dad6415b1 -Fixed focus for shader editor when switching tab, closes #2551 2015-12-31 10:50:39 -03:00
reduz
135d5fb06d -property change object's rotation pivot on children of scaled CanvasLayer, fixes #2599 2015-12-29 07:31:50 -03:00
reduz
4028dfa6d2 do not allow editing of tilemap if it's invisible, fixes #2601 2015-12-28 21:23:32 -03:00
reduz
fcd4b1a421 -added a visual tool to change the pivot of a sprite/asprite/polygon/etc. Closes #2670 2015-12-28 09:38:15 -03:00
hondres
b431c88146 Colorize Rect2 and NodePath in script editor 2015-12-24 04:20:26 +01:00
Ariel Manzur
a5fe71a0e9 this failed in msvc, didn't in linux and mingw 2015-12-20 11:42:55 -03:00
Ignacio Etcheverry
d74c56289f Fix Remove Item option in TileSet plugin 2015-12-15 23:35:35 +01:00
Juan Linietsky
f2183a5e09 replaced :var by :Variant in documentation, fixes #2897 2015-12-14 08:28:01 -03:00
Juan Linietsky
534c8e74b9 do not open dominant script if external editor is selected, fixes #3067 2015-12-14 08:21:18 -03:00
Juan Linietsky
72ff61963b fixed and improved selection and list selection, closes #2852 2015-12-13 17:16:13 -03:00
Juan Linietsky
e19f176765 fix broken merge 2015-12-12 10:21:22 -03:00
Juan Linietsky
a2d817405e Merge branch 'master' of https://github.com/godotengine/godot 2015-12-12 10:14:13 -03:00
Juan Linietsky
cd4c3f4d12 -added option to keep debugger open, fixes #3031 2015-12-12 10:09:50 -03:00
Franklin Sobrinho
4d644ca997 Script debugger remains visible when using Debug->Show Debugger 2015-12-12 10:04:51 -03:00
Rémi Verschelde
964a57cb2a Merge pull request #2883 from TheHX/mesh_editor_plugin
Add StaticBody collision generation for all selected MeshInstance nodes
2015-12-10 15:19:30 +01:00
Juan Linietsky
aadced2f72 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-09 09:10:00 -03:00
Juan Linietsky
6bc6b8fcf2 -ability to change scripts in external editor and still have properties reloaded in godot UI, fixes #3003 2015-12-09 09:08:41 -03:00
Rémi Verschelde
efbb834936 Merge pull request #2986 from TheHX/pr-shader-editor
Fix shader editor focus when switching tabs
2015-12-09 07:48:51 +01:00
Juan Linietsky
f93fbbe1d2 Merge pull request #2888 from TheHX/item_list_plugin
Make ItemListEditor plugin functional
2015-12-08 17:07:32 -03:00
Franklin Sobrinho
97a3fa3f12 Fix shader editor focus when switching tabs 2015-12-06 20:11:56 -03:00
Franklin Sobrinho
b3ce127e31 Script Editor: maintain cursor column after duplicate a line 2015-12-06 15:34:09 -03:00
Juan Linietsky
200b7bb87c -Display on animation editor which keys are invalid and which tracks are unresolved
-Added a tool to clean up unresolved tracks and unused keys
2015-12-05 14:18:22 -03:00
Franklin Sobrinho
d6d335f20c Make ItemListEditor plugin functional 2015-12-03 15:17:56 -03:00
Rémi Verschelde
7ac31a7209 Merge pull request #2969 from neikeq/fix_bracket_complete
Fix auto bracket completion disabled on newly open scripts
2015-12-01 21:01:48 +01:00
Rémi Verschelde
7b9dd1ea76 Merge pull request #2968 from neikeq/line_duplicate
Fix script editor not clonning down last line
2015-12-01 21:01:05 +01:00