Commit graph

2774 commits

Author SHA1 Message Date
Max Hilbrunner
dce4bf96cc
Merge pull request #17582 from Ovnuniarchos/TMapEditorMultiSel
Tile randomizer for tilemap editor.
2018-07-03 18:30:02 +02:00
Benjamin
4cd69e91fc Update resource file project settings on rename 2018-07-03 18:08:41 +02:00
Max Hilbrunner
b21c1f64cd
Merge pull request #18634 from groud/fix_control_child_of_node2d
Fixes the bad calculation of margin & anchors when child of Node2D
2018-07-03 18:06:15 +02:00
Max Hilbrunner
165f3c31a5
Merge pull request #19166 from Grula/issue-18779
Changed "Syntax Menu" into radio Menu
2018-07-03 17:39:17 +02:00
Max Hilbrunner
deb005c966
Merge pull request #19156 from volzhs/fix-remove-split
Fix unable to remove split on Polygon 2D editor after restarting editor
2018-07-03 17:37:01 +02:00
Max Hilbrunner
fb838bf1b4
Merge pull request #19192 from marcelofg55/undo_redo_msg
Add a message when there is nothing to Undo or Redo
2018-07-03 17:32:16 +02:00
Max Hilbrunner
24ce1ace13
Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferred
Increases settings apply speed and added deferred color setting to ColorPicker
2018-07-03 17:01:23 +02:00
Max Hilbrunner
0705eb904a
Merge pull request #19251 from YeldhamDev/script_templates_changes
Small changes to the comments in the script templates
2018-07-03 16:48:03 +02:00
Max Hilbrunner
9e5b2ce99e
Merge pull request #18305 from groud/inputmap_gui
Move the deadzone to a column in the input project settings
2018-07-03 16:35:20 +02:00
Juan Linietsky
e179bf0726 Ensure, if a texture meant for a normal map is imported and size limit exists, that it's renormalized after resize. 2018-07-03 10:56:31 -03:00
Max Hilbrunner
74369229de
Merge pull request #19634 from guilhermefelipecgs/fix_shortcut_conflict
Remove shortcut conflict
2018-07-03 15:47:48 +02:00
Max Hilbrunner
beefe98974
Merge pull request #19635 from bojidar-bg/19158-exported-array-new-inspector
Add proper type information to array property
2018-07-03 15:47:02 +02:00
Max Hilbrunner
065d209f12
Merge pull request #19639 from volzhs/rescan-file-moved
Re-scan only when actually moving file
2018-07-03 15:35:14 +02:00
khairul169
0f616ff5d8 Hide play position if animation node is invalid 2018-07-03 13:24:47 +07:00
Guilherme Felipe
8c37df17ac Makes the group dialog resizable 2018-07-02 16:32:53 -03:00
Juan Linietsky
c02d8be59d further fixes to tag detection on importer 2018-07-02 05:54:58 -03:00
Juan Linietsky
beebd0b9de Add a condition to detect duplicates objects, so cases like object-col.323, common in blender, is still detected as collision. 2018-07-02 02:02:32 -03:00
Juan Linietsky
896e250f2b -Fix in animationplayback, sound would be cut on loop
-Fix on scene importer, keeping changes to animation tracks was not working
2018-07-01 17:45:19 -03:00
Ovnuniarchos
d9d78786dc Tile randomizer for tilemap editor. 2018-07-01 20:50:56 +02:00
Ibrahn Sahir
e1b14db86a Corrected art depo link in editor icons readme. 2018-07-01 13:51:04 +01:00
muiroc
0a36e974da added cylinder shape support 2018-07-01 11:16:54 +02:00
khairul169
0a67aa5ce4 Fix error msg when selecting popupmenu if there is no animation 2018-07-01 15:38:42 +07:00
volzhs
a9acb95ef4 Show current scene file in FileSystem dock 2018-07-01 11:47:34 +09:00
Juan Linietsky
b3627e29f0 -Fixes to OBJ importer, option to disable optimization
-Fixes to script language, PlaceHolder can now get and check methods
2018-06-30 19:59:16 -03:00
Michael Alexsander Silva Dias
02181292b8 Minor changes to the AnimationPlayer editor. 2018-06-30 00:12:05 -03:00
Rémi Verschelde
5d7f9f804a Revert "Fix saving unmodified scenes and resources"
This reverts commits 28ab60422d
and 7821b70a00.

Fixes #19576, and likely the fact that subresources are no
longer saved when saving scenes with no change.
2018-06-29 08:38:49 +02:00
JFonS
e245efaead Fix selection in 3D orthogonal view 2018-06-28 14:59:39 +02:00
Michael Lee
2adfdbe184 Preventing an editor crash in the event that a plugin scene's root-node is null. 2018-06-28 00:18:53 -05:00
Juan Linietsky
eeab3502d5 Changes to how node paths are selected from property, allowing setting a hint. 2018-06-27 20:50:25 -03:00
Juan Linietsky
9bab5134cf The way multiple quaternions being slerped was not good, changed approach to one that seems to work better. 2018-06-27 16:30:48 -03:00
Juan Linietsky
c633b770cb -Add root motion support in AnimationTree.
-Add RootMotionView, to debug root motion in 3D (disabled in runtime)
2018-06-26 19:06:16 -03:00
Rémi Verschelde
f036353b93
Merge pull request #19164 from marcelofg55/tilemap_undo2
Improve TileMap undo operations, second try
2018-06-26 20:57:39 +02:00
Juan Linietsky
8c7da84e1e renamed AnimationGraphPlayer to AnimationTree 2018-06-25 18:40:24 -03:00
Thomas Herzog
0f7c35f955 added BlendSpace1D editor plugin
This commit also fixes a crash in the BlendSpace2D as well as correct
the drawing of the x-zero indicator in the BlendSpace2D editor plugin.
2018-06-25 21:46:12 +02:00
Thomas Herzog
84252f2ec4 added AnimationBlendSpace1D 2018-06-25 21:36:53 +02:00
Thomas Herzog
1ff7aa4c9b rename BlendSpace to BlendSpace2D 2018-06-25 21:36:10 +02:00
Juan Linietsky
4f5a7ebaec State machine animation node 2018-06-25 16:22:41 -03:00
George Marques
c45a8a574a
Remove extra addition to tree of editor autoloads
Fix #19675
2018-06-25 13:07:14 -03:00
Rémi Verschelde
0954c8f017
Merge pull request #19744 from marcelofg55/profiler_clear
Add a Clear button to the profiler
2018-06-25 17:01:46 +02:00
Rémi Verschelde
baf85f299c
Merge pull request #19728 from Chaosus/theme_strings
Changed themes presets to String format
2018-06-25 16:39:23 +02:00
Rémi Verschelde
4e867a1d7a
Merge pull request #19698 from Chaosus/theme_submenu
Move Theme options to submenu
2018-06-25 16:24:39 +02:00
Juan Linietsky
ad4666f8e0
Merge pull request #19193 from tagcup/quat_norm
Fixed Basis -> Quat conversions, added a few safety checks.
2018-06-25 10:58:04 -03:00
Răzvan C. Rădulescu
e8315f306c Rename 'Discard Instancing' to 'Make Local'
Rename the option in the right click menu in the Scene nodes
because Discard Instancing is confusing (it could imply deleting the
instance). I renamed it to Make Local which is used for example in
Blender as well when talking about appending assets from other files.
I think it's clearer. Or it can be renamed to Make Instance Local, but I
thought it's a bit oo long so I went just with Make Local as this option
appears in the menu only when the node is an instance anyway.
2018-06-25 15:54:05 +02:00
Marcelo Fernandez
9634e3586c Add a Clear button to the profiler 2018-06-23 22:15:10 -03:00
Chaosus
f29f7bf0e7 Changed themes presets to String format 2018-06-23 18:38:01 +03:00
Rémi Verschelde
80f7eacf88 i18n: Sync translations with Weblate
(cherry picked from commit d04cc2855a)
2018-06-22 11:42:21 +02:00
Rémi Verschelde
8bf5b50222
Merge pull request #19695 from rraallvv/nocache_gen_master
Add NoCache wrapper to Command (master)
2018-06-22 09:44:45 +02:00
volzhs
b4f60ae3ac Fix crash when assigning a node on editing animation key 2018-06-22 14:48:49 +09:00
Nathan Harrell
6831bc422b Add ability to import projects via ZIP archive. 2018-06-22 00:55:16 -04:00
Juan Linietsky
2365fe472b Added auto triangle generation in blend space, using Delaunay. 2018-06-21 22:48:47 -03:00
Juan Linietsky
b76143bfde Remove error messages 2018-06-21 18:46:17 -03:00
Juan Linietsky
b80946ee0d Fix crashes, ability to add blendpsace into blendtree, ability to delete with delete key 2018-06-21 18:08:11 -03:00
Juan Linietsky
a0719533bd Animation Blend Spaces 2018-06-21 15:46:11 -03:00
Chaosus
7a18b95906 Move Theme options to submenu 2018-06-21 12:10:43 +03:00
Rhody Lugo
920224a535 add NoCache wrapper to Command 2018-06-21 03:00:33 -04:00
Rodolfo Ribeiro Gomes
01b01209a3 fix default glTF metallic & roughness factor values
The glTF 2.0 spec says that these pbrMetallicRoughness material
properties should be set as 1.0 by default.
In fact, KhronosGroup's official Blender Exporter does not even write
down those parameters if they are set as 1.0.

However, Godot import them as 0.0.

https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#pbrmetallicroughness

Fixes: #19613 https://github.com/godotengine/godot/issues/19613
2018-06-21 00:00:58 -03:00
Marcelo Fernandez
34045051d2 Fix profiler not updating on realtime 2018-06-19 21:42:29 -03:00
Juan Linietsky
0a1c1c660f -Added AnimationGraphPlayer (still missing features)
-Added ability to edit resources from built-in inspector (wip, needs testing and feedback)
2018-06-18 22:12:08 -03:00
volzhs
9501acaee6 Re-scan only when actually moving file 2018-06-19 07:43:16 +09:00
George Marques
5c5aafabec
Merge pull request #19632 from vnen/fix-editor-autoload-register
Fix order to register autoloads in-editor
2018-06-18 18:52:09 -03:00
Bojidar Marinov
8ecef3496c
Add proper type information to array property
Part of #19158
2018-06-18 22:24:31 +03:00
Guilherme Felipe
7c52824504 Remove shortcut conflict 2018-06-18 16:24:01 -03:00
Guilherme Felipe
b75ad7b6b0 Prevent animation player crash 2018-06-18 15:57:15 -03:00
George Marques
e1338ac0eb
Fix order to register autoloads in-editor 2018-06-18 15:52:46 -03:00
Rémi Verschelde
1d2ed8885d
Merge pull request #19573 from guilhermefelipecgs/fix_animation_preview
[AnimationPlayer] Fix preview for both AnimatedSprite (2D and 3D)
2018-06-18 15:11:06 +02:00
Bojidar Marinov
7b107cb180
Fix bug in animationplayer editor not using subproperties properly
Fixes  #19448
2018-06-18 15:59:13 +03:00
Rémi Verschelde
4c41f6c2ad
Merge pull request #19568 from guilhermefelipecgs/fix_editor_def
Fix path typo for editor def capitalize_properties
2018-06-15 17:11:46 +02:00
Guilherme Felipe
3511a7ac7e Fix path typo for editor def capitalize_properties 2018-06-15 11:51:09 -03:00
Rémi Verschelde
d4bdbbc7d4
Merge pull request #19553 from guilhermefelipecgs/fix_solarized_theme
Small improvement to solarized theme
2018-06-15 10:46:48 +02:00
Rémi Verschelde
f2cd1e0c15
Merge pull request #19544 from RandomShaper/gltf-shapes-names
Import morph target names from glTF
2018-06-15 09:33:44 +02:00
Guilherme Felipe
c75e7f4848 [AnimationPlayer] Fix preview for both AnimatedSprite (2D and 3D) 2018-06-14 19:34:16 -03:00
letheed
90c5f60f1d Tweak adaptative guideline and completion_background color 2018-06-15 00:31:43 +02:00
Guilherme Felipe
a63683e312 Small improvement to solarized theme 2018-06-14 09:07:40 -03:00
Pedro J. Estébanez
4810eae03b Import morph target names from glTF
If mesh.extras.targetNames is available. Keep the former naming pattern as fallback.
2018-06-14 00:25:22 +02:00
Rémi Verschelde
e5e23c7ebf Fix invalid DEFVAL in SpatialEditorGizmo::add_unscaled_billboard
Likely added by mistake in #19487.
Should fix #19543.
2018-06-13 22:29:54 +02:00
Paulb23
08c036b706 Removed duplicate default colours and removed GDScriptHighligher colours from main editor. 2018-06-13 18:25:02 +01:00
Paulb23
8f7e791ab6 Theme saving no longer hard coded 2018-06-13 18:21:44 +01:00
Guilherme Felipe
5bae3693bf Fix "find and replace" initializing with wrong size
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Rémi Verschelde
8efbe9ed3d
Merge pull request #19487 from JFonS/better_3d_select
Improve 3D selection
2018-06-13 18:49:35 +02:00
JFonS
9cd1c20f6a Polished 3D selection 2018-06-13 17:52:37 +02:00
Rémi Verschelde
44050cd24f
Merge pull request #19503 from akien-mga/osx-ctrl-cmd
Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
2018-06-13 15:43:54 +02:00
Rémi Verschelde
7bb6b39c10
Merge pull request #19514 from Chaosus/solarized_themes
Added Solarized Dark and Light themes
2018-06-13 15:17:43 +02:00
Rémi Verschelde
9c2de8ae2d
Merge pull request #19516 from groud/fix_crash_on_hover
Fixes a crash on draw_hover
2018-06-13 15:10:24 +02:00
Chaosus
e1abb84524 Added Solarized Dark and Light themes 2018-06-13 16:05:04 +03:00
Rémi Verschelde
9165e550f8 Style fixes for commit d5bb6faa 2018-06-13 14:42:55 +02:00
Rémi Verschelde
f0fa590210
Merge pull request #19526 from robojumper/fix_tutorials
Add support for tutorial links to makerst.py
2018-06-13 14:29:45 +02:00
steincodes
8ae652bd59 Fix for overwriting files and folders on move 2018-06-12 21:54:43 +05:30
robojumper
98b59cf2a3 Add support for tutorial links to makerst.py
Also change the <tutorials> structure to make use of individual <link> tags
2018-06-12 17:40:24 +02:00
groud
71cea6b515 Fixes a crash on draw_hover 2018-06-12 11:01:24 +02:00
Juan Linietsky
d5bb6faac7 -Make sure that ProjectSettings are properly dumped when dumping docs.
-Documented all properties of project settings

Update documentation for ProjectSettings
2018-06-11 13:41:16 -03:00
Rémi Verschelde
3f09cac267 Fix shortcuts using KEY_MASK_CTRL instead of KEY_MASK_CMD
KEY_MASK_CMD is automatically replaced by KEY_MASK_CTRL on non-OSX
and KEY_MASK_META (Command key) on OSX, so it should be used for all
Ctrl/Cmd + key shortcuts.

Also de-hacked the macOS shortcut replacements with proper conditional
definition. Not tested on macOS, cannot judge if they are good shortcuts.

Fixes #10761.
2018-06-11 07:53:28 +02:00
Michael Alexsander Silva Dias
fd17b960e9 Small changes to the comments in the script templates. 2018-06-11 02:04:51 -03:00
volzhs
12f93e9a0e Fix drag and drop autoload 2018-06-09 20:07:58 +09:00
Juan Linietsky
257d3c3f39 Bit more of visual polish 2018-06-08 21:03:27 -03:00
Juan Linietsky
e5b876e92a Remove the "go back" behavior in track editor for inspector based key editing, fixes #19434, fixes #19423 2018-06-08 19:21:26 -03:00
Juan Linietsky
66871322b9 Properly update range and valid key range when keys are in/out of view, fixes #19433 2018-06-08 17:58:37 -03:00
Rémi Verschelde
30491a88f3
Merge pull request #19452 from guilhermefelipecgs/fix_messages
Fix translate messages for new AnimationPlayer
2018-06-08 21:21:04 +02:00
Juan Linietsky
c8289d95cd Fixed cursor not updating in some circumstances, closes #19430 2018-06-08 16:08:24 -03:00
Gilles Roudiere
6daed7d122 Move the deadzone to a column in the input project settings 2018-06-08 20:04:32 +02:00
Guilherme Felipe
365bb077fe Fix translate messages for new AnimationPlayer 2018-06-08 14:44:18 -03:00
Juan Linietsky
7572b31a39 Disallow via add track for animation player to animate itself, fixes #19425 2018-06-08 13:59:29 -03:00
Juan Linietsky
9cb17d7af8 Avoid animation length from ever being completely, fixes #19420 2018-06-08 13:42:45 -03:00
Rémi Verschelde
3aed396a30
Merge pull request #19343 from bojidar-bg/x-fix-tilemap-shape-rotation
Fix bugs related to bad handling of rotated/translated shapes in tilemap
2018-06-08 18:15:51 +02:00
Juan Linietsky
a8dd5750e2
Merge pull request #19334 from guilhermefelipecgs/fix_popup
Fixes popup_centered_* methods, dialogs with wrong sizes and visual script editor
2018-06-08 13:00:53 -03:00
Rémi Verschelde
f35115309b
Merge pull request #19314 from Jellonator/master
Added autotile override
2018-06-08 09:11:49 +02:00
Rémi Verschelde
a6c9b11de1
Merge pull request #19437 from volzhs/live-edit-reparent-child
Make same child index as edited scene when using live edit
2018-06-08 08:10:46 +02:00
volzhs
cad3c41a91 Make same child index as edited scene when using live edit 2018-06-08 07:40:43 +09:00
groud
4d78e16bc1 Fixes the bad calculation of margin & anchors when child of Node2D 2018-06-07 21:25:15 +02:00
Juan Linietsky
b659fd6d74 Entirely new (and much improved) animation editor. 2018-06-07 12:52:00 -03:00
Guilherme Felipe
048f149478 Fix theme not updating with changes 2018-06-06 17:58:12 -03:00
Guilherme Felipe
7a3882723c Fix #16069, #19292, #19267 and #18940 2018-06-06 13:16:52 -03:00
Rémi Verschelde
07d4cd7f6d
Merge pull request #19388 from volzhs/show-filename
Show opened script or help name
2018-06-06 09:22:22 +02:00
volzhs
69ac6a1f3d Show opened script or help name 2018-06-06 06:18:11 +09:00
Rémi Verschelde
dd5398ce9d i18n: Sync translations with Weblate
(cherry picked from commit e8bfc09b81)
2018-06-05 22:41:42 +02:00
Rémi Verschelde
6bc9ac9cc3 i18n: Sync translation templates with current source
(cherry picked from commit 74808e71d2)
2018-06-05 22:41:34 +02:00
Guilherme Felipe
6676060805 [Inspector] Fix search field losing focus when typing
Fix #19382
2018-06-05 14:12:01 -03:00
Guilherme Felipe
262c78ed97 Fix Rect2 properties typo 2018-06-04 19:16:17 -03:00
Bojidar Marinov
d73cdeb248
Fix bugs related to bad handling of rotated/translated shapes in tilemap
Fixup #18529 and #12870
2018-06-03 16:32:23 +03:00
James Beedie
6cbafdea16 Added autotile override 2018-06-02 21:25:09 -04:00
NIkola Grulovic
bc666c42ff Syntax Menu as sub-menu of Edit
Moved syntax menu to be sub-menu of edit, as-well made choices radio buttons
2018-06-01 21:32:19 +02:00
Rémi Verschelde
ff0d295d9e
Merge pull request #19250 from YeldhamDev/scene_editor_tooltips
Minor changes to the Scene and Canvas editors' tooltips
2018-06-01 13:31:46 +02:00
Chaosus
cf38270ef7 Increase settings apply speed and added deferred color apply 2018-05-31 11:33:36 +03:00
Thomas Trocha
48e3ff0c8a EditorScenePostImport: added get_source_folder() and get_source_file() methods 2018-05-31 03:23:42 +02:00
Rémi Verschelde
59c2c21b15 Move NavigationMeshEditorPlugin to Recast module as should be
Modules can register their own editor plugins (like GridMap does),
so no need to put module-specific classes in the `editor/` folder.

Also cleans up the previous SCons env pollution from the Recast
module, integrating its code into libmodules as other modules.
2018-05-30 22:10:11 +02:00
Gabriel Gavilan
b7b63fe034 Improve breakpoints and breakpoint gutter API in TextEdit
Added breakpoint_gutter, is_breakpoint_gutter_enabled, set_breakpoint_gutter_enabled, get_breakpoints, remove_breakpoints.
Fixed breakpoint_toggled signal not fierd when text is edited.
Fixes #18026.
2018-05-30 14:39:44 +02:00
steincodes
25704427b5 Removing Duplicate Batch Rename from scene-tree menu 2018-05-30 18:03:08 +05:30
Marcelo Fernandez
cadd72793b Improve TileMap undo operations, second try 2018-05-29 19:35:30 -03:00
Michael Alexsander Silva Dias
589f18a374 Minor changes to the Scene and Canvas editors' tooltips. 2018-05-29 13:21:26 -03:00
volzhs
224ca96c57 Fix index out of size error of image.cpp 2018-05-29 14:13:05 +09:00
Rémi Verschelde
c8a799d691 Fix MethodInfo for EditorInspectorPlugin.can_handle 2018-05-28 16:28:09 +02:00
Rémi Verschelde
98846b39ee
Merge pull request #18899 from ibrahn/gdscript-license-info
GDScript access to copyright, license, author and donor information.
2018-05-28 11:58:20 +02:00
tagcup
9d41161596 Fixed Basis -> Quat conversions, added a few safety checks.
Fixes #19027.
2018-05-27 14:15:47 -04:00
Marcelo Fernandez
e9db8964e3 Add a message when there is nothing to Undo or Redo 2018-05-27 12:53:52 -03:00
volzhs
4ea8c6b1e1 Fix unable to remove split on Polygon 2D editor after restarting editor 2018-05-27 22:32:58 +09:00
Max Hilbrunner
8a9e7ab6a6
Merge pull request #15489 from willnationsdev/gdnative-hook
Add EditorPlugin.build() build callbacks
2018-05-26 19:01:45 +02:00
Max Hilbrunner
23b4b7d53a
Merge pull request #18234 from flashyincceo/font-preview
Adding font preview to file browsers
2018-05-26 18:31:48 +02:00
Max Hilbrunner
603af8055a
Merge pull request #19020 from toger5/better_light_theme_text_editor_behaviour
light theme text editor behaviour
2018-05-26 17:26:12 +02:00
Max Hilbrunner
6d45de38a5
Merge pull request #19179 from Zirak/instance-without-parent
Instance scene at root node by default
2018-05-26 17:18:11 +02:00
Zirak
595d377062 Instance scene at root by default
Fix bug in cdcfb9582e leading to the
root node not being selected by default.

Fix #18557.
2018-05-26 14:09:07 +00:00
Benjamin
98233073a9 Don't cut of long errors in debugger.
Autowrap to expand to up to 3 lines + display full error in tooltip.
2018-05-26 13:52:16 +02:00
Rémi Verschelde
ba125a60a4
Merge pull request #18931 from guilhermefelipecgs/fix_find_bar
[Doc] Fixes in find bar
2018-05-25 17:49:36 +02:00
Rémi Verschelde
665319de35
Revert "Improve TileMap undo operations" 2018-05-25 13:00:28 +02:00
Rémi Verschelde
5ac70d96d0
Merge pull request #19115 from firefly2442/cppcheck-defensive
cppcheck - defensive programming on i index check order
2018-05-25 11:57:28 +02:00
Rémi Verschelde
0929caea82
Merge pull request #19135 from Zylann/fix_find_in_files_2
Fix potential bugs with Find in Files
2018-05-25 11:37:04 +02:00
Rémi Verschelde
d522bf3b9f
Merge pull request #18752 from danilo2205/enhanced_path_follow
Up Vector for Curve3D and OrientedPathFollow Implementation
2018-05-25 10:17:37 +02:00
Gilles Roudière
e19405b2b4
Merge pull request #19157 from volzhs/bone-visibility
Don't draw bones if it's not visible
2018-05-25 09:59:51 +02:00
volzhs
6a28bfe09c Don't draw bones if it's not visible 2018-05-25 13:01:15 +09:00
Marc Gilleron
6f6ee60e19 Fix potential bugs with Find in Files
- Iteration still going on after scan finished
- Comparing milliseconds with seconds
- Potential imprecision due to accumulating milliseconds (iteration could take fewer than 1ms)
- Folders to scan not cleared when a new search starts
2018-05-24 01:09:11 +02:00
Marcelo Fernandez
f1383f80bf Improve TileMap undo operations 2018-05-23 14:31:51 -03:00
Max Hilbrunner
d55351ed20
Merge pull request #19097 from volzhs/fix-import-filename
Make filename clipped on Import dock
2018-05-23 18:16:04 +02:00
Max Hilbrunner
65c49643c1
Merge pull request #19124 from volzhs/relative-node-path
Use relative node path when assigning a node on inspector
2018-05-23 17:47:05 +02:00
Max Hilbrunner
c594625944
Merge pull request #18876 from TailyFair/assetlib-console-spam
Fix AssetLib image loading
2018-05-23 17:31:00 +02:00
Max Hilbrunner
9f40a8d270
Merge pull request #19108 from vnen/autoload-fix
Only add autoloads in editor if they have tool scripts
2018-05-23 17:19:46 +02:00
volzhs
70e04ae26f Use relative node path when assigning a node on inspector 2018-05-23 23:43:47 +09:00
firefly2442
b22c1dd0f7 cppcheck - defensive programming on i index check order 2018-05-23 00:15:35 -06:00
George Marques
55b4b30ab2
Only add autoloads in editor if they have tool scripts 2018-05-22 13:26:13 -03:00
volzhs
9d5e1228ea Fix updating mesh when reimporting 2018-05-22 19:58:28 +09:00
volzhs
12fb5f58d9 Make filename clipped on Import dock 2018-05-22 16:56:16 +09:00
Guilherme Felipe
e8047e56d2 [InspectorDock] Change label offset 2018-05-21 20:59:54 -03:00
Karolis K
1a92906fe0 Fix AssetLib image loading 2018-05-21 21:09:09 +03:00
Max Hilbrunner
8289ff5fb3
Merge pull request #18951 from YeldhamDev/small_tooltip_changes
Small tooltip changes
2018-05-21 16:23:07 +02:00
danilo2205
dc639d334a Up vector implementation and OrientedPathFollow. 2018-05-20 19:51:56 -03:00
Ibrahn Sahir
8afb00a8ec fixup project_manager and find_in_files for text_changed signal change.
Background:
Commit 2abec59db9 removing text_changed
signal emmision from LineEdit::set_text broke the project manager and
find_in_files.
2018-05-20 16:45:22 +01:00
Juan Linietsky
9b567cc549 Dictionary editing support in inspector 2018-05-19 17:57:44 -03:00
Juan Linietsky
eded061668 Dictionary editing does the comeback to the inspector, fixes #19046 2018-05-19 16:10:19 -03:00
Ibrahn Sahir
1433c2cbbb GDScript access to copyright, license, author and donor information.
Adds following functions to the Engine singleton:
get_author_info - names of Godot authors
get_copyright_info - detailed source copyright get_license_info
get_donor_info - donor names
get_license_info - full text of licenses used, indexed by license names
get_license_text - the text of the Godot Expat license
2018-05-19 00:40:16 +01:00
toger5
c97a1b17fe light theme text editor behaviour 2018-05-18 20:45:38 +02:00
Michael Alexsander Silva Dias
6c058040b7 Small tooltip changes. 2018-05-18 14:54:40 -03:00
Juan Linietsky
9b5275b135 -Hid texture flags by default so they dont take so much space
-make curve texture preview not so large, so its easier to embed the editor
2018-05-18 12:37:18 -03:00
Michael Alexsander Silva Dias
03a6b0d926 Small visual changes for some filter bars. 2018-05-17 21:50:14 -03:00
Mariano Javier Suligoy
7eddb80b27
Merge pull request #18960 from isaacremnant/autotile_3x3_minimal
Restore support for minimal 3x3 autotile sets
2018-05-17 19:57:55 -03:00
Juan Linietsky
c5182a580a Working Drag & Drop again in inspector 2018-05-17 19:41:49 -03:00
Daniel J. Ramirez
9a365a1216 Moved inspector functionality from EditorNode to InspectorDock. 2018-05-17 16:29:26 -05:00
Juan Linietsky
4b5227ff77 -Ability to open resources in the same window
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
2018-05-17 18:03:05 -03:00
isaacremnant
e4f0ac558d Restore support for minimal 3x3 autotile sets 2018-05-17 09:49:14 -04:00
Rémi Verschelde
5e20a229eb
Merge pull request #18529 from swarnimarun/master
Fix StaticBody2D ignore in tileset bug
2018-05-17 09:35:51 +02:00
Eoin O'Neill
1378ca1e04 Added Rename Context Menu Option for SceneTreeDock 2018-05-16 23:27:07 +02:00
Rémi Verschelde
a404ceb128
Merge pull request #18930 from samdze/master
Changed the name displayed for built-in scripts in the Script tab with a more descriptive one
2018-05-16 23:14:34 +02:00
Rémi Verschelde
0888f75c25
Merge pull request #18934 from YeldhamDev/project_metadata_expose
Exposed set/get_project_metadata in EditorSettings
2018-05-16 23:13:47 +02:00
Rémi Verschelde
c31456b821
Merge pull request #18891 from groud/fix_bone_selection
Bring back 2D bone selection
2018-05-16 22:50:58 +02:00
Rémi Verschelde
9c5dfdaf06
Merge pull request #18938 from guilhermefelipecgs/missing_header
Add missing copyright headers
2018-05-16 22:50:09 +02:00
Guilherme Felipe
35024d4e7b Add missing copyright headers 2018-05-16 14:50:44 -03:00
Juan Linietsky
e62e7fd768 Properly show the property name on tooltip 2018-05-16 14:00:11 -03:00
Michael Alexsander Silva Dias
e03de3ddfc Exposed set/get_project_metadata in EditorSettings. 2018-05-16 12:44:15 -03:00
Guilherme Felipe
22041264ed [Doc] Fixes in find bar
- Automatically select all text when find bar called.
- Adjust the size height when first displayed.
2018-05-16 12:11:20 -03:00
Karolis K
8694f98170 AssetLib pagination modifications 2018-05-16 17:06:15 +03:00
Samuele Zolfanelli
375c94510f Changed the name displayed in the Script tab for built-in script with a more descriptive one 2018-05-16 15:23:56 +02:00
Juan Linietsky
dfd1331690 Allow editing of some unbound properties when hinted (or no range hinted) 2018-05-16 09:13:41 -03:00
Rémi Verschelde
fcc321f75f
Merge pull request #18921 from volzhs/margin-find-replace-bar
Add margin bottom with find/replace bar on script editor
2018-05-16 10:57:11 +02:00
Rémi Verschelde
98e5a3ea42
Merge pull request #18442 from StraToN/add-button-sort-methods-overview
Add a ToggleButton for alphabetic sorting in methods overview
2018-05-16 10:53:55 +02:00
volzhs
592ff9bb9d Add margin bottom with find/replace bar on script editor 2018-05-16 16:31:40 +09:00
Marcelo Fernandez
1dfb95de22 Fix compile error with clang 2018-05-15 20:43:00 -03:00
Juan Linietsky
005b69cf6e -New inspector.
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)

-
2018-05-15 17:14:31 -03:00
Rémi Verschelde
3b8bd50b41
Merge pull request #18894 from volzhs/fix-toggle-visibility
Respect visibility change by Scene dock when using Sync Scene Changes
2018-05-15 17:34:02 +02:00
volzhs
bcb24a0bb7 Respect visibility change by Scene dock when using Sync Scene Changes
Fix #18757 with keeping a feature introduced at 8343c9fbd
2018-05-15 23:13:48 +09:00
Gilles Roudiere
0021df3da3 Bring back 2D bone selection 2018-05-15 15:18:46 +02:00
Rémi Verschelde
0738ba6bc1
Merge pull request #18798 from jfaust/bugfix/scene-import-on-server-platform
Fix two issues preventing model import from working properly when platform=server
2018-05-15 10:28:17 +02:00
Rémi Verschelde
911d01c102
Merge pull request #18881 from groud/fix_hovered_nodes2D
Fixes hovered Nodes2D display in the editor (remove duplicates)
2018-05-15 10:24:44 +02:00
Rémi Verschelde
e928473190
Merge pull request #14848 from ianb96/ww
TextEdit Word Wrap
2018-05-15 10:23:24 +02:00
Gilles Roudiere
e614789882 Fixes hovered Nodes2D display in the editor (remove duplicates) 2018-05-15 09:37:23 +02:00
Juan Linietsky
47d4a011d8
Merge pull request #18545 from vnen/editor-autoload
Enable autoload in editor
2018-05-14 17:59:34 -03:00
Ian
e1fff4bc09 TextEdit word wrap 2018-05-14 16:17:48 -04:00
Rémi Verschelde
8c71cbbe3f
Merge pull request #18797 from TailyFair/assetlib-video-overlay
Added video thumbnail overlay in asset description
2018-05-14 08:39:27 +02:00
Martin Capitanio
1b8146f77b Editor: make custom bold font config working
Fixes #18737
2018-05-13 05:58:16 +02:00
Rémi Verschelde
fb8f71fe54
Merge pull request #18788 from Chaosus/fixblackpreviews
Fix black script previews
2018-05-12 09:40:24 +02:00
Rémi Verschelde
d5a0d653c8
Merge pull request #18800 from dragmz/removefile
fix for removing files
2018-05-12 09:40:14 +02:00
Max Hilbrunner
224d5371ff
Merge pull request #18742 from TailyFair/assetlib-fix
Fix AssetLib icon if remote icon load fails
2018-05-11 22:46:40 +02:00
Karolis K
0711d865e2 Thumbnail overlay for videos in AssetLib 2018-05-11 23:43:59 +03:00
Marcin Zawiejski
9ecc26ce59 fix for removing files 2018-05-11 21:37:08 +02:00
Josh Faust
4e58db9f12 Fix crash on editor startup when running with platform=server 2018-05-11 11:20:27 -07:00
Chaosus
a081507be7 Fix black script previews 2018-05-11 20:08:17 +03:00
Rémi Verschelde
eaa6613f06
Merge pull request #18770 from eska014/cmdline
Command line fixes
2018-05-11 14:20:50 +02:00
Julian Murgia
68b9fd79e4 Add button hbox with alphabetic sort toggle above methods outline. 2018-05-11 13:30:43 +02:00
Rémi Verschelde
f8d2bc6a87
Merge pull request #18781 from toger5/bold_font_error_message
fixed bold font error message
2018-05-11 08:20:20 +02:00
toger5
78af1e8dde fixed bodl font error message 2018-05-11 03:38:16 +02:00
Yaakuro
9a50a4442d Use mimetype according to glTF spec. 2018-05-10 23:21:05 +02:00
Leon Krause
af7926cf98 Allow exporting runnable presets from command line 2018-05-10 20:17:51 +02:00
Karolis K
c3e921fba3 Fix icon if remote icon load fails 2018-05-10 18:45:22 +03:00
Rémi Verschelde
919d802e66
Merge pull request #18183 from Paulb23/gdscript_highlighter_inital_changes
GDScript function definition and get_node shortcut syntax highlighting
2018-05-10 01:25:51 +02:00
Peter Folkins
365d814361 Adding font preview to file browsers 2018-05-09 13:34:30 -05:00
DmitryKrutskikh
965b6ac273 Disable 'run' button if any project not selected and tiny refactoring 2018-05-09 19:13:53 +03:00
Ben Hickling
31b6776f11 Added option to 2D and 3D curve editor to mirror curve tangent handles both in angle and/or length 2018-05-09 14:01:04 +01:00
Swarnim Arun
8529763a0f Fix tileset bug #18090 to use StaticBody2D position
Using staticbody2d position to affect the collision shape position whenever a tileset is created.

Formatting the code

Removed the most get/set from my old code.
2018-05-09 12:12:10 +05:30
Alessandro
4966bb5c67 Fix actions unfold in Input Map when events are modified 2018-05-08 18:38:14 +02:00
Rémi Verschelde
9dbfe5dc61
Merge pull request #17578 from endragor/ft-outlines
Perfect FreeType-based outlines for DynamicFonts
2018-05-08 15:37:00 +02:00
Guilherme Silva
d63cc11bee Change from "search dialog" to "search bar" on help screen 2018-05-08 12:19:32 +00:00
Hugo Locurcio
ce7056bb8d
Fix the 3D grid color setting hints
It was mistakenly changed to RGBA in #18525 when it should have
stayed RGB (the 3D grid does not currently support transparency).
2018-05-08 13:57:51 +02:00
Rémi Verschelde
e854a71fac
Merge pull request #18693 from AndreaCatania/patch-1
Fixed editor crash during editor closing
2018-05-08 11:00:41 +02:00
Ruslan Mustakov
5cd12f6649 Perfect FreeType-based outlines for DynamicFonts
- Implement outlines based on FreeType Stroker API. This allows
  artifact-free results, similar to what you will see in Web or any text
  editing tools. Outline is a part of DynamicFont rather than Label,
  because outlines have to be baked into the font's atlas. Font has a
  default outline_color and a Label can specify font_outline_modulator
  that will be multiplied with the Font's color to get the final result.

- draw_char now has to be called twice to fully render a text - first
  with p_outline == true for each character and then with
  p_outline == false for each character.

- Number of draw-calls is reduced from 5 to 2 per outlined character.

- Overall cleanup of DynamicFont code, extracted duplicated code pieces
  into separate methods.

- The change is backward-compatible - Labels still have outline
  properties that work exactly as they worked before.

Closes #16279.
2018-05-08 13:45:24 +07:00
Rémi Verschelde
64cb61619a
Merge pull request #15928 from StateOff/feature_batch_rename
Implements "Batch Rename" editor tool.
2018-05-08 07:36:24 +02:00
Andrea Catania
6c4916ddf5
Removed pointer deletion during editor closing 2018-05-08 00:59:22 +02:00
Juan Linietsky
80b9edf0f6
Merge pull request #16893 from GodotExplorer/debugger-improvement-3
Save runtime node as scene from remote scene tree.
2018-05-07 16:41:34 -03:00
Juan Linietsky
6d46f73ec3
Merge pull request #11973 from AndreaCatania/ragdoll
Ragdoll - Physical bone node
2018-05-07 16:12:27 -03:00
AndreaCatania
9e57a07fb6 Implemented ragdoll
Implementing ragdoll

Implementing ragdoll

Implementing ragdoll

Implementing ragdoll

Implementing ragdoll

a

Implemented implicit hierarchy.

Improved

Added some physics properties

Added bone offset to preserve COM, partially fixed scaling

work in progress

WIP

wip

Implemented Joint Gizmos

Implemented pin joint joint

Implemented all joints
2018-05-07 21:03:16 +02:00
Juan Linietsky
8b9b653e76
Merge pull request #18113 from toger5/bold_font
added bold font to editor (support for coustom bold font)
2018-05-07 15:54:44 -03:00
Juan Linietsky
8c30337565
Merge pull request #18684 from muiroc/fix_dragdrop_instancing
Editor: Makes dragdrop instantiation behavior consistent with the instance scene button
2018-05-07 13:34:09 -03:00
Juan Linietsky
dbe95e6b42
Merge pull request #18519 from TheYokai/connectionsdock_upgrade
ConnectionsDock - Additional Features (Edit Connection, Disconnect All) and Refactor
2018-05-07 13:17:46 -03:00
Juan Linietsky
d8ea68195a
Merge pull request #18525 from Calinou/improve-3d-grid
Improve the 3D editor grid
2018-05-07 13:09:03 -03:00
Juan Linietsky
b89e354ce6
Merge pull request #18610 from homer666/editor-popup-adjustments
Adjust default editor dialog window sizes
2018-05-07 12:09:49 -03:00
Juan Linietsky
14e9a6ae16
Merge pull request #18633 from groud/fix_2d_editor
Fix 2d editor
2018-05-07 11:55:26 -03:00
Juan Linietsky
6e9517ca83
Merge pull request #18642 from flashyincceo/engine-click
Fix script editor CTRL+CLICK on singleton functions
2018-05-07 11:49:34 -03:00
Max Hilbrunner
d4cdee5f9e
Merge pull request #15640 from willnationsdev/resource-saved-signal
Added EditorPlugin 'resource_saved' signal
2018-05-07 15:07:32 +02:00
Gilles Roudière
801657f64e
Merge pull request #18628 from raphael10241024/patch
fix : code editor's text size should change at least one each time when you try to change it using shortcuts
2018-05-07 15:06:02 +02:00
Max Hilbrunner
c587cac304
Merge pull request #18308 from ericmccarthy7/develop
Fix clone down newline bug
2018-05-07 14:49:23 +02:00
RaphaelHunter
eeb0534426 Fix:code editor text size should change at least one each time, don't mind how you setting your display scale 2018-05-07 17:50:44 +08:00
Max Hilbrunner
9b0c487dd4
Merge pull request #18587 from AlexHoratio/master
Defaults to instancing child at tree root when none selected
2018-05-07 09:28:49 +02:00
muiroc
884b239ca5 SpatialEditorViewport::_create_instance: pass GEN_EDIT_STATE_INSTANCED to scene->instance() 2018-05-06 19:13:23 +02:00
Unknown
cdcfb9582e Defaults to instancing child at tree root when none selected
If no node is selected, it will default to selecting the tree root node to instance a child under. This solves #18557
2018-05-06 15:10:57 +01:00
Unknown
c364a1278e LinkButtons are now responsive to engine theme
Fixes #18636, so now LinkButtons (like those in the asset store) will change font colour to remain visible in any engine theme, just like Labels etc
2018-05-05 21:19:44 +01:00
Peter Folkins
0c1a71b047 Fix script editor CTRL+CLICK on singleton functions 2018-05-05 13:23:47 -05:00
groud
7331ca6f63 Fixes some 2d bones display problems 2018-05-05 15:45:26 +02:00
groud
3962862ea3 Fixes several selection problems in the 2D editor 2018-05-05 11:50:23 +02:00
Max Hilbrunner
fc9fad925b
Merge pull request #18146 from mjtorn/gh-mjtorn-rtl-shadow
Implement font shadows for RichTextLabel
2018-05-05 07:01:04 +02:00
Max Hilbrunner
27ac6846dc
Merge pull request #18471 from TheYokai/new_script_context_option
'New Script' Option Added to FileSystem Docker Right Click Menu
2018-05-05 06:52:37 +02:00
homer666
7ff3b52dea Adjust default editor popup sizes 2018-05-05 12:09:56 +10:00
Juan Linietsky
af9a6202eb Fix bone refresh logic, closes #18564 2018-05-04 18:11:28 -03:00
Juan Linietsky
bf561c4946 Made bone handling for actual Bone2D a special case. Make custom bones appear like a custom (less important) option now. 2018-05-04 16:46:32 -03:00
Juan Linietsky
e68cbec1fa Make bones have more contrast with outline 2018-05-04 11:54:21 -03:00
Juan Linietsky
3bd0ca2a2d Skeletal deform working 2018-05-04 11:54:21 -03:00
Rémi Verschelde
6405dcb7db
Merge pull request #18595 from AlexHoratio/script_pos_columns
Script Editor now displays positional column
2018-05-04 09:58:35 +02:00
Rémi Verschelde
d6ddfdf004
Merge pull request #18601 from YeldhamDev/string_changes
Small changes for some strings
2018-05-04 08:16:54 +02:00
Michael Alexsander Silva Dias
5b0ddb1354 Small changes for some strings. 2018-05-03 18:07:18 -03:00
Juan Linietsky
b3e4bc562c Skeleton for 2D WIP 2018-05-03 17:29:56 -03:00
Rémi Verschelde
e9c1957a3e
Merge pull request #16358 from JFonS/particlesgizmo_box_fix
ParticlesGizmo solid box now follows actual visibility_aabb position.
2018-05-03 21:47:00 +02:00
Rémi Verschelde
460e551ddf
Merge pull request #16418 from bojidar-bg/15961-gdscript-array-export
Allow exporting arrays of resources in GDScript
2018-05-03 21:19:15 +02:00
Unknown
4e26e5e268 Script Editor now displays positional column
This solves #17931 and makes the script editor consistent with other text editors(Sublime, Gedit, Vim) in displaying the position rather than the raw number of characters.
2018-05-03 18:03:20 +01:00
Robin Hübner
b16eaf5827 Remove unused duplicate wireframe shortcut, fixes #18067
It also happens to do nothing currently.
2018-05-03 16:22:30 +02:00
Rémi Verschelde
2e474f42b8
Merge pull request #18552 from Falke117/trailingSpace
Folder name with trailing space fix
2018-05-03 11:31:14 +02:00
Rémi Verschelde
f3640621ad i18n: Sync translation templates with current source
(cherry picked from commit 056348a8c0)

Note: Still syncing with the 3.0 code for now to allow updating translations
in the 3.0 branch. We'll eventually switch Weblate to use the strings of the
3.1-dev branch once it is stable enough.
2018-05-03 11:27:01 +02:00
Rémi Verschelde
9bf0acbfcb i18n: Sync translations with Weblate
(cherry picked from commit ddbe559c04)
2018-05-03 11:26:49 +02:00
Felix Yang
164dceab28 Fix for Issue#18457 - Folder name with trailing space on Windows 2018-05-03 10:19:43 +02:00
Rémi Verschelde
741637b966
Merge pull request #18451 from volzhs/node-name
Check invalid node name
2018-05-02 22:21:31 +02:00
volzhs
6758b6c131 Check invalid node name 2018-05-03 00:00:06 +09:00
Juan Linietsky
4c3c510a80 WIP Polygon2D weight editing 2018-05-02 11:01:12 -03:00
Rémi Verschelde
a04323e89a
Merge pull request #18400 from groud/fix_lock_and_groups
Fixes locks and groups on 2d editor
2018-05-02 11:59:10 +02:00
Rémi Verschelde
de4ed8e706
Merge pull request #17059 from Jason0214/BugFix_favorite_updating
Editor:   update favorite dirs when dir got deleted
2018-05-02 10:53:31 +02:00
Rémi Verschelde
18c28c159d
Merge pull request #17196 from RandomShaper/improve-gui-touch
Implement universal translation of touch to mouse (3.1)
2018-05-02 10:47:49 +02:00
Rémi Verschelde
04a4270a34
Merge pull request #18338 from Zylann/fix_find_in_files
Fix Find in Files
2018-05-02 10:42:26 +02:00
groud
845a898f37 Fixes locks and groups on 2d editor 2018-05-02 10:37:37 +02:00
Rémi Verschelde
02a51c34ea
Merge pull request #18259 from Superwaitsum/MoveIcons
Changed Sprite Frame buttons for icons
2018-05-02 10:08:57 +02:00
Jason0214
b11d1196c4 remove favorited dirs if original dir deleted 2018-05-02 08:57:56 +08:00
Marc Gilleron
4c415001b2 Fix Find in Files:
- FileAccess was accessed null (remains of GDScript port)
- `_current_file` wasn't going up correctly in case a scanned directory had no subdirectories
- Paths stored in `_files_to_scan` were not full paths
2018-05-01 22:07:16 +02:00
Rémi Verschelde
1113a738ba
Merge pull request #18508 from AlexHolly/hide-tab-changed-debug-print
hide tab changed debug print
2018-05-01 19:19:12 +02:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Rémi Verschelde
c9abe88110
Merge pull request #16502 from Paulb23/multi_group_editor
Added multi group editor dialog, issue 13997
2018-05-01 18:18:05 +02:00
Pieter-Jan Briers
20dd2204db Adds z-index properties to TileSets. 2018-05-01 17:24:57 +02:00
George Marques
decf178033
Enable autoload in editor
- Tool scripts will be executed and can be accessed by plugins.
- Other script languages can implement add/remove_named_global_constant
to make use of this functionality.
2018-05-01 11:44:08 -03:00
Rémi Verschelde
007d1754e3 Revert "Added a more specific error message on export"
This reverts commit 00c689d625.

Reason: "Missing template" is just one possible explanation for
`err` being != OK here, it does not make sense to hardcode it in
the generic error message (and break translations doing so).
2018-05-01 13:07:11 +02:00
Rémi Verschelde
8dd2b2e6f5
Merge pull request #18434 from YeldhamDev/animation_autoplay_fix
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name
2018-05-01 11:47:37 +02:00
Rémi Verschelde
e1ef2f538f
Merge pull request #18380 from groud/fix_spacebar_panning
Fixes 2d editor panning not working
2018-05-01 08:56:13 +02:00
Rémi Verschelde
4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Superwaitsum
7d689dff71 Changed Sprite Frame move buttons for icons 2018-04-30 16:05:21 -05:00
Pedro J. Estébanez
de9d40a953 Implement universal translation of touch to mouse
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)

The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.

Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.

*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.

On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.

Plus: Improve/fix tracking of current mouse position.

** Summary of changes to settings: **

- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30 19:03:38 +02:00
Max Hilbrunner
196fc8599a
Merge pull request #18373 from KidRigger/working
Replaces CTRL with CMD in TileMapEditor for MacOS.
2018-04-30 19:00:41 +02:00
Max Hilbrunner
f274c8b74b
Merge pull request #18381 from groud/fix_hard_to_select_node2d
Fixes hard to select Node2D
2018-04-30 18:58:27 +02:00
Alexander Holland
31f28885f9 hide tab changed debug print 2018-04-30 18:41:11 +02:00
Max Hilbrunner
f1bbb59653
Merge pull request #18489 from Calinou/tweak-property-hint-ranges
Tweak the property hint ranges of caret blink and line length guideline
2018-04-30 18:19:09 +02:00
Max Hilbrunner
c408eb7520
Merge pull request #18506 from AlexHolly/export-more-specific-error-message
Added a more specific error message on export
2018-04-30 18:14:35 +02:00
Max Hilbrunner
a07f81fc2f
Merge pull request #18515 from djrm/pr_icons
Updated icons, add CSG icons
2018-04-30 18:10:31 +02:00
Hugo Locurcio
098f9b51b5
Improve the 3D editor grid
- The grid's primary and secondary colors can now be changed
- The number of grid steps (subdivisions) can now be changed
- The grid size can now be changed
- The grid is now darker by default
2018-04-30 14:24:54 +02:00