Commit graph

2391 commits

Author SHA1 Message Date
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
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
Guilherme Silva d63cc11bee Change from "search dialog" to "search bar" on help screen 2018-05-08 12:19:32 +00: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
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