Commit Graph

405 Commits

Author SHA1 Message Date
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