Commit graph

1634 commits

Author SHA1 Message Date
Juan Linietsky
bfe67a3b87 Make Godot detect if the screen is too small (<1200 pixels wide), and use single dock column like in 1.0 if that's the case. 2016-09-13 11:20:09 -03:00
Juan Linietsky
8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
Juan Linietsky
08b096ccc2 Distraction free icon was missing 2016-09-13 09:48:12 -03:00
Juan Linietsky
f10d2bd394 -Add a distraction free mode button (so users know it's there)
-Made distaction free not hide the top bar, it's more loss than gain to hide it
-Fix fullscreen toggling and added a menu option for it so it's also visible in settings.
2016-09-13 09:48:12 -03:00
Juan Linietsky
043a7a1e06 Added favorites and recent history to create dialog 2016-09-12 23:23:36 -03:00
Juan Linietsky
f51b202566 Modified resource menu for node scripts so it always goes through the new script wizard. 2016-09-12 19:32:09 -03:00
Rémi Verschelde
dc6eefdbf2 Merge pull request #6465 from Paulb23/script_highlight_color_update
Update current script color on change
2016-09-12 16:33:28 +02:00
Paulb23
a0136838b3 Update current script color on change 2016-09-12 15:19:30 +01:00
Juan Linietsky
37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Juan Linietsky
c40ab446c9 Changed default assignment of shorcut for alt-left/right to history next/prev, which is more standard and useful.
Indent can be done with tab and shift-tab anyway.
If you don't like this, feel free to reassign them manually in the editor settings :P
2016-09-11 12:27:14 -03:00
Juan Linietsky
95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky
1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
2a003d7b4e fix get_selected_nodes() 2016-09-10 17:50:20 -03:00
Juan Linietsky
65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky
491dde2eb4 Made it possible to properly draw over the 2D canvas for 2D objects. Arranged some functions to achieve this. 2016-09-10 16:44:03 -03:00
Juan Linietsky
67d3935eb1 -Added way to generate resource previews from script plugin.
-Updated documentation
2016-09-10 15:32:17 -03:00
Juan Linietsky
75f292f8eb Add API for inspecting objects from EditorPlugin, as requested in one of the comments of #6254 2016-09-10 14:44:28 -03:00
Juan Linietsky
4d664c9289 Merge pull request #5692 from kubecz3k/remoteTransform
Remote transform node (for 3d)
2016-09-10 12:28:47 -03:00
Juan Linietsky
fc61eb37ce Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
3c30a3b1aa Merge pull request #6137 from supaiku-o/master
Add a Close All files option to script editor
2016-09-10 12:07:39 -03:00
Ralf Hölzemer
991a433cb3 Move hardcoded theme colors from editor_node into editor_themes 2016-09-09 20:16:13 +02:00
Rémi Verschelde
8af99ef1c6 Merge pull request #6436 from djrm/icons
Tweaked some icons, including xform one
2016-09-09 07:46:42 +02:00
Daniel J. Ramirez
56f9adac3b Tweaked some icons, including xform one 2016-09-08 19:22:30 -05:00
Ignacio Etcheverry
7c4f6c654b Merge pull request #6190 from iammangod96/patch-1
Fixed running the game before saving scene
2016-09-08 22:10:50 +02:00
Paulb23
a82ecf6d80 Added customisable grid color, issue 3781 2016-09-08 14:53:39 +01:00
Rémi Verschelde
633f940c96 Merge pull request #6368 from Garmelon/issue-6320
Tilemap editor: Bucket tool - allow deleting and replacing of tiles
2016-09-08 07:58:06 +02:00
George Marques
6aedff7968 Merge pull request #6418 from RandomShaper/canvas-show-hide-bones
Add show bones checkable menu item
2016-09-07 23:53:46 -03:00
Juan Linietsky
828e1c092f Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C# 2016-09-07 19:39:57 -03:00
Rémi Verschelde
19bd661a8f Merge pull request #6421 from Paulb23/highlight_current_script_issue_5450
Added setting to change current script background color, issue 5450
2016-09-07 20:42:36 +02:00
Paulb23
9e92fcaef9 Added setting to change current script background color, issue 5450 2016-09-07 17:54:20 +01:00
Pedro J. Estébanez
17c5fc5955 Add show bones checkable menu item 2016-09-07 11:10:28 +02:00
Geequlim
c1f23bb6af Fix dialogs in ProjectManage don't with editor theme issue 2016-09-07 15:21:15 +08:00
Pedro J. Estébanez
0960887625 Expose light shadow color to canvas item shaders 2016-09-07 01:52:54 +02:00
Juan Linietsky
0094c30938 Do not expose resource/ properties in sectioned property editor, closes #6396 2016-09-06 19:38:31 -03:00
Rémi Verschelde
a66a23fafe Merge pull request #6410 from supaiku-o/issue-6029
Always show output panel when debugging
2016-09-06 07:51:50 +02:00
Rémi Verschelde
d7cf27b507 Merge pull request #6406 from volzhs/create-folder
Select newly created folder on Directory dialog
2016-09-06 07:51:05 +02:00
supaiku
8514eaf34b Always show output panel when debugging 2016-09-06 01:46:50 +02:00
volzhs
28a0ed75ba Select newly created folder on Directory dialog 2016-09-06 07:33:59 +09:00
Joscha
acd41d964a Tilemap editor: Bucket tool - allow deleting and replacing of tiles 2016-09-02 12:04:52 +00:00
Juan Linietsky
5567350e1b -Reworked constant nodes better
-Added simple switch node, removed InputEventFilter
2016-08-31 12:50:46 -03:00
Rémi Verschelde
ace2ad961c Merge pull request #6228 from manokara/tilemap-someinfo
Add mouse position information in TileMap.
2016-08-31 07:42:14 +02:00
Mark Nokalt
cd71fcb097 editor: Add mouse position information in TileMap 2016-08-30 19:58:17 -03:00
Rémi Verschelde
a69544c45b Merge pull request #6245 from volzhs/issue-6154
Change "Disable Filter" to "Enable Filter" on Font Import window
2016-08-29 19:05:21 +02:00
Rémi Verschelde
79068e348f Merge pull request #6223 from RandomShaper/improve-gridmap-edit
Improve/fix GridMap editor
2016-08-29 19:05:00 +02:00
Rémi Verschelde
e51d59ed98 Merge pull request #6188 from TheHX/undo-redo
Implemented UndoRedo mergeable modes
2016-08-29 19:04:42 +02:00
Rémi Verschelde
91a5c77282 Merge pull request #6185 from TheHX/pr-issue-3496
Better editor settings for the FileSystem dock
2016-08-29 19:04:33 +02:00
Rémi Verschelde
23cb5efe7c Merge pull request #5956 from djrm/tree_behavior
Double click on scene tree element to focus currently selected node
2016-08-29 18:28:05 +02:00
Rémi Verschelde
b3caf72b1d Merge pull request #6319 from djrm/icons
VS icons improvements
2016-08-29 08:09:15 +02:00
Daniel J. Ramirez
9465ce46c6 Colors for VS sockets and icons 2016-08-28 19:57:16 -05:00
Daniel J. Ramirez
372b5f2d04 VS icons improvements 2016-08-28 13:59:56 -05:00
volzhs
85f373691f check "disable_filter" option for backward compatibility 2016-08-28 20:25:35 +09:00
Rémi Verschelde
6c674375e5 Merge pull request #6249 from volzhs/issue-6121
Show last added action on Input Map
2016-08-28 12:02:08 +02:00
volzhs
2e5a4cb5ca Show last added action on Input Map and implement InputEvent "==" 2016-08-28 15:18:13 +09:00
Daniel J. Ramirez
70c9979cce Double click on scene tree element to focus currently selected node
In 3D it will focus in the first viewport
Enable double click for trees
2016-08-27 17:15:49 -05:00
Rémi Verschelde
f3b2c217c6 Merge pull request #6259 from volzhs/issue-6244
Prevent to add node to selection when node is not inside tree
2016-08-27 22:28:40 +02:00
Rémi Verschelde
c29c70275e Merge pull request #6187 from TheHX/pr-pinfo-function
Added add_property_info function to Globals and EditorSettings classes
2016-08-27 22:04:50 +02:00
Rémi Verschelde
1b01246731 Merge pull request #6186 from TheHX/pr-issue-5878
Fix editor glitches when the mesh/material preview is shown
2016-08-27 22:01:20 +02:00
Rémi Verschelde
b6e206e995 Merge pull request #6108 from djrm/vs_type_icons_2
Icons for VScript types
2016-08-27 21:45:06 +02:00
Rémi Verschelde
475b944f9c Merge pull request #6094 from djrm/texure_region_zoom_by_scroll
Zoom texture region using mouse wheel
2016-08-27 21:43:55 +02:00
volzhs
4857eabddb Prevent to add node to selection when node is not inside tree 2016-08-27 23:16:41 +09:00
Juan Linietsky
ec49f41e19 Even more work on visual script editor:
-Added constructor nodes, specialized and conversion ones.
-Cleaned up how unconnected input default values are shown and edited (much cleaner)
-Dragging scene nodes into graph makes a call dialog appear by deault
-Dragging properties into graph is set by default, not get
-fixed dragging internal functions into graph
2016-08-26 17:38:25 -03:00
Ignacio Etcheverry
963ed2d9fa Merge pull request #6036 from neikeq/pr-issue-6030
Device Input dialog now uses containers
2016-08-26 19:54:43 +02:00
Juan Linietsky
9c6175db11 More visual script work
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Daniel J. Ramirez
8151da15e1 Icons for VScript types 2016-08-23 22:54:21 -05:00
Juan Linietsky
41a58f7935 tiny bug fix 2016-08-23 23:21:41 -03:00
Juan Linietsky
dc7139c90d Making bits of docs appear in different dialogues is made easier with EditorHelpBit 2016-08-23 23:15:16 -03:00
Juan Linietsky
ad8f208bdb Proper function/property selection in visual script editing for property.
This one has an ordered list, built-in description, search, etc.
2016-08-23 19:29:07 -03:00
volzhs
449ad2b37a Change "Disable Filter" to "Enable Filter" on Font Import window 2016-08-23 05:18:53 +09:00
Pedro J. Estébanez
7d35973486 Improve/fix GridMap editor
Fix cursor/palette update on tile eyedropping
Fix editor not cleaning its state when becoming inactive, which leaves indicators behind among other issues
Fix/improve menu/keyboard shortcuts
Merge 'Gridmap Editor' and 'Grid Map' settings into the latter
2016-08-21 03:41:19 +02:00
Manish Sharma
82728b3384 Fixed running the game before saving scene
Closes #6184
2016-08-18 09:49:07 +05:30
Franklin Sobrinho
debf574df3 Implemented UndoRedo mergeable modes 2016-08-17 17:14:51 -03:00
Franklin Sobrinho
9f242ed6e5 Added add_property_info function to Globals and EditorSettings classes 2016-08-16 17:10:53 -03:00
Franklin Sobrinho
f6b39827b1 Better editor settings for the FileSystem dock
* Save the current display mode when changing it from the dock
2016-08-16 15:27:00 -03:00
Franklin Sobrinho
a4c3d2dc89 Fix editor glitches when the mesh/material preview is shown 2016-08-16 12:10:44 -03:00
Rémi Verschelde
56fa741b7a Merge pull request #6165 from TheHX/pr-tile-palette
Small usability improvements on the TileMap editor tile palette.
2016-08-16 11:32:33 +02:00
Franklin Sobrinho
0fa26cd850 Small usability improvements on the TileMap editor tile palette.
* The column width changes with the zoom, now the icons don't overlap.
  * Added a tile hsepation setting.
  * Added a setting to show/hide tile names.
2016-08-16 06:00:47 -03:00
Rémi Verschelde
d11ca175c7 Merge pull request #6161 from djrm/icons
2d collision shape icons now uses the color for shape icons
2016-08-16 09:21:01 +02:00
Franklin Sobrinho
104653f9eb Expose additional functions for the EditorPlugin class 2016-08-15 14:49:58 -03:00
Daniel J. Ramirez
cbad6b3fae 2d collision shape icons now uses the color for shape icons 2016-08-15 12:40:57 -05:00
Johan Manuel
cec1c48a7e Fix various warnings
The warnings fixed were about things like unused variables, misleading
indentation, missing default cases in switches and better grouping of
conditions in if statements.
2016-08-13 13:21:35 +02:00
supaiku
3d84849e03 Added CLOSE_ALL files option to script editor 2016-08-13 02:56:38 +02:00
Daniel J. Ramirez
1e7d0c6ac1 Zoom texture region via mouse wheel 2016-08-09 17:28:40 -05:00
Daniel J. Ramirez
287b6d0e04 Some new icons for visual script and graphs 2016-08-08 17:23:31 -05:00
Rémi Verschelde
a22d1f21e1 Merge pull request #6050 from Hinsbart/remove_pm_file_import
Remove unused function in Project Manager.
2016-08-08 11:13:42 +02:00
Rémi Verschelde
a6643cf578 Merge pull request #6051 from neikeq/pr-imp-5882
Project Manager: Fix and improve unhandled input
2016-08-08 11:12:44 +02:00
Juan Linietsky
9865650b43 Added a simpler way to do sub-functions in both visual and gdscript with the subcall node.
With this, visual script is almost done (missing registering custom nodes from addon).
All this is probably pretty broken, too and needs a lot of testing.
2016-08-08 01:21:22 -03:00
Juan Linietsky
b77200728e -Added yield nodes to visual script
-Added input selection nodes to visual script
-Added script create icon for those who miss it, will only appear when it can be used.
2016-08-07 19:22:33 -03:00
Juan Linietsky
0ed5dbb24d removed extra print 2016-08-06 20:30:13 -03:00
Juan Linietsky
9714a36e65 Reverted printable null object, seems to cause bugs around and not sure why.
Will have to check better, likely for 3.0
2016-08-06 20:13:27 -03:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Juan Linietsky
259418f827 VisualScript can now execute visual scripts, but there is no debugger or profiler yet. 2016-08-05 22:48:00 -03:00
Ignacio Etcheverry
f3a75a42dd Project Manager: Fix and improve unhandled input 2016-08-05 16:06:16 +02:00
Andreas Haas
0df40cc29b
Remove unused function in Project Manager.
This has been deprecated by #5993
2016-08-05 16:01:45 +02:00
Saracen
b578cf4da8 TextureRegionEditor snap_mode fix. 2016-08-04 19:49:11 +01:00
Ignacio Etcheverry
9483d3cbf9 Device Input dialog now uses containers 2016-08-04 16:51:58 +02:00
Juan Linietsky
cd25624667 More work on visual scripting.. 2016-08-03 22:07:03 -03:00
Paulb23
e8780d9d32 Added missing license and quotation typo 2016-08-03 16:16:20 +01:00
Juan Linietsky
d8af6330e5 More progress on visual script editing 2016-08-03 11:28:43 -03:00
Juan Linietsky
3d1d190dcd Merge branch 'master' of https://github.com/godotengine/godot 2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb WIP visual scripting, not working yet but you can check out stuff 2016-08-02 19:11:05 -03:00