Commit Graph

1133 Commits

Author SHA1 Message Date
Wilhem Barbier f38473f65b Check the save path before importing a 3D Mesh 2016-05-18 20:55:24 +02:00
Geequlim 5ad6480979 Add 'Show In System' option into filesystem RMB menu 2016-05-18 15:48:40 +08:00
Juan Linietsky c195c0df6b -Added configuration warning system for nodes
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
Rémi Verschelde 8cb2e1be1b Merge pull request #4690 from volzhs/dnd-visual
Scenetree Nodes drag and drop visual representation
2016-05-17 17:24:36 +02:00
volzhs 3dd722d92f Scenetree Nodes drag and drop visual representation
fixes #4684
2016-05-17 23:27:35 +09:00
volzhs afd5186ca3 use case insensitive for searching nodes in Scene tree dock
fixes #4674
2016-05-17 23:03:46 +09:00
Rémi Verschelde 68dc685f1f Merge pull request #4652 from Paulb23/node_duplication_position
Node duplication positions under duplicated node, issue #964
2016-05-17 09:14:23 +02:00
Juan Linietsky a0dd7ec171 Missing translatable strings 2016-05-16 13:19:55 -03:00
Juan Linietsky f9d615ee87 Contextualized Scene Tree menu
-Added context menu to Scene Tree Dock
-Removed Buttons
-Added a filter to search for nods more easily in the dock
2016-05-16 12:23:58 -03:00
Juan Linietsky a2c4c17085 Experimental Right Mouse Button menu for SceneTree
Will eventually replace the buttons of that dock, so please test it!
2016-05-15 23:41:48 -03:00
Juan Linietsky 8b47e26f59 Changes to FileSystem Dock
-Replaced buttons for file actions fo RMB menu
-Added a split mode, if the dock is not sharing vertical space with
anything else
-imroved drag and drop support
2016-05-15 20:25:51 -03:00
Juan Linietsky bed3efb17e New reworked AnimatedSprite!
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library,  etc.
2016-05-14 23:48:45 -03:00
Paulb23 aee156dc02 Node duplication positions under duplicated node, issue 964 2016-05-13 20:05:52 +01:00
volzhs 82600944bd Add SpinBox to Lossy Quality on Image Groups
fixes #3653
2016-05-13 21:39:29 +09:00
Juan Linietsky 0c57a58056 ability to drag scenes from filesystem to tree for instancing 2016-05-11 20:57:52 -03:00
Rémi Verschelde 7b471068cf Merge pull request #4612 from bojidar-bg/fix-anchor-builds
Fix #4588 (crash in Control::_set_anchor)
2016-05-11 17:46:29 +02:00
Juan Linietsky d7318f6965 -begun implementing drag & drop editor wide
-filesystem dock dnd support
-property list dnd support
-scene tree dnd support
2016-05-11 11:59:03 -03:00
Bojidar Marinov 0b572b35c2 Fix #4588 (crash Control::_set_anchor)
Thanks to @vnen for testing this
2016-05-10 20:23:58 +03:00
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
Juan Linietsky f909634832 -make sure single select after multi select works better
-fixed some warnings for OSX
2016-05-04 17:41:58 -03:00
Rémi Verschelde fb277dbde6 i18n: Don't make print_line calls translatable 2016-05-04 15:28:37 +02:00
Mattias Cibien f8322c9948 Remove double incluson of scene/gui/dialogs.h
Removed a double inclusion of scene/gui/dialogs.h in file
editor_file_dialog.h
2016-05-04 10:54:59 +02:00
Rémi Verschelde a79e390613 Merge pull request #4543 from djrm/better_hint_all
Changed barely visible PROPERTY_HINT_ALL_FLAGS buttons for checkboxes
2016-05-04 08:36:14 +02:00
Juan Linietsky dd69aeceac Merge remote-tracking branch 'origin/master' 2016-05-03 22:32:38 -03:00
Juan Linietsky 567cb691ec Modified editor strings to be translatable in the future 2016-05-03 22:25:37 -03:00
Daniel J. Ramirez 723c0d730c Changed barely visible PROPERTY_HINT_ALL_FLAGS buttons for checkboxes 2016-05-03 16:20:09 -05:00
Ignacio Etcheverry 107e62be70 Fix checking unsaved changes only in current scene 2016-05-02 14:46:49 +02:00
Juan Linietsky 5bb7cef836 Support for dynamic fonts (TTF)
Added support for DynamicFont, which can load a TTF of any size to use
as a font. No import required.
2016-05-01 23:13:06 -03:00
Rémi Verschelde 8ceab5ddaf Debugger: Fix breaked signal binding (#4508)
Closes #4270.
2016-05-01 23:06:30 +02:00
Rémi Verschelde 8dc9e55707 Merge pull request #4502 from volzhs/import-font
Allow any directory for custom character set and gradient image file …
2016-05-01 11:38:37 +02:00
Rémi Verschelde ab7886ffc4 FileDialog: reset mkdir label after use (#4500)
Closes #1686.
2016-05-01 11:38:24 +02: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 78adbf4790 Project manager: unescape project names (#4494)
Fixes #3609
2016-05-01 11:37:32 +02:00
Franco Eusébio Garcia a735573327 Add math/script expression evaluation in editor (#3620)
Rebase of #453
2016-05-01 10:33:32 +02:00
volzhs b172cb524d Allow any directory for custom character set and gradient image file when import font
fix #4486
2016-05-01 16:59:46 +09: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
Rémi Verschelde 4e8cb708ec Merge pull request #4473 from Paulb23/shader_editor_color_fix
Fixed shader editor syntax coloring
2016-04-29 07:31:02 +02:00
Juan Linietsky 0fa588a830 move Font to BitmapFont
so we can add DynamicFont later..
2016-04-28 22:21:36 -03:00
Paulb23 bda5ea0871 Fixed shader editor syntax coloring 2016-04-29 01:35:03 +01:00
Rémi Verschelde ea0231a56c Merge pull request #4468 from Hinsbart/better_axis_desc
More precise InputMap Axis descriptions in project settings.
2016-04-28 20:54:49 +02:00
Rémi Verschelde 8ae279a5e7 Merge pull request #4466 from eska014/move-export-debug-toggle
Make export GUI debug toggle more obvious
2016-04-28 20:54:39 +02: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
eska ab4caa7953 Move export GUI debug toggle to export settings window 2016-04-28 16:13:26 +02:00
Hinsbart 418049b741 More precise InputMap Axis descriptions in project settings.
Now it's "Left Stick {Up, Down, Left, Right}" instead of just "Left Stick" repeated 4x.
2016-04-28 15:53:49 +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
Rémi Verschelde 3348dea78b Merge pull request #4359 from neikeq/pr-issue-4351
Fix 'Quit to Project Manager' not stopping the running application
2016-04-18 08:17:30 +02:00
Rémi Verschelde f124b5e0ac Merge pull request #4299 from neikeq/pr-issue-4297
Keep editable instances data when replacing tree root node
2016-04-18 08:09:53 +02:00
Ignacio Etcheverry e48c07750f Fix 'Quit to Project Manager' not stopping the running application 2016-04-17 23:13:45 +02:00
volzhs 86c6326057 correct typo "overwrite" 2016-04-14 20:52:30 +09:00
Ignacio Etcheverry 3029f5ee02 Keep editable instances data when replacing tree root node 2016-04-12 20:49:43 +02:00
Marc Gilleron 84d706cb35 Made trackpad behaviour optional in 3D mode (issue #4265) 2016-04-12 03:37:35 +02:00
Rémi Verschelde 9d754247d9 Merge pull request #4266 from Paulb23/line_number_color
Added a setting to change the line number color
2016-04-11 11:17:52 +02:00
Paulb23 189b306722 Fixed undo redo interaction with find replace 2016-04-09 01:27:14 +01: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
Rémi Verschelde 0a5472e697 Remove trailing spaces 2016-04-02 20:26:12 +02:00
Paulb23 474911c533 Option to toggle line numbers 2016-03-30 19:16:52 +01:00
Paulb23 9d74b76a69 Stopped save scene flicker, issue 4118 2016-03-26 20:32:36 +00: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
Saracen 3741bc70fe Added listener spatial node. 2016-03-20 02:10:04 +00:00
demolitions fb58bafc54 Fixes #3942 - Throws an error when exporting for X11 with no filename 2016-03-18 23:37:31 +01:00
demolitions 4e59d1c51f Fix for #4014, changed to 2 instead of 3 chars to trigger search 2016-03-18 17:07:07 +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 c1a1adae28 Merge pull request #4051 from AlexHolly/fileeditor-open-any
(editor)filedialog open file and dir MODE_OPEN_ANY
2016-03-15 08:45:01 +01: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
Rémi Verschelde bb22db5704 Merge pull request #4052 from TheHX/issue-4048
Fix crash when importing sub-scenes
2016-03-14 17:42:42 +01:00
Rémi Verschelde c30bebd1d3 Merge pull request #4017 from Paulb23/set_tab_size
Added configurable tab size in the text editor.
2016-03-14 17:12:15 +01:00
Franklin Sobrinho cb7db2d430 Fix crash when importing sub-scenes 2016-03-14 13:07:35 -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
Alexander Holland 751c1deef1 (editor)filedialog mode open any 2016-03-14 16:03:18 +01: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
Juan Linietsky 8b1dcbfe4d -Made editor support SSL certs by default (embedded them)
-Made asset sharing support https
-Many fixes to HTTPRequest
-Added an asset installer dialog
-Visual cleanups to asset sharing tab
-Fixed some issues in ScrollContainer, hope it does not break things
-Asset sharing tab is not visible (hidden on purpose) for now.
2016-03-12 10:46:38 -03:00
Juan Linietsky d85f06c42d -more progress to asset sharing client, but still disabled by default 2016-03-12 10:46:38 -03:00
Rémi Verschelde ebc581becf Merge pull request #4011 from neikeq/fix_regr_3280
TileSet Export: Avoid invalid error when merge is enabled but file doesn't exist
2016-03-11 07:10:48 +01:00
Ignacio Etcheverry 897b33ce77 TileSet Export: Avoid invalid error when merge is enabled but file does not exist 2016-03-11 01:20:01 +01:00
Hubert Jarosz 7b07bcaf44
fix six possible "divide by zero" 2016-03-09 00:18:23 +01:00
Hubert Jarosz bf7f9244a9 fix two reading uninitialized pointers
fixed in:
tools/editor/project_settings.cpp
scene/gui/graph_edit.cpp
2016-03-09 00:16:56 +01:00
Hubert Jarosz 19ea9ae1e5 fix possible crash in tools/editor/editor_import_export.cpp
da could be NULL, and dereferencing NULL could lead to crash
2016-03-09 00:16:56 +01:00
Hubert Jarosz 96d6a74e25 fix possible crash in tools/editor/spatial_editor_gizmos.cpp
spatial_node and base where uninitialized, which could lead to crash
2016-03-09 00:16:56 +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 48524384d6 Fix Project Settings dialog add/delete global variable 2016-03-06 11:22:21 -03:00
Rémi Verschelde 61e63b635c Merge pull request #3927 from TheHX/issue-3645
Added search box in Class List dialog (Script Editor)
2016-03-06 09:46:25 +01:00
Rémi Verschelde 4fb729362b Merge pull request #3932 from TheHX/issue-807
The help page now show the entire object hierarchy
2016-03-06 09:43:14 +01:00
Franklin Sobrinho fdd1209276 The help page now show the entire object hierarchy 2016-03-05 14:44:39 -03:00
Franklin Sobrinho b79e83ad6f Removed "__editor_plugin_screen__" metadata creation 2016-03-05 12:29:16 -03:00
Franklin Sobrinho cc6a6ef08c Added search box in Class List dialog (Script Editor) 2016-03-05 07:59:04 -03:00
Juan Linietsky 5a9b18b665 -Work on addon editor plugin (disabled by default)
-New HTTPRequest node, to make HTTP requests simpler.
2016-03-04 11:10:48 -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 210d332def -wip on addon editor
-fixes instantiable subclasses not working, as reported in #3871
2016-02-29 09:57:38 -03:00
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