Commit graph

997 commits

Author SHA1 Message Date
Zher Huei Lee
d8ac5cff57 Adds EditorPlugin::remove_control_from_bottom_panel()
Also renames `add_control_to_bottom_dock` to
`add_control_to_bottom_panel` so that it would be clear that the
removal functions are different too.
2016-02-28 19:58:17 +00: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
Ariel Manzur
30d0ca9766 added [presets] to ._sc_ and "android/shutdown_adb_on_exit" to editor_settings 2016-02-27 12:11:40 -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
Ariel Manzur
ea751724a2 adds -pm and -project_manager command line options to start project manager
fixes bug where the user has an engine.cfg on the executable directory so it runs the game instead of opening the project manager
2016-02-25 03:02:09 -03:00
Julian Murgia - StraToN
5d5b7f2120 Fixed closing a scene tab when it was not the CURRENT tab. Fixes #3810 2016-02-24 22:07:46 +01:00
volzhs
87243508e9 keep previous rotation when using rotate tool. fixes #3788. 2016-02-22 18:13:27 +09:00
volzhs
6adad5e611 Change "erase" to "remove" in project manager. fixes #3796. 2016-02-22 16:56:33 +09:00
Ariel Manzur
9c939d389e ._sc_ file is now a ConfigFile for self contained mode
can contain a pre-loaded list of projects to be added to editor_settings.xml
2016-02-21 20:17:08 -03: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
Julian Murgia - StraToN
7191de4670 Added a setting in editor defining scene tabs close button policy. Fixes #3777
global/always_show_close_button_in_scene_tabs
Default = OFF --> Close button only on active tab
ON --> Close button on all tabs
2016-02-20 02:45:04 +01:00
Ariel Manzur
c0e7155591 Added "self contained" mode for Steam installation and similar. Editor looks for a file ._sc_ in the directory where the executable is, if it's present, all the editor settings (including the export templates) are read from editor_data/ inside that directory 2016-02-19 04:43:35 -03:00
Ignacio Etcheverry
9c1bde4e4b Keep 'Play custom scene' button unpressed when not running 2016-02-18 13:16:31 +01:00
Rémi Verschelde
77fd9b1c57 Merge pull request #3749 from akien-mga/pr-codeblock
Implement support for [codeblock] tag in help
2016-02-17 23:04:42 +01:00
Rémi Verschelde
01cf698de7 Remove unimplemented SceneAnimationImport plugin from menu
The code structure is still available if someone wanted to implement it.
Issue #3667 will be kept as a reminder for the added todo.
2016-02-17 22:26:26 +01:00
Rémi Verschelde
9e4532d689 Implement support for [codeblock] tag in help
It allows to define a multiline space-indented code block that will be properly parsed by the reST converter for the online docs.
The in-editor help understand the [codeblock] tag as it supposedly understand [code] already (i.e. it just seems to discard it, though the code was supposed to switch it to a monospace font, but that's likely another issue.
2016-02-17 21:17:08 +01:00
Ignacio Etcheverry
8c0accc4ba Added option to restart custom scene 2016-02-17 20:54:19 +01:00
Ignacio Etcheverry
d8f06085a2 Fix _quick_run method (Play custom scene) 2016-02-17 19:41:19 +01: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
99bc7877f9 Merge pull request #3692 from neikeq/issue_3682
Rename input actions by editing its item in the list
2016-02-16 07:43:38 +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
Ignacio Etcheverry
5d68149d7d Rename input actions by editing its item in the list 2016-02-13 13:18:40 +01:00
Nuno
67a839c791 * Added numpad emulation (fixes #3612) 2016-02-12 11:51:25 +00:00
Rémi Verschelde
334b3bc9b0 Merge pull request #3669 from Hinsbart/fix_joylabel
fix joystick related label text in project settings
2016-02-11 15:46:06 +01:00
hondres
0065be1bcd fix joystick related label text in project settings 2016-02-11 15:39:41 +01:00
Juan Linietsky
e46ffe5c66 -fixed more issues resampling sounds 2016-02-11 11:29:29 -03:00
Juan Linietsky
db43e94175 -Made some icon data types smaller so they take up less space
-Fixed sample import plugin, makes samples sound strange in smp when limited hz
2016-02-11 00:01:35 -03:00
Tegu
8714e3b2e2 Fixed a couple of tooltips on the editor 2016-02-10 22:56:24 +02:00
Ariel Manzur
83b03e1c68 export from command line 2016-02-10 03:41:48 -03:00
Josh Grams
5317ca4c62 AnimationPlayer frame SpinBox snaps to steps. 2016-02-09 15:02:57 -05:00
Juan Linietsky
595de75641 -Allow renaming root node of inherited scene 2016-02-09 16:30:50 -03: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
3cce2d6881 -Avoid crash in property editor due to newly out of focus but still valid property edition, fixes #3601 2016-02-08 11:59:44 -03:00
Rémi Verschelde
6546ee1d63 Merge pull request #3494 from blackwc/exclude_export
add feature to exclude files from export
2016-02-08 07:33:19 +01:00
Ignacio Etcheverry
7594e963e0 Temporary workaround for #78 2016-02-06 00:09:28 +01:00
Ignacio Etcheverry
ed5e4fabd0 Added missing ReloadEmpty editor icon 2016-02-05 20:49:04 +01:00
blackwc
87be775b0d add feature to exclude files from export 2016-02-04 04:07:08 -05:00
punto-
dcb823b293 Merge pull request #3560 from Hinsbart/axis_names
fix joystick axis names in project settings
2016-02-02 21:58:20 -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
6349c50f5a -Add some offset to spinboxes in tree, so revert icon does not annoy much when pops up, fixes #3415 2016-02-02 20:44:42 -03:00
hondres
1395029d8a fix joystick axis names in project settings 2016-02-03 00:15:50 +01:00
Juan Linietsky
9c4c6e4c4f -fix path clear in animation call param, closes #3448 2016-02-02 19:04:45 -03:00
Juan Linietsky
857edbea1c -make animationplayer thinner, also toolbuttons too. fixes #3526 2016-02-02 18:22:37 -03:00
Juan Linietsky
a9412b8744 -make autoloads keep order when toggling singleton, fixes #3482 2016-02-02 08:06:59 -03:00
Juan Linietsky
a479ce6e86 -Made Joystick menus friendlier, show button index, more up to date names and axis names. Closes #3501 2016-02-02 07:56:08 -03:00
Juan Linietsky
3732688231 -Make sure to properly use node path from animation track as base path, fixes #3448 2016-01-31 20:06:37 -03:00
Juan Linietsky
0364d6b076 do not fail on invalid audio driver, fixes #3466 2016-01-31 18:47:13 -03:00
Juan Linietsky
8341038bbe -Increment resources total in scene format text, fixes #3506 2016-01-29 08:51:51 -03:00
hondres
54d53e0a78 fix dpad left/right not showing correctly in project settings 2016-01-28 20:53:15 +01: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
Juan Linietsky
1d99e71d94 defer project export filesystem update if not visible 2016-01-27 07:23:51 -03:00
Rémi Verschelde
9cafd47ed8 Merge pull request #1453 from adolson/remove-inspector-headings
remove column titles in property inspector
2016-01-26 21:29:02 +01:00
Franklin Sobrinho
081df6e8ba Fix crash when renaming nodes using focus loss 2016-01-26 13:25:04 -03:00
Rémi Verschelde
87517c564b Merge pull request #3436 from neikeq/rm_dbg_x
Removed debugger X (hide) button
2016-01-25 11:02:26 +01:00
Rémi Verschelde
6eb616087d Merge pull request #3432 from TheHX/pr-groups-editor
Groups Editor: Clear LineEdit after creating a new group
2016-01-25 10:59:27 +01:00
Juan Linietsky
31a4762fea Merge pull request #3435 from neikeq/output_focus_steal
Fix Output panel annoying focus steal
2016-01-25 00:30:14 -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
Ignacio Etcheverry
dd197cd6d3 Removed debugger X (hide) button 2016-01-24 16:44:59 +01:00
Ignacio Etcheverry
a3e4914355 Fix Output panel annoying focus steal 2016-01-24 16:26:03 +01:00
Franklin Sobrinho
d0de508ff3 Groups Editor: Clear LineEdit after creating a new group 2016-01-24 10:51:42 -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
5ca338bab6 -Fixed revert scene, should work proprely now, fixes #2782 2016-01-23 18:28:30 -03:00
Juan Linietsky
a04cd80a23 Merge branch 'master' of https://github.com/godotengine/godot 2016-01-23 17:21:37 -03:00
Juan Linietsky
08e536dbe0 -Support the TRNS flag on libpng, fixes #3097 2016-01-23 17:19:51 -03:00
Juan Linietsky
dc7c6c19f3 Revert "Better search for SectionedPropertyEditor, added "All" section" 2016-01-23 16:05:27 -03:00
Juan Linietsky
2cc640dbed Fix wrong condition test for saving, fixes #3287 2016-01-23 14:44:37 -03:00
Juan Linietsky
579ec65d36 Revert "Tree and PropertyEditor confirm value change on focus loss" 2016-01-23 11:20:54 -03:00
Rémi Verschelde
14c1d7fef0 Merge pull request #3408 from neikeq/issue_1123_fix
EditorNode: Ignore unhandled input if there is a dialog visible
2016-01-22 00:12:56 +01:00
Ignacio Etcheverry
88fd782060 EditorNode: Ignore unhandled input if there is a dialog visible 2016-01-21 23:51:06 +01:00
Franklin Sobrinho
06cafeac0a Tree and PropertyEditor confirm value change on focus loss 2016-01-21 13:03:06 -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
Juan Linietsky
c9580965ea -Remote deploy now uses FS over USB on Android, super fast! 2016-01-20 00:29:34 -03: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
Rémi Verschelde
4481e8af5c Merge pull request #3358 from neikeq/issue_1123
F5 hotkey to refresh FileDialog/EditorFileDialog
2016-01-18 14:46:17 +01:00
Rémi Verschelde
c0b9634235 Merge pull request #2854 from MarianoGnu/color_picker
new ColorPicker
2016-01-18 13:52:51 +01:00
Juan Linietsky
4290a25bd5 small fix 2016-01-17 22:27:56 -03:00
Juan Linietsky
d68d36dac3 fixes to keying updating 2016-01-17 20:10:24 -03:00
Juan Linietsky
b9e408a421 Merge branch 'master' of https://github.com/godotengine/godot 2016-01-17 20:04:36 -03:00
Juan Linietsky
74a48a0140 -Massive editor dialog cleanup
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Franklin Sobrinho
72557b6fbc Improved "Qucik Open" dialog navigation 2016-01-17 10:49:52 -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
MarianoGNU
dc7755ffcd Add a visual editor to color picker. 2016-01-15 17:23:19 -03:00
Ignacio Etcheverry
e80e450ee8 F5 hotkey to refresh FileDialog/EditorFileDialog 2016-01-15 21:19:16 +01: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
d64a9526cd Merge pull request #2928 from akien-mga/pr-subscene-icon-in-dock
Moved subscene creation from scene menu to an icon on the scene dock
2016-01-15 14:34:39 +01:00
Rémi Verschelde
bd968ce2f8 Merge pull request #3324 from TheHX/pr-property-editor
Better search for SectionedPropertyEditor, added "All" section
2016-01-15 14:01:55 +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
Rémi Verschelde
bbeac36cb5 Merge pull request #3356 from neikeq/qwe_dialog
Spatial/Canvas Editor: Ignore unhandled input if there is a dialog
2016-01-15 12:17:06 +01:00
Ignacio Etcheverry
e187762c2d Spatial/Canvas Editor: Ignore unhandled input if there is a dialog 2016-01-15 11:37:45 +01:00
Juan Linietsky
d222229149 properly export sample compression type option 2016-01-14 11:50:24 -03:00
Juan Linietsky
4248c84e20 -Make sure scenes properly update when switching tabs, even if sub-instances changed. Fixes #3201 2016-01-14 11:06:20 -03:00
Juan Linietsky
e2be837520 sample convert option was not being saved 2016-01-14 09:09:35 -03: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
Juan Linietsky
c4cee22510 Properly fix tab scrolling, fixes #3128, fixes #3314 2016-01-13 07:39:31 -03: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
Franklin Sobrinho
94a60f408a Better search for SectionedPropertyEditor, added "All" section 2016-01-12 09:40:35 -03:00
Rémi Verschelde
f3383ded64 Merge pull request #3310 from eska014/export-zip
Replace export pack mode "Copy" with "Exec+Zip"
2016-01-12 10:48:57 +01:00
Juan Linietsky
eab1e5b596 small hack to make collisionobjects work with replace, fixes #2992 2016-01-12 05:54:45 -03:00
Rémi Verschelde
0b4c088089 Merge pull request #3320 from neikeq/ed_layouts_default
Allow to override the default editor layout
2016-01-11 23:55:36 +01:00
Ignacio Etcheverry
60adf21bc6 Allow to override the default editor layout 2016-01-11 23:51:45 +01:00
Rémi Verschelde
1f1c3038c2 Update copyright in remaining files + prints in the UI 2016-01-11 21:34:22 +01: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
cbab728049 Merge pull request #3276 from TheHX/pr-quick-open
Quick open now can open multiple scenes and scripts
2016-01-11 11:42:13 +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
Rémi Verschelde
a8a09f6180 Merge pull request #3302 from MarianoGnu/bug_fixing2
Allow to paste resources in inspector when text_hint indicates multip…
2016-01-11 08:53:35 +01:00
Rémi Verschelde
373af4f620 Merge pull request #3303 from TheHX/pr-script-editor
Fix script highlighting for classes that begin with "_"
2016-01-11 08:52:12 +01:00
Juan Linietsky
6eb742d49f -Make a rare corner case where disabling/reenabling mipmaps causes invalid texture state. Fixes #3102 2016-01-10 21:45:58 -03:00
eska
31778e7853 Replace export pack mode "Copy" with "Exec+Zip"
- Make "Bundle" a separate option
- Change pack mode property hint to be more expressive
2016-01-10 23:28:14 +01:00
MarianoGNU
fd14c73e67 Make SpriteRegionEditor remember state beatwhen setions (fixes #3245) 2016-01-10 19:02:32 -03:00
Juan Linietsky
eb7901c8b8 -Project settings can properly add/remove properties again, fixes #3177 2016-01-10 17:08:02 -03:00
Juan Linietsky
027072728e restored quit to project list keybinding, but kept change for OSX, closes #3185 2016-01-10 15:57:24 -03:00
Juan Linietsky
729ab84a49 wrong extensions shown when saving resources fixed 2016-01-10 15:38:47 -03:00
Juan Linietsky
0b472764e4 forgot initialization of path in filesystem dock, fixes #3295 2016-01-10 14:38:45 -03:00
Franklin Sobrinho
56bc005643 Fix script highlighting for classes that begin with "_" 2016-01-10 12:20:04 -03:00
Juan Linietsky
cc34e0dee9 Make sure variant parser actually writes floats when float property is requested, closes #3301 2016-01-10 11:51:05 -03:00
MarianoGNU
21b5e9eef4 Allow to paste resources in inspector when text_hint indicates multiple types 2016-01-10 11:33:45 -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
e3d4a851b7 Merge pull request #3280 from neikeq/issue_3227
Fix TileSet not refreshed after exporting without merge
2016-01-08 18:04:36 +01:00
Ignacio Etcheverry
b4602567cf Fix TileSet not refreshed after exporting without merge 2016-01-08 17:54:13 +01:00
Rémi Verschelde
405cfb6da2 Merge pull request #3278 from neikeq/issue_305
Close scene menu option asks for confirmation only if there are unsaved changes
2016-01-08 17:03:58 +01:00
Ignacio Etcheverry
43b292de1e Scene->Close scene: ask confirmation only when unsaved changes 2016-01-08 16:53:47 +01:00
Franklin Sobrinho
7fa3bd4e78 Quick open now can open multiple scenes and scripts 2016-01-08 08:27:34 -03:00
Rémi Verschelde
ecbc6574fe Use better icon by @MarianoGnu 2016-01-08 07:33:26 +01: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
a0c39a4b33 Merge pull request #3191 from neikeq/filedialog_hotkeys
Add keyboard shortcut to toggle "show hidden files" in FileDialog
2016-01-07 07:50:26 +01:00
Rémi Verschelde
bc3b1a63ba Merge pull request #3208 from nounoursheureux/master
You can now create an inherited scene based on an already opened scene
2016-01-06 18:31:33 +01:00
Nounours Heureux
f32a06e470 You can create an inherited scene based on an already opened scene. 2016-01-06 17:46:45 +01:00
Rémi Verschelde
820770e2e0 Merge pull request #3187 from neikeq/fix_3186
Fix editor layout saving
2016-01-06 11:58:03 +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
a82e6f0baa Merge pull request #3219 from nounoursheureux/change_subscene_string
Change Import > Sub-Scene to Import > Node from scene
2016-01-06 11:48:22 +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
Juan Linietsky
010e3e0ac7 -completely rewritten filesystem dock and internal editor filesystem management, fixes #1926
-filesystem dock now tracks objects and directories in real-time, fixes #2009
2016-01-05 10:36:24 -03: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
d5b8131f27 small usability improvement, change everything related to resolution and scaling together in the project settings, closes #1974 2016-01-03 19:47:07 -03:00
Juan Linietsky
908f75c23f having active items is pointless in input map 2016-01-03 18:52:42 -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