Commit graph

4051 commits

Author SHA1 Message Date
Juan Linietsky 5d65100669 Icon was missing 2019-04-15 07:46:57 -03:00
Rémi Verschelde 0d87535dd7
Merge pull request #28011 from KoBeWi/rmb_housework
Small cleanup to SceneTree dock context menu
2019-04-15 11:46:01 +02:00
Rémi Verschelde adb41c8bee
Merge pull request #26678 from YeldhamDev/hide_addscript_multiselected
Hide "Add Script" button in Scene dock when multiple nodes are selected
2019-04-15 11:42:09 +02:00
Rémi Verschelde 39c5f363f7
Merge pull request #24654 from groud/better_dragging_autoscroll
Enhance tree scrolling when dragging
2019-04-15 10:35:08 +02:00
Rémi Verschelde 87ab468b79
Merge pull request #27931 from pyrophone/SceneTreeScriptFix
Fix for additional separators appearing when scripts are disabled
2019-04-15 10:24:37 +02:00
Yuri Roubinsky f213055e11
Merge pull request #28005 from Chaosus/vs_delete
Restored possibilty to delete multiple nodes in visual shaders via Delete key
2019-04-15 07:31:17 +03:00
Juan Linietsky 296c74072c Implement autokeying in Animation editor. 2019-04-15 00:49:03 -03:00
Juan Linietsky 8f762aefcd Oops I missed a line, continuation to 0d41f8f. 2019-04-15 00:05:27 -03:00
Juan Linietsky 0d41f8fb00 Avoid crash on changing snap mode when no animation exists, closes #28031 2019-04-15 00:02:17 -03:00
Juan Linietsky caaa492133 Also show length in FPS when using FPS mode for AnimationPlayer editor 2019-04-14 23:48:53 -03:00
Anders Stenberg 645c656571 Proper passing of the "transform_key_request"
signal from SpatialEditorViewport to InspectorDock
2019-04-14 22:27:59 +02:00
Juan Linietsky 4203266923 Add support for FPS snap in Animation Editor. 2019-04-14 16:43:38 -03:00
Tomasz Chabora d532a3f710 Small cleanup to SceneTree context menu 2019-04-14 14:04:04 +02:00
Chaosus 24faddc211 Added possibilty to delete multiple nodes in visual shaders via Delete key 2019-04-14 09:49:51 +03:00
Juan Linietsky 3f76d2c2f3 Ability to create sprite frames in AnimatedSprite from sprite sheet. 2019-04-13 22:15:31 -03:00
Chaosus 87f87839a6 Added conditional nodes to visual shaders 2019-04-13 18:17:20 +03:00
Michael Alexsander Silva Dias 27e500d4b3 Hide "Add Script" button in Scene dock when multiple nodes are selected 2019-04-13 11:05:10 -03:00
Paulb23 6ea253aa77 Restore script editor state between sessions 2019-04-13 13:07:12 +01:00
groud 14a901e88f Enhance tree scrolling when dragging 2019-04-12 21:58:48 +02:00
Gio Aleman f707266b52 Fixed scene tree bug when scripts are disabled 2019-04-12 11:44:45 -04:00
Juan Linietsky 9f4b5a91c0 Reorganized connection dialog for much improved ease of use.
-Removed dest path field
-Added a "Source" signal
-Added an "Advanced" button to hide complexity
-Fix bug on Tree to make sure "ensure visible" works on hidden trees
-Fix bug on TextEdit to ensure signals created with script not open sill focus the right line
2019-04-11 23:23:24 -03:00
Michael Alexsander Silva Dias d2a7624687 Fix position of tile names in TileSet editor when zooming in/out
Fixes #27713.
2019-04-11 19:03:03 -03:00
Juan Linietsky c1dcdf6109 No more metadata and dependency indices kept in resources saved.
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
2019-04-11 14:36:58 -03:00
Rémi Verschelde edc9097bc1
Merge pull request #27899 from KoBeWi/tree_focus
Focus SceneTree dock after creating new node
2019-04-11 15:53:10 +02:00
Rémi Verschelde 2ddb41a5d8
Merge pull request #27894 from nekomatata/fix-particle-errors
EditorFolding ignores hidden properties for folded resources
2019-04-11 09:42:10 +02:00
Juan Linietsky 5823b5d77d Bundled VHACD library for convex decomposition.
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
2019-04-10 17:47:28 -03:00
Rémi Verschelde 07b76c0376
Merge pull request #27170 from timoschwarzer/allow-whitespaces-in-warning-ignore-comments
Allow whitespaces in warning-ignore comments
2019-04-10 18:16:10 +02:00
Tomasz Chabora 9432e06e05 Focus SceneTree dock after creating new node 2019-04-10 17:01:42 +02:00
PouleyKetchoupp 790a78273f EditorFolding ignores hidden properties for folded resources (fixes #26663) 2019-04-10 12:11:14 +02:00
Hugo Locurcio 156faf535c
Make 3D snapping finer when holding Shift
This also changes the default rotation and scale snapping increments
to better make use of fine snapping possibilities.
2019-04-09 17:57:19 +02:00
Rémi Verschelde c8994b56f9 Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Rémi Verschelde 444fa4c1c8
Merge pull request #27853 from akien-mga/classref-tooltip
Fix TTR string for class reference tooltip
2019-04-09 17:01:11 +02:00
Rémi Verschelde bde77dc0b4
Merge pull request #27838 from akien-mga/Wlogical-op
Fix condition in editor icons filtering logic
2019-04-09 16:24:30 +02:00
Rémi Verschelde 38104bb89d Fix TTR string for class reference tooltip
Fixes #27852.
2019-04-09 16:06:39 +02:00
Rémi Verschelde 3da2894d82 FS dock: Allow deselecting items by clicking empty space
Fixes #27546.
2019-04-09 14:54:41 +02:00
Rémi Verschelde def6655964
Merge pull request #27553 from ShyRed/sprite2polygon
Add Sprite to CollisionPolygon2D and LightOccluder2D converter
2019-04-09 12:14:58 +02:00
Rémi Verschelde 5062b4a26b Fix condition in editor icons filtering logic
Fixes #27595.
2019-04-09 10:37:35 +02:00
Juan Linietsky 3474e1586d Changes to to feature profile editor
Changed "Disable Editor" to "Contextual Editor Enabled"
Do not show contextual editors for disabled classes.
2019-04-08 20:20:20 -03:00
Juan Linietsky a20235aeb0 Add ability to edit editor feature profiles
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Guilherme Felipe 6ab1ed5763 Change font of audio notches to default font 2019-04-08 11:14:37 -03:00
Rémi Verschelde 3c4938d59a i18n: Sync translations with Weblate 2019-04-08 12:37:48 +02:00
Rémi Verschelde 9d4623f994
Merge pull request #27716 from Calinou/script-editor-shift-find-previous
Find the previous match in script editor when pressing Shift + Enter
2019-04-08 12:25:28 +02:00
Rémi Verschelde a994db62df
Merge pull request #27644 from lupoDharkael/bus
Allow default audio bus layout modification
2019-04-08 11:06:35 +02:00
qarmin 856a8226a5 Small fixes, mostly dupicated code 2019-04-08 11:03:37 +02:00
Rémi Verschelde 668bf1fd0d
Merge pull request #27710 from Calinou/script-templates-typed-gdscript
Add support for type hints in non-default script editor templates
2019-04-08 10:13:59 +02:00
Rémi Verschelde 853af06f5a
Merge pull request #27770 from KoBeWi/moving_pan_v2
Allow panning while moving a node
2019-04-08 10:07:24 +02:00
Rémi Verschelde b07eab734a
Merge pull request #27660 from cse2410-team2/Issue#26246
Fix Cursor Color in the Label/RichTextLabel
2019-04-08 10:05:15 +02:00
Rémi Verschelde de33c37196
Merge pull request #27565 from SpechtMagnus/tileset_autotile_ignore_flags
Added ignore flag / wildcard bit to tileset autotile
2019-04-08 10:04:30 +02:00
Guilherme Felipe ccbf57611b [AnimationNodeBlendTreeEditor] Usability improvements
- Add possibility to exclude multiple (selected) nodes.
- Add context menu (Right click) to add nodes.
2019-04-07 23:28:23 -03:00
Magnus Specht a3af9d5714 + Added ignore flags to autotile bitmask
+ Added ignore functionality to tileset editor
+ Updated tileset editor autotile tooltip
+ Autotile ignore bits are processed and rendered correctl
2019-04-08 00:41:05 +02:00
Tomasz Chabora 7abd0a3976 Allow panning while moving a node 2019-04-07 16:43:21 +02:00
Chaosus 54bf313e07 Small hotfix to visual shader entries.. 2019-04-07 16:25:32 +03:00
Rémi Verschelde 3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Rémi Verschelde 694ec9b3d0
Merge pull request #26551 from ZahFox/editor-shortcuts
New shortcuts for the editor menu items
2019-04-07 13:49:12 +02:00
Rémi Verschelde 6475c990a2
Merge pull request #25311 from qarmin/third_point
Add third point to change size RectangleShape2D in two axis
2019-04-07 13:04:59 +02:00
Mariam Naiga d179cbc3c2 Fix cursor color in Label/RTL in editor
Fixes #26246.
2019-04-07 12:57:07 +02:00
Rémi Verschelde 9984ebba17
Merge pull request #27645 from theisegeberg/fix-wav-import-trim
Fix end pops when trimming wav files
2019-04-07 12:49:23 +02:00
Rémi Verschelde 5586e473b5
Merge pull request #27734 from Hendrikto/cleanup
Remove unused imports
2019-04-07 12:38:07 +02:00
Rémi Verschelde 1415dd4e90
Merge pull request #25810 from TheYokai/mixer_improvements
New Nonlinear Audio Bus Fader
2019-04-07 12:17:07 +02:00
Rémi Verschelde 4ff505426b
Merge pull request #27741 from danielkulas/path
Fix "Show in File Manager" option
2019-04-07 12:01:51 +02:00
Rémi Verschelde 03581e49b7
Merge pull request #27151 from vorabrijesh/updated
Changed default shortcut for opening help menu to (Shift + F1)
2019-04-07 11:53:08 +02:00
Chaosus 5fd671b8a7 Major improvements for visual shader system 2019-04-07 08:17:38 +03:00
Eoin O'Neill b526060d74 New Nonlinear Audio Bus Mixer
This patch changes the audio mixer faders to use a non-linear algorithm
for volume control. The intention is to make Godot's audio faders be
more like those found in professional audio equipment and programs. It
is an exponential equation which intends to counter-act the logarithmic
nature of human hearing. The effect of this is a more usable audio mixer
with more emphasis on the values that make the most difference to the mix.

It also changes the audio level notch widget to be less static and
thus supports changing the scaling factor of the audio faders.
2019-04-06 19:36:24 -07:00
Daniel Kulas 22b861ad97 Fix "Show in File Manager" option 2019-04-06 23:01:59 +02:00
vorabrijesh f1e4fd3e39 Change Help menu shortcut to Shift+F1: Fixes #3786 2019-04-07 01:45:26 +05:30
Rémi Verschelde f1dc158ebd
Merge pull request #27602 from YeldhamDev/tileset_emptypoly_crash_fix
Fix crash when using the Tileset Editor when the given shape has no points
2019-04-06 20:51:38 +02:00
Rémi Verschelde c20c2870a7
Merge pull request #27699 from LATRio/fix_region_editor_margin
Fix TextureRegion margin bug
2019-04-06 20:45:20 +02:00
Timo 1c178da72c
Merge pull request #26609 from nekomatata/shadow_offset
Support for shadow offset in box style
2019-04-06 19:36:57 +02:00
Hendrikto 49a81308c0 Remove unused imports 2019-04-06 18:05:05 +02:00
Rémi Verschelde 0b747f5312
Merge pull request #25995 from lupoDharkael/csv
Add CSV export to profiling data
2019-04-06 13:12:20 +02:00
Rémi Verschelde b319168db2
Merge pull request #26122 from vixelz/allow-embedding-gdscript-defined-resources
Include global class resources in Resource property inspector
2019-04-06 13:11:00 +02:00
Rémi Verschelde 72be5ddc43
Merge pull request #26650 from YeldhamDev/filesys_tooltips
Small tooltip changes to filesystem-related UI componentes in editor
2019-04-06 13:03:59 +02:00
ShyRed c218c631f6 Add converters / generators to Sprite
Adds the following menu options to the Sprite editor: "Convert to Mesh2D", "Convert to Polygon2D", "Create CollisionPolygon2D Sibling" and "Create LightOccluder2D Sibling"
2019-04-06 10:48:07 +02:00
Michael Alexsander Silva Dias 9501900e1b Fix crash when using the Tileset Editor when the given shape has no points 2019-04-05 21:32:48 -03:00
Hugo Locurcio 8a1c5a8390
Find the previous match in script editor when pressing Shift + Enter
This allows cycling through matches more efficiently.
2019-04-06 01:20:05 +02:00
Hugo Locurcio 00799fc8c2
Add support for type hints in non-default script editor templates
This also refactors template processing to avoid repetition.

This closes #27074.
2019-04-05 23:19:30 +02:00
lupoDharkael 650b698f51 Allow default audio bus layout modification 2019-04-05 17:19:25 +02:00
Rémi Verschelde e16fc72cef
Merge pull request #26903 from guzzard/polygon-point-hover
Display vertex number when hovering point in collision polygon
2019-04-05 16:50:54 +02:00
Rémi Verschelde e6979adb1b
Merge pull request #26918 from aqnuep/skeleton_reparenting_fix
Fix skeleton reparenting to also work when the skeleton node is not a bone
2019-04-05 16:48:42 +02:00
Rémi Verschelde a71d8b561d
Merge pull request #26927 from qarmin/fix_perspective_button_hide
Fix perspective button hide when it actually should be disabled
2019-04-05 16:45:29 +02:00
Rémi Verschelde 769b2ba385
Merge pull request #26930 from qarmin/fix_delete_project_settings_properties
Fix deleting properties after deleting files
2019-04-05 16:44:40 +02:00
Rémi Verschelde fc081ebe10
Merge pull request #26954 from willnationsdev/refresh
Add a getter for the EditorInspector
2019-04-05 16:41:02 +02:00
Rémi Verschelde 945f7f83d3
Merge pull request #27330 from qarmin/fix_bones_not_showing_after_create
Show bones after creating
2019-04-05 16:39:55 +02:00
Rémi Verschelde a61ad365f5
Merge pull request #27677 from akien-mga/Wimplicit-fallthrough
Fix -Wimplicit-fallthrough warnings from GCC 8
2019-04-05 16:12:45 +02:00
Rémi Verschelde 696be49728
Merge pull request #27008 from qarmin/fix_toggle_visibility
Fix crash when toggle visibility in SceneTreeDialog
2019-04-05 16:12:27 +02:00
LATRio f38173fb19 Fix TextureRegion margin bug introduced in #27122 2019-04-05 22:33:53 +09:00
Rémi Verschelde 570fa6a477
Merge pull request #27254 from piyushdagar/fix-animation
Fixes Adding animation to AnimatedSprite doesn't update inspector immmediately #26381
2019-04-05 15:28:28 +02:00
Juan Linietsky 19a6a6286a Ability to make CanvasLayers have pseudo 3D depth. 2019-04-05 10:25:51 -03:00
Rémi Verschelde a49f3ba5ac
Merge pull request #27401 from Calinou/fix-restart-label-color
Use the "warning" color for the "restart required" label
2019-04-05 15:23:48 +02:00
Rémi Verschelde 63d3a42f82
Merge pull request #27465 from neikeq/road-to-lang-agnostic-docs-is-going-to-be-tough
EditorHelp: Improve enum ref resolving and add constant ref support
2019-04-05 15:19:21 +02:00
Rémi Verschelde fc370b3feb Fix -Wimplicit-fallthrough warnings from GCC 8
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.

The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.

Fixes #26135.
2019-04-05 15:14:53 +02:00
Mariano Javier Suligoy bfc3ba5af0
Merge pull request #27365 from Byteron/tile_map_negative_offset
TileMap, negative Y and X Offset
2019-04-05 09:24:32 -03:00
Aaron Winter 63e0fd7675 added negative X and negative Y offset to TileMap
clang-format

added negative X and negative Y offset to TileMap
2019-04-05 10:37:35 +02:00
Mariano Javier Suligoy 1ab9b86a21
Merge pull request #27500 from samdze/master
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-04 23:17:29 -03:00
Mariano Javier Suligoy 60fbbba398
Merge pull request #27201 from siddharth952/issue1
Fixed Tileset Editor bug related to polygon size
2019-04-04 23:09:50 -03:00
Mariano Javier Suligoy a6e9af7222
Merge pull request #27122 from LATRio/fix_texture_region_zoom
Fix zooming in TextureRegion
2019-04-04 23:09:25 -03:00
Rémi Verschelde 6d27226134
Merge pull request #27469 from Calinou/text-selection-use-accent-color
Use the accent color to highlight selected text
2019-04-04 18:27:54 +02:00
Rémi Verschelde d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00
Theis Egeberg 26cc521d55 -Added trim limit constant at top of file, defining at which db trimming should occur (moved from being in the code itself)
-Added fade out frames constant at top of file, defining how many frames should have fade out applied (to avoid pops at the end of trim)
-Rewrote parts of the trimming logic to use an average of volume across all channels instead of any particular channel
-Added fade-out to trimming
2019-04-04 16:37:58 +02:00
Angeloss 40acc3ecdc Fix: Keep custom tracks option now keeps animation loop property and value track update mode.
(cherry picked from commit 589c5698a0)
2019-04-03 16:59:34 +02:00