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
Twarit
0e62f5e6f7
Add 'Create Folder' button while installing templates
...
Fixes #25454
2019-04-10 11:23:13 +05:30
Jeremy Bullock
36bdf78927
Allow Right Click in Empty Space on FileSystemDock
2019-04-09 11:22:14 -06: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
Tomasz Chabora
82fadde680
Use filename for scene root of imported models
2019-04-08 18:43:55 +02: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
qarmin
910bee9fa1
Add 50% scale in Godot
2019-04-07 21:16:36 +02:00
Juan Linietsky
dd03dcbd5a
Android now (optionally) builds the template when exporting
...
Added new way to create add-ons
Removed old way to create add-ons
2019-04-07 15:46:52 -03: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
qarmin
8460d0678c
Small fixes to static analyzer bugs
2019-04-04 22:00:16 +02: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
Rémi Verschelde
de54ee975d
Merge pull request #27238 from ShyRed/cpu2dmask
...
Add Emission Mask to CPUParticle2D
2019-04-03 09:13:14 +02:00
Rémi Verschelde
612a109b81
Merge pull request #27228 from Kanabenki/preserve-binds-change-node
...
Preserve extra arguments for connected signals when changing node type
2019-04-02 11:30:45 +02:00
Samuele Zolfanelli
a6f5cf7de7
Allow TileMap to override set_cell behaviour while using TileMap editor
2019-04-01 13:03:35 +02:00
Rémi Verschelde
c54835a23b
Merge pull request #25676 from willnationsdev/fix-inherited-icons
...
Fix inherited icons for script classes
2019-04-01 12:21:08 +02:00
Rémi Verschelde
9347142484
Merge pull request #26701 from qarmin/do_not_lost_focus
...
Do not lose focus when moving through scene tree
2019-04-01 11:57:46 +02:00
Rémi Verschelde
9bef886fa3
Merge pull request #27117 from Faless/editor/asset_lib_image_error
...
Enabled logging of failed image download.
2019-04-01 11:03:03 +02:00
Rémi Verschelde
3c797248d0
Merge pull request #26970 from KoBeWi/custom_node_is_now_other_node
...
Changed 'Custom Node' to 'Other Node' to be less confusing
2019-04-01 10:13:27 +02:00
Hugo Locurcio
d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations
2019-03-31 23:54:46 +02:00
Fabio Alessandrelli
2bb39ac56e
Exclude link-local IPv4s from editor host list.
...
IPv4 has link-local addresses like IPv6 (block 169.254.0.0/16).
Those addresses should not be considered a valid option when selecting
the `remote_host` setting for the debugger.
2019-03-31 16:57:23 +02:00
Ignacio Etcheverry
c8aa85189a
EditorHelp, makerst: Improve enum ref resolving and constant ref support
...
Enum reference resolving will now search in the @GlobalScope if no class is specified and the enum cannot be resolved in the current class.
Added support for constant references in EditorHelp, e.g.: [constant KEY_ENTER] or [constant Control.FOCUS_CLICK]. It supports enum constants (the enum name must not be included).
2019-03-29 23:40:31 +01:00
Rémi Verschelde
472c8a7ba1
i18n: Sync translations with Weblate
...
Also sync translation template.
2019-03-28 10:38:58 +01:00
lupoDharkael
2c68ce930c
Add CSV export to profiling data
2019-03-28 08:42:29 +01:00
Hugo Locurcio
9ba6738719
Use the accent color to highlight selected text
...
This makes selections easier to see, while making them fit better
within the editor theme.
This closes #22552 .
2019-03-27 22:12:41 +01:00
Siddharth
fcd39a506a
Update tile_set_editor_plugin.cpp
2019-03-27 22:50:52 +05:30
Siddharth
ba2b09b034
Revert "Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits."
...
This reverts commit 2d995372d8
.
2019-03-27 22:49:19 +05:30
Rémi Verschelde
167d02ef61
Merge pull request #27388 from KidRigger/master
...
Prevents crash on loading unrecognized resources.
2019-03-27 17:22:27 +01:00
Rémi Verschelde
37969e71e4
Merge pull request #27383 from SpechtMagnus/master
...
TileMap: Fixed unfinished max_lines draw handling for freeze/crash avoidance.
2019-03-27 17:20:56 +01:00
Rémi Verschelde
9d7343a1a3
Merge pull request #27182 from goodyttoor/gltf_order
...
Fix order of transformation in GLTF import
2019-03-27 17:06:50 +01:00
Michael Alexsander Silva Dias
d819ad6f78
Small tooltip changes to filesystem-related UI componentes in editor
2019-03-27 01:50:50 -03:00
Juan Linietsky
6574c557c9
Add a "Request Docs" button to code editor.
2019-03-26 16:36:19 -07:00
Tomasz Chabora
c0da243f04
Allow to drop folders onto editor
2019-03-26 13:33:38 +01:00
Hugo Locurcio
cca1fab1c4
Use the "warning" color for the "restart required" label
...
This makes the color match the warning icon placed besides the label.
2019-03-25 14:04:31 +01:00
Anish
8ee31ace34
Prevents crash on loading unrecognized resources.
...
Editor crashes on trying to load resources with no loaders.
Simple check on the resource loader prevents using a null
resource loader.
Fixes : #27385
2019-03-25 02:32:21 +05:30
Magnus Specht
601acdf0e1
Fixed unfinished max_lines handling for crash avoidance.
2019-03-24 19:17:02 +01:00
Siddharth
13ead635d9
Merge branch 'master' of https://github.com/godotengine/godot into issue1
2019-03-23 20:09:08 +05:30
Siddharth
2d995372d8
Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits.
...
Updated tile_set_editor_plugin.cpp And area.cpp
Updated with clang-format
Updated tile_set_editor_plugin.cpp And area.cpp
2019-03-23 20:03:59 +05:30
qarmin
1b6e0d04f0
Show bones after creating
2019-03-22 19:14:54 +01:00
Pedro J. Estébanez
9c3ddf05cb
Revert accidental commits
...
This reverts commit fb37284c02
.
This reverts commit 4db0f51b9a
.
2019-03-20 21:43:55 +01:00
Pedro J. Estébanez
4db0f51b9a
Create live view dock [wip]
2019-03-20 20:44:43 +01:00
piyushdagar
d86d7981cc
Fixes Adding animation to AnimatedSprite doesn't update inspector immediately
2019-03-20 09:08:39 +05:30
ShyRed
dcd268e183
Add Emission Mask to CPUParticle2D
...
Add ability to load emission masks to CPUParticle2D.
2019-03-19 17:28:57 +01:00
PouleyKetchoupp
8346d90c5e
Properly handle different border widths in rounded corner aa
...
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
Kanabenki
a1e7febbb3
Keep binds for connected signals when changing node type
2019-03-19 10:21:52 +01:00
yakun.zhang
e25a50d690
add check for inherted nodes when instance
2019-03-18 19:40:36 +08:00
Vivatchai Kaveeta
32dd9c67c6
Fix order of transformation in GLTF import
...
From the gltf 2 spec, the order is R * S. Previously we did S * R, which broke some mesh with non-uniform scale.
Fix #23356 , Fix #14725
2019-03-18 03:08:46 +07:00
Paulb23
6f6d4a6c2e
Fix script editor attempting to set current line to -1 on script open
2019-03-17 20:02:05 +00:00
Timo Schwarzer
7a0dfc04aa
Allow whitespaces in warning-ignore comments
2019-03-17 18:42:59 +01:00
Will Nations
2d106eb715
Fix inherited icons for script classes
2019-03-17 00:04:15 -05:00
LATRio
22030d4cc4
Fixing zooming in TextureRegion
...
Fixes #20710
2019-03-17 10:37:58 +09:00
Rémi Verschelde
df7d3708c5
Merge pull request #27145 from YeldhamDev/editfilediag_favrm_remove
...
Remove unused 'fav_rm' ToolButton in EditorFileDialog
2019-03-16 17:07:15 -07:00
Michael Alexsander Silva Dias
579fffd97e
Remove unused 'fav_rm' ToolButton in EditorFileDialog
2019-03-16 20:30:06 -03:00
Rémi Verschelde
3f631c2567
Merge pull request #27130 from akien-mga/editor-theme-hint-typo
...
Fix misplaced hint for interface/theme/accent_color
2019-03-16 14:26:45 -07:00
qarmin
4cee053f7c
Fix deleting properties after deleting files
2019-03-16 22:05:24 +01:00
Rémi Verschelde
e5a310cd38
Merge pull request #25782 from hsandt/feature/fix-toggle-comment-indent
...
Feature/fix toggle comment indent
2019-03-16 11:17:47 -07:00
Rémi Verschelde
43f147b5aa
Merge pull request #26308 from bojidar-bg/11722-meshlibrary-transforms
...
Consider StaticBody and NavMesh position when converting to a MeshLibrary
2019-03-16 11:15:15 -07:00
Rémi Verschelde
c1fae20400
Merge pull request #26706 from YeldhamDev/multinode_scriptclear_fix
...
Fix clearing scripts while multiple nodes are selected
2019-03-16 11:09:40 -07:00
Rémi Verschelde
8965ff90ca
Merge pull request #26919 from jabcross/master
...
Implement source lookup for class_name defined classes
2019-03-16 11:06:34 -07:00
Rémi Verschelde
ffd115dd6f
Merge pull request #26935 from qarmin/show_class_name_icon_in_tabs
...
Show in tabs custom class icons
2019-03-16 11:04:03 -07:00
Rémi Verschelde
b17c8c0396
Fix misplaced hint for interface/theme/accent_color
...
Supersedes #26992 .
2019-03-16 11:00:32 -07:00
Rémi Verschelde
06ebf4c3ad
Merge pull request #27123 from bojidar-bg/27113-rename-action
...
Fix renaming actions in the Project settings
2019-03-16 10:55:01 -07:00
Rémi Verschelde
18fa1846ea
Merge pull request #27115 from Janglee123/master
...
Fix toggling snap mode while transforming the Spatial object
2019-03-16 10:54:44 -07:00
Bojidar Marinov
699a3957ce
Fix renaming actions in the Project settings
...
Fixes #27113 , a regression from 6daed7d122
2019-03-16 16:28:03 +02:00
Fabio Alessandrelli
37c0ac1d6d
Enabled logging of failed image download.
2019-03-16 10:58:07 +01:00
janglee123
05446e8b53
fixed toggelling snap mode while transforming
2019-03-16 13:45:39 +05:30
Michael Alexsander Silva Dias
ebabb0ea65
Make bottom panel only try to hide editors when they're visible
2019-03-16 03:39:49 -03:00
Rémi Verschelde
cad371dd85
Merge pull request #26945 from shartte/allow-fewer-viewports-in-editor-state
...
Be more tolerant about under-defined spatial viewport state
2019-03-13 20:11:24 +01:00
qarmin
2bc6ad670b
Fix toggle visibility in SceneTreeDialog
2019-03-13 11:19:51 +01:00
Rémi Verschelde
04b04555d1
i18n: Sync translations with Weblate
2019-03-12 16:57:43 +01:00
Tomasz Chabora
c1ce5b87b4
Changed 'Custom Node' to 'Other Node' to be less confusing
2019-03-12 16:12:14 +01:00
Sebastian Hartte
7bab7fd777
Don't crash when the saved editor state contains fewer viewports than currently supported.
2019-03-12 12:17:17 +01:00
Will Nations
c1b247e4d5
Add EditorInspector getter. Update Sub-Inspectors.
2019-03-12 02:15:15 -05:00
Rémi Verschelde
6d86450a83
Merge pull request #26941 from JFonS/add_gizmos_priority
...
Add priority to gizmos and fix small issues
2019-03-12 01:19:39 +01:00
JFonS
2658e5d03d
Add priority to gizmos and fix small issues
...
User defined gizmos will haave higher preference than editor gizmos by
default. Also fixed some inconsistencies in the gizmos menu when using
custom gizmos.
2019-03-12 00:30:50 +01:00
qarmin
825a870f06
Show in tabs non default class icons
2019-03-11 22:54:23 +01:00
qarmin
2e5b6b5bde
Fix perspective button hide when it should be actually disabled
2019-03-11 18:10:00 +01:00
Pedro Ciambra
e8fe174616
Implement source lookup for class_name defined classes
...
Previous to this, classes defined with class_name had no
behavior when ctrl-clicked in the editor.
Fixes #26882
2019-03-11 12:52:17 -03:00
Daniel Rakos
1cf7ca87ce
Fix skeleton reparenting to also work when the skeleton node is not a bone
...
Existing code only did the reparenting when the parent node was a bone. This
change fixes that, plus the reparenting code itself, which used the index of
the skin instead of the skin index itself to address the skeleton array.
2019-03-11 16:26:45 +01:00
Anish
d6e4a08c61
Prevents a Null Reference in deleting Animations.
...
A null Animation would cause a crash by accessing restricted memory.
Solved by checking if the animation track is null before using the
animation.
Fixes : #26829
2019-03-11 17:04:02 +05:30
Martin Wallin
ed06ed38fb
Display vertex number when hovering point in collision polygon
2019-03-11 10:42:55 +01:00
Rémi Verschelde
43184375b2
i18n: Sync translation template with current source
2019-03-10 11:04:59 +01:00
Rémi Verschelde
9a2fdef1fa
i18n: Sync translations with Weblate
2019-03-10 11:03:26 +01:00
Rémi Verschelde
03664e26c5
Merge pull request #26687 from QbieShay/hang_server_build_fix
...
Removed the resource preview thread from the server build
2019-03-09 22:59:24 +01:00
Rémi Verschelde
0d728123c6
Merge pull request #26818 from vnen/class_name-inheritance
...
Allow class_name scripts to have nested inheritance
2019-03-09 14:27:43 +01:00
George Marques
25f9aee005
Allow class_name scripts to have nested inheritance
2019-03-09 00:47:27 -03:00
Juan Linietsky
95c6d9caba
Fix crash in texture previeer, closes #26749 , probably others
2019-03-08 14:18:12 -03:00
Rémi Verschelde
a38bf5287a
Merge pull request #26781 from YeldhamDev/editfilediag_favdir_fix
...
Fix "Favorite" button not being toggled when navigating to a faved folder manually
2019-03-08 08:26:55 +01:00
qarmin
8c4051819e
Fix error when trying to enter to folder/node directly via address bar
2019-03-08 06:15:42 +01:00
Michael Alexsander Silva Dias
ec1c879746
Fix "Favorite" button not being toggled when navigating to a faved folder manually
2019-03-07 21:48:12 -03:00
Juan Linietsky
9af7fa193f
Do not annoy unrelated textures with texture editor.
2019-03-07 13:54:05 -03:00
Rémi Verschelde
b38f44e177
Merge pull request #26758 from qarmin/fix_error_dragging_empty_script_editor
...
Fix error when dragging empty script list in Script Editor
2019-03-07 17:40:42 +01:00
Juan Linietsky
b376273f1b
Force inspector to clean up on delete, fixes crash.
2019-03-07 12:39:53 -03:00
Juan Linietsky
6cb841edcb
Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733
2019-03-07 12:16:20 -03:00
qarmin
7837276597
Fix error when dragging empty script list in Script Editor
2019-03-07 16:09:02 +01:00
Rémi Verschelde
2f2fa8db69
Merge pull request #26722 from MarianoGnu/fix_24238
...
TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238
2019-03-06 20:58:05 +01:00
Mariano Suligoy
6c08f4ea4e
TileSetEditor: Don't draw invalid occlusion shapes. Fixes #24238
2019-03-06 15:31:16 -03:00
Michael Alexsander Silva Dias
73aaf06be7
Cleanup relationship line coding after 5f079e2
2019-03-06 14:33:26 -03:00
Juan Linietsky
6eac688952
Don't hide/show top editor if they did not change, fixes #26644
2019-03-06 12:42:01 -03:00
Juan Linietsky
5f079e2ef9
-Make tileset and meshlibrary edit in a separate inspector, fixes #26671
...
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Rémi Verschelde
4d099e901b
Merge pull request #26705 from volzhs/fix-export
...
Fix directory check when exporting project
2019-03-06 15:31:42 +01:00
Juan Linietsky
9b5c6f539b
Safer way to update animation if changed, fixes #26670
2019-03-06 10:22:38 -03:00
Michael Alexsander Silva Dias
d3042d162d
Fix clearing scripts while multiple nodes are selected
2019-03-06 09:58:47 -03:00
Juan Linietsky
4dd99701b0
Fix how settings change, closes #26692
2019-03-06 09:25:19 -03:00
volzhs
8920bb8c1b
Fix directory check when exporting project
...
Fix #26702
2019-03-06 21:20:18 +09:00
Rémi Verschelde
3916a53522
Merge pull request #22716 from Chaosus/update_theme
...
Make theme changing no longer requires restart to be fully applied
2019-03-06 12:36:54 +01:00
qarmin
138698e51f
Do not lose focus when moving through scene tree
2019-03-06 12:10:09 +01:00
Ilaria Cislaghi
65b11d7517
Removed the resource preview thread from the server build
2019-03-06 09:30:15 +01:00
Rémi Verschelde
2940475c71
Merge pull request #26673 from willnationsdev/fix-inspector-plugin
...
Fix inspector plugin
2019-03-06 01:14:48 +01:00
Rémi Verschelde
b4d5c1ab5b
Merge pull request #26633 from akien-mga/driver-fallback-etc
...
Disable driver fallback to GLES2 by default
2019-03-06 00:57:49 +01:00
Will Nations
27f9780cc6
Fix crash on exit when removing EditorInspectorPlugins
2019-03-06 00:14:42 +01:00
Rémi Verschelde
2e79ec973f
Merge pull request #26626 from rluders/misleading-error-message-export
...
Fixing misleading error message when trying to export
2019-03-05 22:55:16 +01:00
Rémi Verschelde
88355b2719
Merge pull request #26655 from merumelu/assetlib-video-overlay
...
AssetLib: convert video thumbnails to RGBA8
2019-03-05 21:53:54 +01:00
Rémi Verschelde
a11d8954db
Merge pull request #26643 from KoBeWi/readd_script_with_no_reselect
...
Fix attaching script after removing one
2019-03-05 21:50:57 +01:00
Ricardo Lüders
3fdbdd8380
Fixes misleading error message when trying to export
...
This patch fixes the misleading error message when users
try to "export all" into an invalid destination path.
Closes #26539
2019-03-05 21:32:52 +01:00
merumelu
e4b20a9a51
AssetLib: convert video thumbnails to RGBA
...
Image::blend_rect only works with images that have the same format.
2019-03-05 21:02:56 +01:00
Michael Alexsander Silva Dias
20b479aaef
Fix FileSystem dock's item view button starting with the wrong icon
2019-03-05 15:05:53 -03:00
Rémi Verschelde
f43ee4aff8
Merge pull request #26639 from YeldhamDev/tileeditor_coordnav_disable
...
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 16:59:05 +01:00
Rémi Verschelde
ae24258842
Merge pull request #26622 from pyrophone/TilesetPreviewFix
...
Fixed Tileset preview stretching textures
2019-03-05 16:57:21 +01:00
Rémi Verschelde
b0f782a0e3
Disable driver fallback to GLES2 by default
...
GLES2 is not designed to be a drop-in replacement for the GLES3 backend,
so the fallback mode has to be used knowingly. It *can* make sense for
simple projects which make sure to handle the differences between both
rendering backends, but most users should stick to one supported backend.
By making it opt-in, we can now use this parameter to define whether to
export ETC textures to Android and iOS when using GLES3 + Fallback.
When using GLES3 without Fallback on Android, set the proper min GLES
version in the AndroidManifest.
Also made the option boolean and renamed it for clarity and to avoid
conflict with the previous String option (which would always evaluate as
"true" otherwise).
Fixes #26569 .
2019-03-05 16:36:46 +01:00
Tomasz Chabora
63a2475f0f
Allow to attach script when there's no 'selected node', but selection exists
2019-03-05 16:28:39 +01:00
Gio Aleman
4cf197fa48
Fixed Tileset preview stretching textures
2019-03-05 09:53:08 -05:00
Michael Alexsander Silva Dias
9b52ad5caf
Disable coord navigation buttons in TileSet editor when no texture is selected
2019-03-05 11:22:44 -03:00
Michael Alexsander Silva Dias
a292d1fefb
Fix general issues with filesystem-related UI components in the editor
2019-03-05 10:12:06 -03:00
Andrii Doroshenko (Xrayez)
a4e6e2f342
Ensure to disable freelook when leaving spatial editor
...
Fixes and prevents the problem with mouse getting stuck in MOUSE_MODE_CAPTURED when switching to canvas item editor plugin by any means other than manually (with mouse).
2019-03-05 12:42:25 +02:00
Rémi Verschelde
3aff78f532
Merge pull request #26599 from MarianoGnu/fix_25817
...
TileSetEditor: Expose to the user OneWayCollision+Margin properties.
2019-03-05 00:19:48 +01:00
Rémi Verschelde
0952522e8b
Merge pull request #26612 from akien-mga/mkdir-system-data-path
...
Fix creating editor data, config and cache paths
2019-03-04 23:52:11 +01:00
Juan Linietsky
5b77aa6bea
Ensure shader is not set if code did not change
2019-03-04 19:39:06 -03:00
Rémi Verschelde
c0050d9295
Fix creating editor data, config and cache paths
...
We used to abort if the system-specific data folder (e.g. `~/.local`
or `%APPDATA%`) is missing, but the next code chunk actually creates
it with `make_dir_recursive` if missing.
Fixes #26598 .
2019-03-04 23:29:22 +01:00
Rémi Verschelde
26c1d1aec8
Merge pull request #26587 from KoBeWi/undo_visibility_AABB
...
Add UndoRedo for Generate Visibility AABB (Particles)
2019-03-04 21:54:51 +01:00
Rémi Verschelde
9efbddfee1
Merge pull request #26607 from ptrojahn/translationescape
...
Unescape translations in CSV importer
2019-03-04 21:54:29 +01:00
Juan Linietsky
21289c6fea
Some clean up to previous commit.
2019-03-04 17:11:49 -03:00
Paul Trojahn
aa465f076f
Unescape translations in CSV importer
...
Fixes #25361
2019-03-04 21:07:58 +01:00
Tomasz Chabora
4599e98341
Add UndoRedo for Generate AABB (Particles)
2019-03-04 21:00:56 +01:00
Juan Linietsky
472c94ce3e
Remove the "Open Editor" button, it will open automatically.
2019-03-04 16:50:21 -03:00
Juan Linietsky
53bec9deeb
Fix and restore text, material and mesh previewers.
2019-03-04 15:53:18 -03:00
Mariano Suligoy
33406131c1
TileSetEditor: Expose to the user OneWayCollision+Margin properties. Fixes #25817 .
2019-03-04 14:10:31 -03:00
Rémi Verschelde
878950db16
Merge pull request #26590 from Chaosus/fix_sprite_region_crash
...
Fix editor crash when converting sprite to 2D mesh
2019-03-04 16:58:39 +01:00
Chaosus
8b5e070ec7
Fix editor crash when converting sprite to 2D mesh
2019-03-04 17:37:38 +03:00
Juan Linietsky
e653c79ef7
Better warnings when resources can't be saved. Fixes #26531
2019-03-04 11:06:49 -03:00
xDGameStudios
d2f73d4a27
Add UndoRedo on Generate Visibility Rect (Particles2D)
2019-03-04 12:49:32 +00:00
Juan Linietsky
a1e73dcc94
Add support for event accumlation (off by default, on for editor), fixes #26536
2019-03-03 19:53:13 -03:00
will
7a88002992
New shortcuts for the editor menu items
2019-03-03 15:24:58 -06:00
Juan Linietsky
8b4c4d9b2f
Implement a more coherent (and way less hack) way to block animation updates, fixes #24618
2019-03-03 17:57:16 -03:00
Rémi Verschelde
9357d691a2
Merge pull request #26496 from MadEqua/fix-filesystem-dock-icon
...
Fix grid view button icon not showing on filesystem dock.
2019-03-03 19:58:48 +01:00
Juan Linietsky
2f32a75d2e
Skeletons can now choose between using local or world coords for processing, fixes #26468
2019-03-03 12:24:00 -03:00
Bruno Lourenço
ed7534a6aa
Fix grid view button icon not showing on filesystem dock.
2019-03-03 15:02:51 +00:00
Rémi Verschelde
af6217e1b1
Merge pull request #26523 from akien-mga/export-etc-check
...
Improve VRAM texture compression checks for mobile/web
2019-03-03 14:12:03 +01:00
Rémi Verschelde
86f4fabd46
Merge pull request #26446 from QbieShay/root_node_from_escn
...
Importer for scenes only overrides the base Node if differently specified by the user
2019-03-03 13:51:09 +01:00
Rémi Verschelde
9d002442b2
Improve VRAM texture compression checks for mobile/web
...
For HTML5, we need to support S3TC if running on desktop,
and ETC or ETC2 for mobile, so make this explicit.
Add logic to check for ETC2 support on GLES3,
and remove incorrect ETC feature for GLES3 on Android.
Fix ETC check invalidating templates on HTML5.
Fixes #26476 .
2019-03-03 13:24:08 +01:00
Rémi Verschelde
c0e1c66e3d
Merge pull request #26385 from MarianoGnu/tileset_editor
...
TileSetEditor: Improvements and fixes
2019-03-03 11:24:16 +01:00
Mariano Suligoy
7b933d70a8
TileSetEditor: Allow to toggle Convex/Concave collisions. Alternative fix to #24003
2019-03-02 19:40:56 -03:00
Rémi Verschelde
4bd9135eee
Merge pull request #26482 from ptrojahn/missingpreview
...
Fix preview in file dialog
2019-03-02 19:04:13 +01:00
Paul Trojahn
6e865d1e11
Fix preview in file dialog
...
If the preview is already cached, queue_ressource_preview calls
_thumbnail_done immediately, so preview_waiting is never set to false
again. The progress wheel isn't rendered, because the WaitPreview icons
don't exist. This should probably be Progress.
Fixes #25749
2019-03-02 13:43:29 +01:00
Ilaria Cislaghi
b6fe7a794d
Importer for scenes only overrides the base Node if differently specified by the user
2019-03-02 13:31:11 +01:00
Juan Linietsky
abbca3b3cc
Flush stuff pending on visual server thread when exiting, fixes #24669
2019-03-01 16:34:03 -03:00
Rémi Verschelde
856c36cb89
Merge pull request #26451 from ptrojahn/modified
...
Fix misleading modified status of scenes
2019-03-01 20:20:50 +01:00
Juan Linietsky
3f681b0681
Clean up blend shape support in GLES2 and GLES3.
2019-03-01 16:01:44 -03:00
Paul Trojahn
f3d94cc752
Fix misleading modified status of scenes
...
If a scene is instanced in another scene, any changes to the first
triggers _clear_undo_history in EditorNode::set_current_scene, which
increments the version in UndoRedo::clear_history. This results in a
modified status. Passing false to clear_history fixes this issue.
Fixes #25942
2019-03-01 18:27:37 +01:00
Rémi Verschelde
3c59604061
i18n: Sync translation template with current source
2019-03-01 13:04:23 +01:00
Rémi Verschelde
4c8db607fb
i18n: Sync translations with Weblate
2019-03-01 13:01:50 +01:00
Rémi Verschelde
e7dd05fed8
Merge pull request #26419 from SeleckyErik/errors-tab-bug
...
Fixed Errors Tab Indexing Bug in the Debugger
2019-03-01 12:07:31 +01:00
Chaosus
7bb449ae70
Updates error label font in status bar
2019-03-01 11:48:36 +03:00
Mariano Suligoy
65084a70fd
Allow to change selection of collision shapes added to the same tile. Fixes #26369 .
2019-02-28 22:45:16 -03:00
Mariano Suligoy
33be8b0701
Allow to change selection around all tiles on the texture without clicking on them. Fixes #25203 . Fixes #22077
2019-02-28 20:48:34 -03:00
Erik
3f9ba2bd14
Fixed Errors Tab Indexing Bug in the Debugger
...
FIxed bug with Errors tab in the Debugger using wrong index in the
tab container.
Also removed unused variable that was probably left behind.
2019-02-28 22:12:14 +01:00
Rémi Verschelde
38bfd2fda6
Merge pull request #26383 from neikeq/issue-26302
...
Sanitize file paths before extracting export templates
2019-02-28 12:36:49 +01:00
Rémi Verschelde
a4b687bdab
Merge pull request #26386 from YeldhamDev/tileset_editor_dynamic_workspace
...
Make TileSet editor's workspace change size according to region changes
2019-02-28 09:49:05 +01:00
Rémi Verschelde
41708eb821
Merge pull request #26335 from ericrybick/26247
...
Fix project_settings entry creation for global scripts.
2019-02-28 09:34:50 +01:00
Michael Alexsander Silva Dias
6cf1a94af0
Make TileSet editor's workspace change size according to region changes
2019-02-27 22:40:54 -03:00
Ignacio Etcheverry
8e98be5991
Sanitize file paths before extracting export templates
2019-02-28 00:25:55 +01:00
Juan Linietsky
9ca6ffa341
Save resources even if no scene is present, closes #26273
2019-02-27 20:00:40 -03:00
Rémi Verschelde
028303f167
Merge pull request #26373 from groud/fix_layout_loading
...
Fixes layout loading
2019-02-27 22:39:31 +01:00
Juan Linietsky
d8f12c4343
Avoid docks to be overriden while scanning, fixes #26359
2019-02-27 18:14:59 -03:00
Eric Rybicki
069bbd35df
Hide global section in project settings when no property is defined
...
Prevent _global_script entries in project settings without section from being loaded
fixes #26247
2019-02-27 21:45:55 +01:00
Gilles Roudiere
04fb1069cd
Fixes layout loading
2019-02-27 21:36:12 +01:00
Juan Linietsky
a5370b1b1b
-Fix problem of order of import plugins, closes #26340
...
-Ensure resource previewer does not start until first import is done
2019-02-27 14:11:17 -03:00
Rémi Verschelde
ce615c1a82
Merge pull request #26352 from bojidar-bg/21633-progress-stylebox
...
Fix minimum size of ProgressBar-s
2019-02-27 17:19:01 +01:00
Juan Linietsky
eb2b9b88a9
Make sure restoring opened scenes happens after scanning is done.
2019-02-27 11:00:32 -03:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
...
Was a leftover from 0a1c1c660f
.
Fixes #21633 .
2019-02-27 15:56:49 +02:00
Juan Linietsky
f1e3bb0a15
Fixed issue where descriptor is left hanging, which causes file locked on Windows, closes #26342
2019-02-27 09:37:19 -03:00
Rémi Verschelde
f0f277faf1
Merge pull request #26330 from AlmostBearded/tileseteditor_multiplecollisionshapes
...
Allow Creation of Multiple Collision Shapes for Tiles
2019-02-27 11:33:45 +01:00
Juan Linietsky
caa42667e8
If resources on disk have subresources and they are edited, also save the resource on ctrl-s
2019-02-26 23:48:30 -03:00
Hein-Pieter van Braam
464e1142c4
Don't crash on previewing an AtlasTexture without a region
2019-02-27 00:44:09 +00:00
Rémi Verschelde
28a57c2c29
Merge pull request #26304 from bojidar-bg/26066-fix-exported-poolarray
...
Fix GDScript exports having the wrong type of default value by converting it
2019-02-27 00:16:02 +01:00
Peter Oberrauner
657f83148c
Allow Creation of Multiple Collision Shapes for Tiles #24003
2019-02-26 23:45:01 +01:00
Juan Linietsky
dce1e6b5fe
Clarify that ETC is required for GLES2.
2019-02-26 19:31:10 -03:00
Juan Linietsky
f669ebeeaf
-Properly handle missing ETC support on export
...
-Added ability for resource importers to save metadata
-Added ability for resource importers to validate depending on project settings
2019-02-26 18:45:06 -03:00
Jairo Honorio
5ec64d30b1
Resize native run button according to editor scale.
2019-02-26 12:57:43 -03:00
Juan Linietsky
5eeb06ffd1
-Remove harcoded opengl extension testing from OS, ask rasterizer instead.
...
-Fixed a bug where etc textures were imported broken
2019-02-26 11:58:47 -03:00
Bojidar Marinov
1a397a7878
Consider StaticBody and NavMesh position when converting to a MeshLibrary
...
Would have added mesh transform, but realized that will cause problems when moving the mesh around the scene for visualization purposes.
Closes #11722
2019-02-26 15:38:23 +02:00
Bojidar Marinov
db7864c1fd
Fix GDScript exports having the wrong type of default value by converting it
...
Also, initialize elements of PoolArrays when resizing them in the editor.
Fixes #26066 .
2019-02-26 14:58:39 +02:00
Rémi Verschelde
68f675fba2
Merge pull request #26290 from groud/move_setting_to_layout
...
Move the FileSystem dock layout properties to the per-project layout file
2019-02-26 09:14:41 +01:00
Gilles Roudiere
de95493de2
Move the FileSystem dock layout properties to the per-project layout file
2019-02-25 23:39:49 +01:00
Rémi Verschelde
51c1d55cf9
Merge pull request #26283 from neikeq/issue-25330
...
Make export templates extraction handle subdirectories
2019-02-25 20:46:58 +01:00
Ignacio Etcheverry
50a137e393
Make export templates extraction handle subdirectories
...
Fixes #25330
2019-02-25 19:56:58 +01:00
Eric Rybicki
747b9ac870
Fix editor crash after disabling plugin that used forward_spatial_gui_input
...
Fixes #26124 .
2019-02-25 17:11:04 +01:00
Rémi Verschelde
88a36e20cb
doc: Sync classref with current source
2019-02-25 11:22:41 +01:00
Juan Linietsky
74d0ed2236
Many separate fixes to ensure non power of 2 textures work on GLES2, closes #25897 and many others
2019-02-24 22:36:53 -03:00
Ignacio Etcheverry
ef61c14dda
Merge pull request #26214 from neikeq/defval-pls
...
Fix default value of EditorSpatialGizmo.add_mesh method bind
2019-02-24 01:38:24 +01:00
Juan Linietsky
f436047cf5
Clear canvas item after rendering font, fixes #23774
2019-02-23 21:31:09 -03:00
Ignacio Etcheverry
448d3904a1
Fix default value of EditorSpatialGizmo.add_mesh method bind
2019-02-24 01:15:16 +01:00
Juan Linietsky
bfa9be85d3
Remove copy and use instance material override in gizmos, fixes #23783
2019-02-23 20:20:54 -03:00
Juan Linietsky
fd68bb2596
-Treat scalar conversions when calling functions as error, closes #24261
...
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Hugo Locurcio
eb79833770
Tweak SpatialMaterial's default metallic and roughness texture channels
...
To follow the glTF 2.0 specification in all cases (including outside
of imported glTF scenes), the blue channel is now used for metallic
and the green channel is now used for roughness.
2019-02-23 19:10:31 +01:00
Mariano Suligoy
5a21847f23
TileSetEditor: Show Edition Context by demand
2019-02-23 00:04:31 -03:00
Juan Linietsky
7f63b0e8cd
Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
...
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Rémi Verschelde
2985eabc7f
Merge pull request #26150 from akien-mga/export-error-message
...
Improve error message on project export failure
2019-02-22 12:06:40 +01:00
Rémi Verschelde
793ffd942e
Improve error message on project export failure
...
It's still not enough and we need better validation/error checking,
but it should help with people assume corrupted templates when it's
their config which is invalid.
2019-02-22 11:18:22 +01:00
Rémi Verschelde
0c7c800880
Merge pull request #26133 from YeldhamDev/ttr_undoredo_actions
...
Make translatable some undo/redo operations in the editor
2019-02-22 09:58:51 +01:00
Juan Linietsky
8b231b96e3
Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801
2019-02-21 20:49:42 -03:00
Juan Linietsky
30a4723d9c
Fix audio previews, closes #25979
2019-02-21 17:50:02 -03:00
Michael Alexsander Silva Dias
3ef8238c1c
Make translatable some undo/redo operations in the editor
2019-02-21 16:41:01 -03:00
Vixelz
03f7a724ed
Include global class resources in Resource property inspector
...
Much like how script defined global classes can be created from the
"New Resource..." button in the FileSystem panel, this allows the
creation of script defined resources to be embedded.
2019-02-21 18:16:49 +00:00
Rémi Verschelde
5585420e79
Fix EditorPropertyInteger and EditorPropertyEnum support for 64-bit int
...
Fixes #26116 and fixes #22004 , thanks @kiidmale.
2019-02-21 13:30:29 +01:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
74ef11d404
Merge pull request #26061 from qarmin/fix_res_error
...
Fix res:// error when dragging file from outside of editor
2019-02-20 17:28:05 +01:00
Rémi Verschelde
6b0ecb7266
Merge pull request #26092 from YeldhamDev/top_bar_spacing
...
Add small spacing between top bars in main editor and project manager
2019-02-20 17:27:47 +01:00
Michael Alexsander Silva Dias
0de15955ad
Add small spacing between top bars in main editor and project manager
2019-02-20 12:08:52 -03:00
Michael Alexsander Silva Dias
44c37aabf1
Fix navigation editor color materials not having unique names
2019-02-20 11:34:46 -03:00
Rémi Verschelde
1f257d3f8c
Merge pull request #26085 from mrcdk/tileset_shape_rectangle
...
Added a create rectangle button to the tileset editor.
2019-02-20 13:26:51 +01:00
MrCdK
7827c2fd57
Added a create rectangle button to the tileset editor.
...
It makes easier to create collision shapes covering the full tile.
2019-02-20 12:27:53 +01:00
Rémi Verschelde
d1f68e2eaf
Add tooltip for in-editor FPS display in 3D viewport
...
Also enhance Control/Label documentation about tooltips and mouse filter,
as it took me a while to understand why Labels didn't show tooltips.
Closes #26082 .
2019-02-20 12:16:22 +01:00
qarmin
f6c59cf48d
Fix error when deleting default environment
2019-02-20 10:40:41 +01:00
Michael Alexsander Silva Dias
5dfbdbcd0b
Enhance theme preview
2019-02-19 21:52:56 -03:00
JFonS
54b95b6c5a
Add FRUSTUM camera mode, allowing tilted frustums
...
This new camera mode makes it easy to create tilted frustums for mirror
or portal effects.
This work was kindly sponsored by IMVU.
2019-02-19 17:48:08 +01:00
qarmin
2f0c4de1f0
Fix res:// error when dragging file to other file
2019-02-19 17:21:05 +01:00
Rémi Verschelde
e9b854b78a
Merge pull request #26033 from karliss/project-import
...
Fix project opening while filter is applied.
2019-02-19 09:11:20 +01:00
Kārlis Seņko
bb3429c1c5
Fix project opening while filter is applied.
...
Fixes #25268
2019-02-19 00:06:20 +02:00
lupoDharkael
76560c8afa
Add class tree selection to script inheritance selection
2019-02-18 19:16:09 +01:00
Rémi Verschelde
f5f2b5d4af
Merge pull request #25962 from willnationsdev/fix-missing-addon
...
Auto-cleanup missing addons
2019-02-18 10:09:58 +01:00
Rémi Verschelde
03c4e4bba8
i18n: Sync translation template with current source
2019-02-18 09:57:02 +01:00
Rémi Verschelde
b65d22ed90
i18n: Sync translations with Weblate
2019-02-18 09:55:52 +01:00
Will Nations
2d0fcd5c4a
Auto-cleanup missing addons
2019-02-17 22:57:45 -06:00
Michael Alexsander Silva Dias
fe893bd6ef
Fix description size in "New Node" dialog
2019-02-17 19:06:42 -03:00
Rémi Verschelde
9402d2f9fe
Merge pull request #25954 from AlexHolly/fix-android-jarsigner-duplicate-file
...
Fix Android jarsigner error duplicate file
2019-02-16 23:17:54 +01:00
Rémi Verschelde
6201159a47
Merge pull request #25958 from YeldhamDev/poly2d_edit_disable_fix
...
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 23:16:53 +01:00
Michael Alexsander Silva Dias
637f41e833
Fix Polygon2D Editor interacting with its buttons too soon
2019-02-16 20:13:02 -02:00
Rémi Verschelde
4f6dd779a3
Merge pull request #25913 from Chaosus/fix_gizmo_icons
...
Fix icon color for gizmos menu when theme changed
2019-02-16 23:06:46 +01:00
Alexander Holland
c28da89879
Fix Android jarsigner error duplicate file
...
Exports same file only once.
2019-02-16 21:58:52 +01:00
Michael Alexsander Silva Dias
8bef68fe6f
Better and non-buggy Polygon2D editing disabling
2019-02-16 16:46:09 -02:00
Michael Alexsander Silva Dias
aca756fce8
Revert "Disallow polygon2D editing if internal vertices exists, as suggested in #24853"
...
This reverts commit 419fb45a3e
.
2019-02-16 16:43:51 -02:00
Rémi Verschelde
1aadb9f454
Merge pull request #24574 from SeleckyErik/issue-21814
...
Made clone (CTRL+B) in code editor clone only the selection.
2019-02-16 19:24:28 +01:00
Rémi Verschelde
ca5ec803fc
Merge pull request #25944 from Faless/net/http_editor_fixes
...
Fix keep-alive without header in HTTP client
2019-02-16 17:58:48 +01:00
Fabio Alessandrelli
1aa1f42963
Fix uninitialized value
2019-02-16 16:01:20 +01:00
Rémi Verschelde
a57960cf06
Merge pull request #25910 from Chaosus/fix_solarized_dark_theme
...
Increased contrast of solarized dark theme
2019-02-16 14:20:12 +01:00
Rémi Verschelde
8c27673dc0
Merge pull request #25932 from qarmin/fix_text_edit_issue
...
Fix big text window in TextEdit
2019-02-16 14:19:47 +01:00
qarmin
fa629cdd2c
Fix big text window in TextEdit
2019-02-16 10:48:23 +01:00
Chaosus
a51088a7f9
Fix icon color for gizmos menu when theme changed
2019-02-15 20:32:38 +03:00
Chaosus
9d73cdd05d
Increased contrast of solarized dark theme
2019-02-15 19:00:19 +03:00
marxin
7ae160f661
Fix 2 more UBSAN issues ( #25217 ).
2019-02-14 20:47:35 +01:00
Rémi Verschelde
c6c788581e
Drop unused AnimationTrackKeyEdit::track_editor
...
Added by mistake in 4a24ba6e77
.
2019-02-14 16:16:45 +01:00
Juan Linietsky
4a24ba6e77
-Fixes to undo redo to avoid crash, closes #24251
...
-Changed Animation to have a special signal when tracks are changed, to avoid unnecesary track cache rebuilds in AnimationPlayer
-Added missing emit_changed whe modifying keys to Animation
-Changed AnimationPlayer to use the new refcounted connections instead of the previous hacky way to keep references
-Changed AnimationEditor to update the current track when keys are edited
-Fixed bug where undo/redo did not work with AnimationKeyEdit (was not being updated)
-Made sure UndoRedo does not mind deleted objects in undo/redo history, this would corrupt the history or clear it without need.
2019-02-14 10:22:34 -03:00
Juan Linietsky
f981e9fe91
Avoid case where editors are deleted while moved, fixes #25508 , fixes #24829
2019-02-14 08:03:32 -03:00
Juan Linietsky
419fb45a3e
Disallow polygon2D editing if internal vertices exists, as suggested in #24853
2019-02-13 13:11:39 -03:00
Juan Linietsky
7f69da488e
Change some editing display options to make it clearer, as requested in #24853
2019-02-13 11:42:05 -03:00
Rémi Verschelde
d2765cd04a
Merge pull request #25814 from allkhor/hide_warning_panel
...
Hide the warning panel when no warnings presents.
2019-02-13 12:56:59 +01:00
allkhor
0137ec3468
Hide the warnings panel when no warnings presents.
2019-02-13 17:01:21 +06:00
Rémi Verschelde
5fc86026ca
Fix typos with codespell
...
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-02-13 09:23:29 +01:00
Rémi Verschelde
55ca2a7c88
Merge pull request #25821 from akien-mga/sync-class-and-filenames
...
Ensure classes match their header filename
2019-02-13 08:49:39 +01:00
QbieShay
c4eb974a8a
Added a setting for files in which the editor should search (project wise).
...
Remembers the tickboxes but only during the same execution
Fixes #25440
2019-02-12 21:24:07 +01:00
samHFIT
5e28fa53c4
Fixes issue #25822
2019-02-12 12:30:56 -05:00
Rémi Verschelde
8b77dac56e
Merge pull request #25827 from merumelu/audio-bus-tooltip
...
EditorAudioBuses: Fix wrong tooltip for "Add Bus"
2019-02-12 17:25:20 +01:00
Rémi Verschelde
c5dcbeb160
Scene: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
2019-02-12 17:21:48 +01:00
merumelu
5634f627da
EditorAudioBuses: Fix wrong tooltip for "Add Bus"
2019-02-12 17:13:02 +01:00
merumelu
32b9aedd88
PluginConfigDialog: Slight usability changes
...
- Set focus to the first LineEdit instead of the confirm button.
- Default to GDScript rather than whatever language was first
registered with the ScriptServer.
2019-02-12 16:18:31 +01:00
Rémi Verschelde
b7cc2bb1e2
Core: Ensure classes match their header filename
...
Also drop some unused files.
Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`
Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
2019-02-12 13:34:25 +01:00
Rémi Verschelde
c95308e70f
Merge pull request #25819 from YeldhamDev/project_manager_cleanup
...
Minor cleanup in the Project Manager
2019-02-12 12:21:26 +01:00
Michael Alexsander Silva Dias
da45f1bf85
Minor cleanup in the Project Manager
2019-02-12 08:25:09 -02:00
Rémi Verschelde
c5a526840e
Merge pull request #25778 from YeldhamDev/add_disabled_tab_style
...
Add disabled tab style
2019-02-12 11:25:01 +01:00
qarmin
a14733be3f
Add button in Project Manager to remove all missing projects
2019-02-11 17:44:23 +01:00
Michael Alexsander Silva Dias
3a70020c98
Cleanup editor's top bar of old nodes
2019-02-11 02:18:54 -02:00
Michael Alexsander Silva Dias
e322fd140e
Add disabled tab style
2019-02-10 18:12:17 -02:00
Michael Alexsander Silva Dias
4fd7115e13
General cleanup of script and doc search bars
2019-02-10 14:18:08 -02:00
Rémi Verschelde
f614f15506
doc: Misc formatting fixes
2019-02-10 13:30:48 +01:00
Rémi Verschelde
ba0a4a942e
i18n: Sync translation template with current source
2019-02-10 13:19:03 +01:00
Rémi Verschelde
dc239b47b3
i18n: Sync translations with Weblate
2019-02-10 13:03:59 +01:00
Rémi Verschelde
33b64ec3fd
Merge pull request #25739 from qarmin/fix_scan_folders_after_deleting
...
Fix rescan files and folders after deleting them
2019-02-09 20:37:59 +01:00
Rémi Verschelde
5fa5678eb7
Merge pull request #25736 from qarmin/fix_sprie_frames_editor
...
Fix latest regression error in SpriteFramesEditor
2019-02-09 18:27:40 +01:00
Rémi Verschelde
ae1ac55409
Merge pull request #25712 from QbieShay/issue_25609
...
Root node of a scene is now selected when the scene is opened.
2019-02-09 18:22:28 +01:00
Rémi Verschelde
7d5c6f4c7a
Merge pull request #25710 from Calinou/add-hint-output-font-size
...
Add a setting hint for the Output panel font size
2019-02-09 17:46:39 +01:00
qarmin
5b9662a2c5
Rescan files and folders deleting them
2019-02-09 14:36:16 +01:00
qarmin
c8f084b0d5
Fix latest regression error in SpriteFramesEditor
2019-02-09 12:50:19 +01:00
qarmin
a0fb4f2b5d
Clearch SearchBox when unclick SearchButton
2019-02-08 23:59:51 +01:00
QbieShay
fe046de216
Root node of a scene is now selected when the scene is opened.
2019-02-08 22:50:39 +01:00
Rémi Verschelde
8253cdbda3
Merge pull request #25692 from YeldhamDev/spriteframes_editor_changes
...
Small changes to the SpriteFrames editor
2019-02-08 19:52:20 +01:00
Rémi Verschelde
865d7983e0
Merge pull request #25701 from Chaosus/fix_particles_gizmo
...
Fix undo for Particles 3D gizmo
2019-02-08 19:51:40 +01:00
Hugo Locurcio
07e87f6ec0
Add a setting hint for the Output panel font size
...
This closes #21237 .
2019-02-08 19:34:43 +01:00
Erik
a83877a8e8
Moves cursor to and selects "new_script" in Create Script dialog
...
When Create Script dialog pops up, the cursor in the Path LineEdit is
moved to the "new_script" name placeholder and it is selected.
2019-02-08 18:42:05 +01:00
Rémi Verschelde
5e837b3f13
Merge pull request #25552 from groud/better_error_message
...
Displays errors and warnings in a better way in the script editor
2019-02-08 17:03:55 +01:00
Chaosus
43a3db4c00
Fix undo for Particles 3D gizmo
2019-02-08 14:26:52 +03:00
Rémi Verschelde
da18307a53
Merge pull request #25562 from IronicallySerious/fix-empty-project
...
Fix prompt for empty project files when loaded
2019-02-08 12:16:01 +01:00
Rémi Verschelde
39bc758bb5
Merge pull request #25549 from Zylann/fix_game_font_size_forced_to_13
...
Don't modify font which could potentially not be the editor one yet
2019-02-08 12:13:05 +01:00
Rémi Verschelde
15a5c97591
Merge pull request #25546 from Zylann/fix_garbage_log_pointer
...
Fixed uninitialized pointer access due to THEME_CHANGED notification
2019-02-08 12:11:16 +01:00
Rémi Verschelde
6958953ffa
Merge pull request #25515 from Zylann/search_bar_bottom
...
Moved script editor search bar to the bottom
2019-02-08 11:36:16 +01:00
Rémi Verschelde
4ddefe9142
Merge pull request #25467 from fire/folding_spam
...
Add check in folding to see if the nodepath exists to avoid message spam and expose get_node_or_null
2019-02-08 10:13:36 +01:00
Michael Alexsander Silva Dias
d3082c99b5
Small changes to the SpriteFrames editor
2019-02-07 22:54:59 -02:00
Twarit
56f4d59962
Fix prompt for empty project files when loaded
...
Fixes #25541
2019-02-06 17:21:19 +05:30
hsandt
49b4faf43a
[Code Editor] Fixed toggle_inline_comment moving cursor position by 1 even with longer delimiter like "//"
2019-02-04 20:23:48 +01:00
hsandt
5165a90ef6
[Script Editor] Refactored ScriptTextEditor::_edit_option by extracting EDIT_TOGGLE_COMMENT case
...
CodeEditor::toggle_inline_comment is now used by both ScriptTextEditor and ShaderEditor
2019-02-04 20:21:08 +01:00
Daniel Rakos
6df53e0401
MeshLibrary export improvements
...
- From now materials assigned to the MeshInstance (not the Mesh) get exported
into the MeshLibrary when such materials exist. This enables workflows where
the MeshLibrary is exported from an imported scene (e.g. GLTF) where the
materials assigned to the Mesh (not the MeshInstance) get overwritten on
re-import, thus can't use editor set materials in the exported MeshLibrary
unless they are assigned to the MeshInstance whose materials get saved with
the inherited scene thus persist across re-imports.
- When appending to an existing MeshLibrary only generate previews for newly
added or modified meshes.
- During preview generation transform camera and lights instead of the mesh
and use the source MeshInstance's transform for the mesh to avoid weird
previews being generated for meshes with a position dependent material
(e.g. when using triplanar mapping).
- Adjust the camera angle and light directions used in mesh preview generation
for better results.
2019-02-03 22:48:35 +01:00
Gilles Roudière
5f981d7fef
Displays errors and warnings in a better way in the script editor
2019-02-01 17:20:59 +01:00
Marc Gilleron
81a5eb4d18
Don't modify font which could potentially not be the editor one yet
2019-02-01 16:59:55 +01:00
Marc Gilleron
fb2eb66e40
Fixed uninitialized log member due to THEME_CHANGED notification
2019-02-01 15:30:44 +01:00
Rémi Verschelde
58de384978
Merge pull request #25540 from JFonS/remove_gizmo_errors
...
Fix gizmo errors on "Align with view"
2019-02-01 14:12:37 +01:00
JFonS
2232d3336e
Fix gizmo errors on "Align with view"
2019-02-01 12:16:05 +01:00
Marc Gilleron
ae9a23e36c
Moved script editor search bar to the bottom, so it doesn't shift everything down
2019-01-31 16:44:40 +01:00
Bojidar Marinov
72472bef05
Fix remote scene tree root folding
...
Fixes #25487
2019-01-31 16:40:27 +02:00
K. S. Ernest (iFire) Lee
b83c3827f3
Add check in folding to see if the nodepath exists to avoid message spam.
2019-01-30 20:19:44 -08:00
Gilles Roudiere
96f25c8b67
Move some tilemap options to the toolbar
2019-01-30 16:06:40 +01:00
Rémi Verschelde
c21ca98e4c
Merge pull request #25469 from ankitpriyarup/master
...
Fixes error when new name contains only unallowed characters
2019-01-30 12:05:35 +01:00
Windy Darian
c478f30321
Support script global class (class_name) when importing a scene
...
We could already choose a script global class for root_type at scene import config. However, it would fall back to default Spatial if a script global class is chosen. This will make sure the base type for the script class is used, and the script to root node is attached upon import.
2019-01-29 23:25:57 -05:00
Ankit Priyarup
ee560dd987
Invalid node name should check if new_name is empty then cancel rename, fixes 25226
2019-01-29 22:21:50 +05:30
volzhs
1c14da3273
Remove unnecessary call VS::get_singleton() twice
2019-01-29 02:55:13 +09:00
Rémi Verschelde
70689ebffd
Remove unused iostream includes
2019-01-28 12:16:22 +01:00
Juan Linietsky
98ffb6b37e
Instantiate global classes properly, fixes #20857
2019-01-27 18:18:54 -03:00
Rémi Verschelde
2ad6212a3f
Merge pull request #25372 from JFonS/add_gizmo_docs
...
Minor fixes and documentation for Spatial Gizmos
2019-01-27 19:06:42 +01:00
JFonS
e90fb5b0ab
Minor fixes and documentation for Spatial Gizmos
2019-01-27 18:40:01 +01:00
Rémi Verschelde
4cfce99955
Merge pull request #25355 from YeldhamDev/color_picker_changes
...
Make some small enhancements to the ColorPicker
2019-01-27 18:37:48 +01:00
Rémi Verschelde
1bed784c9a
Merge pull request #25380 from godotengine/fix_pivot
...
Fixes the pivot setting with control nodes
2019-01-27 18:20:06 +01:00
Rémi Verschelde
86e1de71df
Merge pull request #25383 from akien-mga/editorinspector-property_changed_update_all
...
Fix EditorInspector property_changed argument mismatch
2019-01-27 17:58:12 +01:00
Juan Linietsky
a089061120
Fix pixelized previews, but also instances of breaking ImageTexture cache. Closes #25378 .
2019-01-27 13:41:47 -03:00
Rémi Verschelde
563139e5f3
Fix EditorInspector property_changed argument mismatch
...
Bug introduced in #21701 , missed in 541422a4a2
.
2019-01-27 17:37:24 +01:00
Gilles Roudiere
d3619f8743
Disables the Layout menu when a Control node is child of a container
2019-01-27 16:36:10 +01:00
Gilles Roudiere
3cfd80b0bf
Fixes the pivot setting with control nodes
2019-01-27 15:51:45 +01:00
Michael Alexsander Silva Dias
182f26fe5e
Make some small enhancements to the ColorPicker
2019-01-27 12:44:39 -02:00
Rémi Verschelde
c3b0ee5941
Fix code style issues
2019-01-26 22:35:31 +01:00
Rémi Verschelde
16fa788510
i18n: Sync translation template with current source
2019-01-26 22:27:36 +01:00
Rémi Verschelde
8cc9bf5969
i18n: Sync translations with Weblate
2019-01-26 22:24:25 +01:00
Rémi Verschelde
d9268265dc
Merge pull request #25354 from Ranoller/patch-5
...
Profiler list functions from max to less expensive
2019-01-26 20:44:10 +01:00
Juan Linietsky
ed1b9c1f15
Avoid crash in import (though model still does not work well), fixes #19346
2019-01-26 16:32:05 -03:00
Ranoller
d7c72dc2d1
Profiler list functions from max to less expensive
...
Solves https://github.com/godotengine/godot/issues/25328 and partially https://github.com/godotengine/godot/issues/5682
2019-01-26 19:54:04 +01:00
Rémi Verschelde
1365bed8ed
Merge pull request #25338 from DualMatrix/search_inaccurate
...
Fixed Recent/Favorite in Create Node dialog not selecting right node
2019-01-26 14:24:35 +01:00
DualMatrix
e3648c0a79
Fixed Recent/Favorite in Create Node dialog not selecting right node
...
Fixes #6535
2019-01-26 13:52:53 +01:00
Rémi Verschelde
35c1694c04
Merge pull request #24923 from groud/add_color_audio_buses_buttons
...
Adds color to the audio buses buttons
2019-01-26 12:02:24 +01:00
Rémi Verschelde
6e600706e9
Merge pull request #25237 from eska014/pjmgr-rasterizerselect
...
Add renderer selection to New Project dialog
2019-01-26 00:14:45 +01:00
Juan Linietsky
b3335e943b
Implement missing autorestart in oneshot node, closes #22238
2019-01-25 18:15:29 -03:00
Juan Linietsky
b0758b2d73
Stop preview generator before reimporting resources with different type.
2019-01-25 17:27:50 -03:00
Juan Linietsky
5bd3f72878
Properly warn about the effects of changing an import type, as well as force editor restart. Fixes #23874
2019-01-25 17:23:56 -03:00
Juan Linietsky
853f985b63
Make sub-inspectors not listen to node removals, since they never edit nodes. Fixes #23554
2019-01-25 15:14:56 -03:00
Juan Linietsky
32fa136cc7
Ability to keep images in ImageTexture cached while using editor, fixes #25243
2019-01-25 13:40:23 -03:00
Rémi Verschelde
c298b5267a
Merge pull request #25306 from DualMatrix/no_showup
...
Fixed function names of built-in scripts not showing up in debugger
2019-01-25 14:41:23 +01:00
DualMatrix
f119e0b156
Fixed function names of built-in scripts not showing up in debugger
...
Fixes #25198
2019-01-25 12:54:50 +01:00
qarmin
6c159acf47
Add third point to move Rectangle Shape 2D in two axis
2019-01-25 09:49:28 +01:00
Leon Krause
12bdb46706
Add renderer selection to New Project dialog
2019-01-25 01:49:55 +01:00
groud
cb37de33ad
Adds color to the audio buses buttons
2019-01-24 23:02:53 +01:00
groud
8676370aa5
Fixes Node2D selection not adapting to editor zoom level
2019-01-24 20:43:11 +01:00
Rémi Verschelde
3551e3478a
Merge pull request #25260 from neikeq/qq
...
PluginConfigDialog: Add partial support for more script language
2019-01-23 15:41:11 +01:00
Ignacio Etcheverry
504508e61c
PluginConfigDialog: Add partial support for more script language
2019-01-23 14:54:33 +01:00
Marcin Zawiejski
e53c5d858a
Fix global settings consistency
...
Fixes #25161
2019-01-23 00:09:22 +01:00
Juan Linietsky
cd45f05f7e
Forbid making root on inherited scenes, closes #24484
2019-01-22 13:49:03 -03:00
Juan Linietsky
c70c43c888
Make inspector gain focus on refresh only if it has it, fixes #24979 , closes #25053
2019-01-22 12:29:26 -03:00
Rémi Verschelde
4a184a79e0
Merge pull request #25215 from akien-mga/scripteditor-goto-line
...
Fix going to script line on VisualScript errors
2019-01-22 12:19:15 +01:00
Rémi Verschelde
8cc83accd3
Merge pull request #25195 from YeldhamDev/texregion_editor_sprite3d
...
Make the Texture Region Editor able to edit regions of Sprite3Ds
2019-01-22 11:44:12 +01:00
Rémi Verschelde
79a4c41b22
Fix going to script line on VisualScript errors
...
Fixes #18103 , which was a regression from #16888 .
2019-01-22 10:55:55 +01:00
Juan Linietsky
6fa632b821
Add function to obtain filesystem type from DirAccess.
...
Change EditorFileSystem to not use directory modification times on FAT32, fixes #20946
2019-01-21 18:06:14 -03:00
Rémi Verschelde
100154a131
i18n: Sync translation template with current source
2019-01-21 20:36:37 +01:00
Rémi Verschelde
f1f65d9c05
i18n: Sync translations with Weblate
2019-01-21 20:35:16 +01:00
Michael Alexsander Silva Dias
f1cd587bbd
Make the Texture Region Editor able to edit regions of Sprite3Ds
2019-01-21 16:52:57 -02:00
Rémi Verschelde
2323464f5e
ExportDialog: Make error messages translatable
...
Also fix missing newlines that caused #24202 .
2019-01-21 18:34:53 +01:00
Rémi Verschelde
26cf4fed6e
Merge pull request #25163 from ankitpriyarup/master
...
Disable autowrap for export dialog errors
2019-01-21 18:07:35 +01:00
Ankit Priyarup
7e6edee193
Disable autowrap for export dialog errors
...
Fixes #25065
2019-01-21 18:01:40 +05:30
Hugo Locurcio
f9d0bc1858
Make "Export with Debug" more visible in the Export dialog
...
This swaps out the CheckButton with a CheckBox, which has two benefits:
- The checkbox icon appears to the left of the text, which moves it
closer from the text. This makes it more easily noticeable, as
it also appears below the "File:" text now.
- It follows the UI convention of using checkboxes for options that
do not bear an immediate effect, unlike CheckButtons which are
expected to have an immediate effect when toggled.
This closes #25170 .
2019-01-20 23:53:42 +01:00
Rémi Verschelde
632ff1634b
Merge pull request #25110 from groud/display_pivot
...
Displays the pivot all the time and rotate the icon
2019-01-19 09:39:33 +01:00
groud
056ea997e5
Displays the pivot all the time and rotate the icon
2019-01-18 19:30:45 +01:00
Melvin Winstroem-Moeller
b2abbeca4b
Editor source status font size, fixes #25039
2019-01-18 19:20:35 +01:00
Juan Linietsky
541422a4a2
Clean up and fix issues after merging #21701 , closes #21104
2019-01-18 13:01:24 -03:00
Juan Linietsky
580bebda52
Merge pull request #21701 from AlexHolly/fix-multiselect-proptery-change
...
Fix multiselect change property
2019-01-18 12:37:50 -03:00
Rémi Verschelde
798246c34b
Merge pull request #25076 from groud/fix_filesystem_dock
...
Fixes crash in the Filesystem dock
2019-01-17 22:54:42 +01:00
groud
d4de7cf186
Fixes crash in the Filesystem dock
2019-01-17 20:48:46 +01:00
Juan Linietsky
e0336996ce
Add some checks to avoid disaster when making a node the scene root. Fixes #24484
2019-01-17 15:26:38 -03:00
Juan Linietsky
5e709baba1
Fix keying resource properties, closes #24690
2019-01-17 12:30:34 -03:00
Rémi Verschelde
e4f1b995cc
Fix radio buttons support in ItemListEditorPlugin
...
This was missed in bf14a6deff
.
2019-01-17 16:14:01 +01:00
Juan Linietsky
e8d31cc765
Perform a cleaner exit for resource preview, fixes #24206
2019-01-17 09:09:39 -03:00
Rémi Verschelde
07e2046980
Merge pull request #24924 from danilo2205/rename-oriented-path-follow
...
Merge OrientedPathFollow into PathFollow
2019-01-16 19:24:44 +01:00
Danilo Villa (Davi)
e74a3add9c
Rename OrientedPathFollow to PathFollowOriented
2019-01-16 14:32:18 -02:00
jlahman
b8a524efa3
Fix order of a nullptr test in canvas item editor
2019-01-16 01:11:11 -05:00
Juan Linietsky
96445cd90e
Clear internal vertex counter when redrawing polygons, closes #24862 .
2019-01-15 15:43:55 -03:00
Rémi Verschelde
fadaeb06c0
Merge pull request #24909 from xDGameStudios/array_static_types
...
Disallow changing array element types, when using hint (inspector fix)
2019-01-15 13:22:43 +01:00
Juan Linietsky
95a5803c92
wtf
2019-01-14 15:52:43 -03:00
Juan Linietsky
91290f0ded
Added a flag to specify an exported node path must be supplied from scene root, fixes #24412
2019-01-14 15:46:56 -03:00
Juan Linietsky
6f884cc884
Use SceneTreeDock to replace particles node properly, fixes #24162
2019-01-14 13:41:54 -03:00
Juan Linietsky
f4ac678d58
Removed ancient code for set_edited that was doing nothing.
2019-01-14 12:44:16 -03:00
Rémi Verschelde
0222841357
i18n: Sync translation template with current source
2019-01-14 16:42:58 +01:00
Rémi Verschelde
19c562991c
i18n: Sync translations with Weblate
2019-01-14 16:42:57 +01:00
Rémi Verschelde
577659cb1b
Merge pull request #24981 from akien-mga/property-editor-rid
...
Add EditorPropertyRID as read-only label showing RID
2019-01-14 15:53:39 +01:00
Juan Linietsky
4bb0080b3d
Do not allow adding tasks while in the middle of flushing a message queue
2019-01-14 11:00:05 -03:00
Rémi Verschelde
0b48484d49
Add EditorPropertyRID as read-only label showing RID
...
Fixes #24827 .
2019-01-14 11:50:42 +01:00
Guilherme Felipe
771fbd282a
Show play position of sub state machine
...
Sub state machine now show the play position of the current state
playing.
2019-01-13 16:00:33 -02:00
Wilson E. Alvarez
4a15f5522d
Fixed null editor icon crash
...
Fixes #24932
2019-01-13 09:28:56 -05:00
Rémi Verschelde
bf799246fd
Merge pull request #24914 from volzhs/export-split
...
Use HSplit to resize presets and options panel on Export window
2019-01-11 18:09:57 +01:00
volzhs
87305a0f54
Use HSplit to resize presets and options panel on Export window
2019-01-12 01:54:00 +09:00
xDGameStudios
f9788f75e5
Add static types to arrays (inspector fix)
2019-01-11 13:31:08 +00:00
Rémi Verschelde
8972c05e80
Merge pull request #24899 from YeldhamDev/poly2duv_editor_undoredo_fix
...
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-11 10:08:05 +01:00
Juan Linietsky
2cd15849f9
Fixes to auto triangle editing in BlendSpace2D
2019-01-10 21:40:46 -03:00
Michael Alexsander Silva Dias
7cef10a503
Fix UndoRedo operations for the new features in the Polygon2D UV Editor
2019-01-10 22:20:06 -02:00
groud
c48f92e394
Fixes 2D bones selection
2019-01-09 20:55:04 +01:00
Guilherme Felipe
c7d4807b7b
Hides error_panel of state machine on the first time.
2019-01-09 15:16:41 -02:00
x2f
b50fa06c6d
Fix for issue #24810 (find in files logic)
...
Match case check box was used for whole words as well as match case.
2019-01-09 00:23:46 -05:00
Juan Linietsky
e46f28e02d
Removed splits in Polygon editor, replace by internal vertices and polygon support.
2019-01-08 19:11:08 -03:00
Rémi Verschelde
d8c40bccbb
Merge pull request #24831 from clayjohn/fix_nested_docs_tooltip
...
Make tooltips display for nested resources
2019-01-08 09:11:03 +01:00
clayjohn
9d162f9fbe
make tooltips display for subinspectors
2019-01-07 20:38:03 -08:00
Rémi Verschelde
ac8ae09bc3
i18n: Sync translation template with current source
...
Misc fixes to source strings.
2019-01-07 16:57:52 +01:00
Rémi Verschelde
d2b17d8d60
i18n: Sync translations with Weblate
2019-01-07 16:42:05 +01:00
Rémi Verschelde
db33b03f49
Merge pull request #24814 from YeldhamDev/animtree_editor_statemach_scrolls
...
Move scrolls in the StateMachine editor inside the panel
2019-01-07 15:11:05 +01:00
Michael Alexsander Silva Dias
67ac8fe359
Move scrolls in the StateMachine editor inside the panel
2019-01-07 00:21:48 -02:00
Guilherme Felipe
59df3ca911
Fix state machine scroll
2019-01-06 12:35:12 -02:00
Rémi Verschelde
021421e180
Merge pull request #24782 from SoIAS/duplicated_code_24781
...
Removed duplicated code in animation_track_editor.cpp
2019-01-05 11:29:09 +01:00
Dawid Wdowiak
855a82211f
Removed duplicated code
2019-01-04 22:18:54 +01:00
Rémi Verschelde
495e40cff8
Revert "Fix blend tree generating wrong node names"
2019-01-04 19:45:39 +01:00
Rémi Verschelde
5809be9641
Merge pull request #24582 from Xrayez/script-encrypt
...
Bring back script encryption in export preset
2019-01-04 16:34:38 +01:00
Rémi Verschelde
d54894ffae
Merge pull request #24647 from WindyDarian/gltf_morph_fix
...
Fix for blend shape incorrectly scaling skinned gltf mesh
2019-01-04 15:21:38 +01:00
Timo Schwarzer
163e0e3ebd
Add thumbnails to LargeTexture
2019-01-03 13:09:25 +01:00
Chaosus
be2bc4dab8
Improved script attachment/removal a bit
2019-01-02 16:56:11 +03:00
Rémi Verschelde
f1d1ecb383
Merge pull request #24686 from YeldhamDev/autotile_grid_separation_fix
...
Fix incorrect grid snapping in TileSet editor with separation
2019-01-01 19:04:04 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
d1f3b622f0
Fix missing/malformed license headers
2019-01-01 12:46:36 +01:00
Michael Alexsander Silva Dias
07fdd2c702
Fix incorrect grid snapping in TileSet editor with separation
2018-12-31 13:36:51 -02:00
Chaosus
b26d2ac190
Fix "method not found" error when script is removed from object
2018-12-31 12:09:08 +03:00
Dawid Wdowiak
131001a4fb
Fixed a property warning when loading a correct resource type
...
Fixed warning when loading a correct resource type to a property that could take more than one resource type.
2018-12-30 19:04:49 +01:00
Rémi Verschelde
ac46862097
Merge pull request #24506 from JFonS/expose_gizmos
...
Expose the new gizmo plugin system to scripting
2018-12-30 15:42:30 +01:00
Rémi Verschelde
1d7b69ebbc
Merge pull request #24664 from SoIAS/graph_node_headers_statemachine-24458
...
Removed graph node headers from state machine nodes
2018-12-30 14:06:58 +01:00
Michael Alexsander Silva Dias
4a91f94c13
Add undo-redo to the TileSet editor, and other improvements
2018-12-30 10:54:03 -02:00
Dawid Wdowiak
58ae20f239
Removed graph node headers from state machine nodes
2018-12-30 09:25:13 +01:00
Windy Darian
d9d6119b6e
Partial fix for blend shape with gltf
...
This fixes https://github.com/godotengine/godot/issues/20377 , where blend shape scales the mesh if the mesh is also skinned.
The issue was that the blend shape was trying to blend using BLEND_SHAPE_MODE_RELATIVE (directly adding everything in morph shape as displacement), while bone weights were copied in the morph shape, which resulted in 2x bone weights causing mesh to become bigger when blended.
Setting the blend mode to BLEND_SHAPE_MODE_NORMALIZED while guaranteeing the data is correct fixes the issue (previously treating gltf2's morph displacement data as blend target data). Ideally we still want to use BLEND_SHAPE_MODE_RELATIVE since it may need much less data, but that seems to require a larger refactor?
2018-12-29 01:13:35 -05:00
Rémi Verschelde
2e39e38c10
doc: Sync classref with current source
...
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Rémi Verschelde
9c7ca687b2
Make error more explicit when OBJ/MTL files are missing
...
Fixes #24595 .
2018-12-27 10:39:43 +01:00
Erik
4f5f868b8a
Made clone (CTRL+B) in code editor clone only the selection.
...
In code editor, when code is selected, cloning (CTRL+B) now clones only the selected code. The code is cloned to
the end of selection. The previous behaviour was to clone the full line which the selection "touches" to the new
line after the end of selection.
2018-12-25 15:52:38 +01:00
Michael Alexsander Silva Dias
8aad7ef016
General fixes for the TileSet editor
2018-12-24 18:27:43 -02:00
Andrii Doroshenko (Xrayez)
ba13a2bc05
Bring back script encryption in export preset
...
Retrieved working implementation from 2.1 branch and adapted to
existing export preset system.
Added Script tab in export preset to export script as raw text,
compiled, or encrypted (same as in 2.1). The script encryption key is
visually validated. The script export mode and the key is saved per
per preset in `export_presets.cfg`, so it makes sense to ignore this
file in version control system.
Each custom exporting procedure can retrieve an export preset set
during project exporting. Refactored project export dialog a bit to
allow easier code comprehension.
2018-12-24 17:16:14 +02:00
Guilherme Felipe
bacf5124cf
Add EDITMODE_PRIORITY for ATLAS_TILE
...
When editing ATLAS_TILE, now it's possible to enable priority to
randomize subtiles.
2018-12-23 18:56:18 -02:00
Guilherme Felipe
8a202bc223
Fix blend tree generating wrong node names
...
Now it's possible to connect nodes again.
2018-12-22 12:18:04 -02:00
JFonS
6b15b4f904
Expose the new gizmo plugin system to scripting
2018-12-21 23:56:39 +01:00
Rémi Verschelde
616beb1041
ProjectManager: Warn when projects have different config_version
...
When opening projects for edition through the project manager, the
following checks are now done:
1. If the config_version is lower than the one used by the current
engine version, users are asked if they want to convert to the new
format or abort editing. Fixes #20626 .
2. If the config_version is higher than the expected one (project
from a more recent and incompatible engine version), projects are
grayed out and can't be edited. Fixes #18758 .
When editing from the command line, the behaviour is unchanged:
projects in situation (1) are automatically converted, while projects
in situation (2) show an error message (made more explicit).
The "Run" option from the project manager was not changed, so it will
still run (1) projects without converting them, and fail running (2)
projects.
Co-authored-by: groud <gilles.roudiere@gmail.com>
2018-12-21 12:45:27 +01:00
Rémi Verschelde
be8c0d57c5
Merge pull request #24519 from Chaosus/error_label_fix
...
Change LinkLabel back to Label in error status bar
2018-12-21 10:14:04 +01:00
Rémi Verschelde
f09956c86c
Merge pull request #24513 from YeldhamDev/fix_tileset_editor_draw
...
Fix small drawing error in TileSet editor
2018-12-21 10:09:00 +01:00
Chaosus
260b5818f1
Change LinkLabel back to Label in error status bar
2018-12-21 11:39:54 +03:00
Michael Alexsander Silva Dias
daf54133c2
Fix small drawing error in TileSet editor
2018-12-20 19:52:56 -02:00
Guilherme Felipe
21bad78bd8
Fixes for TileSetEditor and TileMapEditor
...
[TileSetEditor] Hide Bitmask and Priority for ATLAS_TILE
[TileMapEditor] Hide "Disable autotile" if the selected tile isn't
autotile
Fix #22756 , don't update bitmask when tilemode is ATLAS_TILE
2018-12-20 15:31:45 -02:00
Rémi Verschelde
e8cdbf99e9
CodeEditor: Drop unused enable_complete_timer variable
...
Its use was removed in 1039ba9ffb
.
2018-12-19 20:31:55 +01:00
Rémi Verschelde
26058376aa
Merge pull request #24462 from guilhermefelipecgs/fix_copy_paste_tilemap
...
Fix copy/paste for TileMap
2018-12-19 08:43:52 +01:00
Guilherme Felipe
06a929ace7
Fix copy/paste for TileMap
...
Fix #24440
2018-12-18 22:48:59 -02:00
Rémi Verschelde
3c999ae1a1
Merge pull request #24451 from mateusfccp/animation_editor_curve_tangent_different_color
...
Change color of AnimationPlayer curve to "highlight"
2018-12-18 18:56:05 +01:00
Michael Alexsander Silva Dias
2b278a5336
Small fixes for the AnimationTree editor
2018-12-18 15:24:22 -02:00
Mateus Felipe C. C. Pinto
e7968954e8
Change color of AnimationPlayer curve to "highlight"
...
This is to be consistent with Curve editor and to be less confusing
related to tangent lines color.
2018-12-18 13:46:03 -02:00
Mateus Felipe C. C. Pinto
ca1935d6f7
Add settings for single-quotes on completion
2018-12-18 12:48:36 -02:00
Rémi Verschelde
1039ba9ffb
EditorSettings: Remove enable_code_completion_delay
...
It was badly named (it disables code completion, not just the delay), and also
badly implemented (not preventing the timer for running, but just preventing it
to show the autocompletion).
It could be readded with a proper name and cleaner implementation if there's an
actual need for it.
Supersedes #24407 and closes #24352 .
2018-12-18 10:06:38 +01:00
Rémi Verschelde
1621270f26
Merge pull request #24432 from YeldhamDev/animationtree_editor_fixes
...
General fixes for the AnimationTree editor
2018-12-18 09:08:10 +01:00
Rémi Verschelde
75c6ad9756
Merge pull request #24427 from guilhermefelipecgs/fix_bread_crumb
...
Fix bread crumb of AnimationTree
2018-12-18 09:06:57 +01:00
Michael Alexsander Silva Dias
3c9ce2406b
Make the AnimationTree editor's path section more obvious
2018-12-17 23:52:14 -02:00
Michael Alexsander Silva Dias
b86b497cec
General fixes for the AnimationTree editor
2018-12-17 21:03:58 -02:00
Guilherme Felipe
317561863d
Fix bread crumb of AnimationTree
2018-12-17 17:08:41 -02:00
Rémi Verschelde
28b10ea668
Fix sometimes uninitialized variable warning raised by Xcode 9.4.1
...
Fixes this warning raised by Travis CI on macOS:
```
editor/plugins/polygon_2d_editor_plugin.cpp:95:6: warning: variable 'skeleton' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:106:7: note: uninitialized use occurs here
if (!skeleton) {
^~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:95:2: note: remove the 'if' if its condition is always false
if (!node->has_node(node->get_skeleton())) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
editor/plugins/polygon_2d_editor_plugin.cpp:94:22: note: initialize the variable 'skeleton' to silence this warning
Skeleton2D *skeleton;
^
= NULL
```
2018-12-17 12:28:11 +01:00
Rémi Verschelde
38f8269e1b
Merge pull request #24410 from YeldhamDev/graph_editors_title_fix
...
Fix titles in graph editors being invisible when headers are enabled
2018-12-17 08:10:20 +01:00
Michael Alexsander Silva Dias
9d4a996a08
Fix titles in graph editors being invisible when headers are enabled
2018-12-16 23:18:04 -02:00
Alexandre LittleWhite Laurent
ca90dd302b
Change global timestamp behaviour earlier
2018-12-16 23:39:17 +01:00
Rémi Verschelde
74bf67c3a6
Ensure cursor is visible when EditorSpinSlider exits the tree
...
Supersedes and closes #22581 .
2018-12-16 23:20:03 +01:00
Rémi Verschelde
4cf2d5bffe
Merge pull request #24405 from guilhermefelipecgs/fix_undo_fsm
...
Fix "undo" of the state machine losing node's position
2018-12-16 21:30:32 +01:00
Guilherme Felipe
bcd2659a2f
Fix "undo" of the state machine losing node's position
2018-12-16 18:06:26 -02:00
Rémi Verschelde
169db6abdd
Merge pull request #24397 from volzhs/builtin-script
...
Create built-in script properly
2018-12-16 15:51:06 +01:00
Rémi Verschelde
9df7ed59fb
Merge pull request #19501 from Zylann/custom_loaders
...
Added basic support for custom resource savers and loaders
2018-12-16 14:26:56 +01:00
Rémi Verschelde
3914bdb82e
Merge pull request #24376 from Calinou/tweak-editor-status-colors
...
Tweak editor status colors (success, warning, error)
2018-12-16 14:06:43 +01:00
Rémi Verschelde
d3debe18b5
Merge pull request #24308 from mineevgleb/#24303-persist-project-sorting-order
...
#24303 : remember sorting order in the project manager
2018-12-16 14:00:44 +01:00
volzhs
d072d5ed14
Create built-in script properly
2018-12-16 18:31:43 +09:00
Hugo Locurcio
1e56b4dd62
Tweak editor status colors (success, warning, error)
...
Some of the previous colors were "overbright" in the sense that
some of their components were above 1, causing font anti-aliasing
to look bad.
These new colors should be easier on the eyes while fitting better
with the rest of the editor's color palette.
2018-12-15 18:09:52 +01:00
Gleb Mineev
b675a3f745
24303: remember sorting order in the project manager
2018-12-15 17:38:49 +01:00
Marc Gilleron
065e2670af
Added basic support for custom resource savers and loaders
2018-12-15 05:34:53 +00:00
Rémi Verschelde
7ac67bfec1
Merge pull request #23464 from GameCoderStudios/master
...
Ability to pick child nodes of scenes instances marked with "Editable…
2018-12-14 18:41:47 +01:00
Rémi Verschelde
7e4e9e95e4
Merge pull request #24333 from YeldhamDev/filechooser_folder_icon
...
Change EditorLineEditFileChooser to use the "Folder" icon
2018-12-14 08:56:57 +01:00
Rémi Verschelde
491743d670
Merge pull request #24331 from mineevgleb/resource-undo-redo
...
#23231 : make resource changes in a nested inspector undoable
2018-12-14 08:56:42 +01:00
Michael Alexsander Silva Dias
0e894a160c
Change EditorLineEditFileChooser to use the "Folder" icon
2018-12-13 19:39:51 -02:00
Gleb Mineev
2e4752bdba
#23231 : make resource changes in a nested inspector undoable
2018-12-13 22:35:16 +01:00
Marc Gilleron
1f1ab997b6
Re-add missing save resource button in the inspector
2018-12-13 21:24:25 +00:00
Rémi Verschelde
2f31d31c23
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 19:57:34 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
Rémi Verschelde
d0d52606a7
i18n: Sync translations with Weblate
2018-12-13 13:49:46 +01:00
Rémi Verschelde
4d27b1fe4f
Merge pull request #24109 from remorse107/godotengine-path2d-editor-fix
...
Fixed Path2D Plugin Editor so segments can be split.
2018-12-12 16:02:55 +01:00
Rémi Verschelde
31349eec8e
Merge pull request #24203 from qichunren/fix_export_dialog_layout
...
Fix ExportDialog layout out of boundary when select a template.
2018-12-12 16:00:49 +01:00
Rémi Verschelde
4fe5a1dbef
Merge pull request #24214 from marcelofg55/editor_audio_buses_fix
...
Fix EditorAudioBuses not updating when changing to a device with different channels
2018-12-12 13:55:21 +01:00
Rémi Verschelde
c8a5400654
Merge pull request #24241 from Rubonnek/move-to-initializer-list
...
Moved member variables to initializer list
2018-12-12 09:25:34 +01:00
Rémi Verschelde
ecc5888674
Merge pull request #24293 from akien-mga/editorsettings-cleanup
...
Better code organization in EditorSettings::_load_defaults and cleanup of unused settings.
2018-12-12 09:22:49 +01:00
Rémi Verschelde
77dd0561ef
EditorSettings: Remove unused settings from initial set
...
Fixes #24291 .
2018-12-12 08:31:31 +01:00
Rémi Verschelde
fe68f53298
Code style: Sort EditorSettings initial set by section
2018-12-12 08:18:28 +01:00
Wilson E. Alvarez
08f22f1cf0
Moved member variables to initializer list
2018-12-11 18:33:01 -05:00
Marcelo Fernandez
792786b4b7
Fix EditorAudioBuses not updating when changing to a device with different channels
2018-12-11 19:54:52 -03:00
Michael Alexsander Silva Dias
8f9447310d
Enable toggle behaviour for buttons that trigger popups
2018-12-11 19:23:26 -02:00
Rémi Verschelde
5ff403b3b0
Merge pull request #23361 from mrcdk/wav_loop_backward
...
Add backward looping support to AudioStreamSample (wav files)
2018-12-11 18:43:18 +01:00
Rémi Verschelde
55089d0b1a
Merge pull request #24224 from BastiaanOlij/flip_bitangent
...
Reverse bitangent on everythings
2018-12-11 15:21:43 +01:00
Guillaume Laforte
d09ccf6f81
Fixes the support of the 'keep on reimport' flag - Issue #20878 .
2018-12-11 08:56:36 -05:00
Rémi Verschelde
1a82877acc
Merge pull request #24278 from MarianoGnu/script_editor
...
Fix "index -1 out of range" error spam. Fixes #24277
2018-12-11 14:06:08 +01:00
Mariano Suligoy
1884952ae3
Fix "index -1 out of range" error spam when the Editor is using translations. Fixes #24277
2018-12-11 08:26:36 -03:00
qichunren
99f9af868a
Fix ExportDialog layout out of boundary when select a template.
2018-12-11 16:13:14 +08:00
Michael Alexsander Silva Dias
133031c65e
Fix "blocked > 0" error when selecting an item in the Search Help dialog
2018-12-11 00:43:13 -02:00
Andrii Doroshenko (Xrayez)
feb12559e6
Properly reselect duplicated visual shader nodes
...
This makes it much easier to drag duplicated nodes away from original ones.
2018-12-10 14:20:58 +02:00
Rémi Verschelde
bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde
3a312dbd32
Merge pull request #20725 from Calinou/textedit-subtle-indent-guides
...
Use more subtle indentation guides in the script editor
2018-12-09 23:10:32 +01:00
Rémi Verschelde
dc54ee18ae
Merge pull request #24236 from Xrayez/fix-20212
...
Fix duplicating visual shader nodes
2018-12-09 21:45:05 +01:00
Michael Alexsander Silva Dias
bc9cb0e6cd
Cleanup some unused controls in the editor's top bar
2018-12-09 17:51:30 -02:00
Andrii Doroshenko (Xrayez)
86eb6951c7
Fix duplicating visual shader nodes
2018-12-09 15:37:57 +02:00
Michael Alexsander Silva Dias
1bb14971e5
Minor changes to the File menu in the Script Editor
2018-12-08 15:59:15 -02:00
Michael Alexsander Silva Dias
e425f2d498
Expose "meta" to the Inspector
2018-12-08 02:27:20 -02:00
Bastiaan Olij
fa63a0fe83
Reverse bitangent on everythings to ensure default normal map behavriour is consistent
2018-12-08 13:43:46 +11:00
Rémi Verschelde
4191e5316b
Merge pull request #22437 from DualMatrix/wrong_prop_warning
...
Added warning when trying to load resource of wrong type in editor.
2018-12-07 23:17:43 +01:00
Rémi Verschelde
9b78147bce
Merge pull request #22535 from DualMatrix/editor_value_cap
...
Fixed editor inspector ranges capping values at 65535.
2018-12-07 23:15:48 +01:00
Rémi Verschelde
49ac23e29f
Merge pull request #19914 from guilhermefelipecgs/add_z_index_autotile
...
Add Z-Index for Autotile
2018-12-07 22:33:06 +01:00
Guilherme Felipe
69f6f787c0
Add Z-Index for Autotile
2018-12-07 18:42:56 -02:00
Marcelo Fernandez
087401b33f
Fix custom features missing when _export_begin is called
2018-12-07 16:29:47 -03:00
Marcelo Fernandez
3daf1a8744
EditorExportPlugin now calls _export_end() when export ends if scripted
2018-12-07 15:05:10 -03:00
Robert Morse
bce3599bd7
Fixed an issue with the Path2D plugin editor not supporting the capability to split curves as its toolbar buttons originally advertised.
2018-12-07 08:27:36 -06:00
Rémi Verschelde
c2e96c65b3
Merge pull request #23327 from YeldhamDev/search_shaders
...
Added "shader" filter to "Find in Files"
2018-12-07 15:11:32 +01:00
Rémi Verschelde
e4a2003b98
Merge pull request #22323 from williamd1k0/ignore-main-scene
...
Editor: Skip loading main scene if restore_scenes_on_load is used
2018-12-07 15:08:34 +01:00
Rémi Verschelde
cac8cc8052
Merge pull request #24205 from YeldhamDev/tileset_context_hide_script
...
Hide "Script" section in the "TilesetEditorContext"
2018-12-07 07:47:02 +01:00
Michael Alexsander Silva Dias
d514ac405b
Hide "Script" section in the "TilesetEditorContext"
2018-12-07 02:18:02 -02:00
groud
c6329b4569
Add signals for files move/delete/rename to FileSystemDock
2018-12-06 21:35:21 +01:00
Rémi Verschelde
ce3f3a9f82
Merge pull request #24194 from bojidar-bg/23567-fix-message-queue-overflow
...
Make thumbnail cache less tasking on the message queue
2018-12-06 20:31:08 +01:00
Thomas Winderweedle
f2e7a650c7
Clear application/run/main_scene if that file is deleted
...
Fixes #22473
2018-12-06 16:28:27 +01:00
Rémi Verschelde
3f1bec5887
Merge pull request #23977 from YeldhamDev/editor_plugins_improvements
...
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 16:26:16 +01:00
Bojidar Marinov
68e69fd45b
Make thumbnail cache less tasking on the message queue
...
Fixes #23567
2018-12-06 17:25:57 +02:00
Rémi Verschelde
7198f5da9b
Merge pull request #23608 from RySchmitt/fix_spin_slider
...
Improve dragging behavior of editor_spin_slider
2018-12-06 15:39:09 +01:00
Rémi Verschelde
a0a9553cbe
Merge pull request #23673 from marcelofg55/export_path_3
...
Export Path now has a folder icon to select the path
2018-12-06 15:33:04 +01:00
Rémi Verschelde
c084340216
Merge pull request #23935 from helenaMontenegro/master
...
Add sorting to the project manager
2018-12-06 14:14:08 +01:00
Rémi Verschelde
efefe0be95
Merge pull request #23982 from qichunren/fixed_line_edit_lost_focus_when_create_new_project
...
Fixed project name line edit focus lost when open project-create dialog.
2018-12-06 14:06:43 +01:00
David Kennedy
29284f628c
Fixes editor crashing when editing autotiles issue #24004
2018-12-06 07:15:48 -03:00
Michael Alexsander Silva Dias
e4d0ecce7a
General enhancements to the Polygon2D, TextureRegion, and TileSet editors
2018-12-06 03:29:27 -02:00
Rémi Verschelde
21dea10116
Merge pull request #24159 from YeldhamDev/dialog_size_metadata
...
Move "Dialog Bounds" from the Editor Settings to project's metadata
2018-12-05 16:19:18 +01:00
Rémi Verschelde
99640ac583
Merge pull request #24165 from YeldhamDev/light_occluder_reuse_polygon
...
Make LightOccluder2D Editor use the AbstractPolygon Editor instead of its own
2018-12-05 08:59:29 +01:00
Rémi Verschelde
31384a56b5
Merge pull request #24160 from YeldhamDev/graph_tooltips
...
Add tooltips to GraphEdit node
2018-12-05 08:57:19 +01:00
Rémi Verschelde
89f8b84c47
i18n: Sync translation template with current source
2018-12-04 23:22:18 +01:00
Rémi Verschelde
b7782f182a
i18n: Sync translations with Weblate
2018-12-04 23:21:00 +01:00
Michael Alexsander Silva Dias
53764a5ee6
Make LightOccluder2D Editor use the AbstractPolygon Editor instead of its own
2018-12-04 18:25:19 -02:00
Michael Alexsander Silva Dias
3ae5eec366
Add tooltips to GraphEdit node
2018-12-04 15:00:27 -02:00
Michael Alexsander Silva Dias
63dc20a827
Move "Dialog Bounds" from the Editor Settings to project's metadata
2018-12-04 13:55:24 -02:00
Rémi Verschelde
e4ebe3db26
Merge pull request #24129 from mrcdk/export_array_with_arguments
...
Arrays now parse the hint_string in the new inspector.
2018-12-04 10:59:19 +01:00
MrCdK
9c91cc00ea
Arrays now parse the hint_string in the new inspector.
...
Also, if a hint_string is given, when changing the size of an Array the new elements are initialized to the default value of that type hint.
2018-12-03 19:05:22 +01:00
Rémi Verschelde
6f9aa8727c
Merge pull request #23991 from glaforte/bugfix/19195
...
Generate the tangents without de-indexing and re-indexing the vertices.
2018-12-03 17:35:50 +01:00
asheraryam
79ca8e7305
Use filename as fallback instead of the class name for mesh instance loaded by dragging from file to editor.
2018-12-02 23:41:09 +02:00
Rémi Verschelde
8dd00ed176
Merge pull request #24117 from Paulb23/txt_file_last_modified_time
...
Fix text files constantly asking for reload as no last modified time
2018-12-02 21:45:24 +01:00
Rémi Verschelde
f730d183c7
Merge pull request #24085 from guilhermefelipecgs/fix_layout
...
Fix key icon overlapping revert icon
2018-12-02 18:09:34 +01:00
Paulb23
69fe17639e
Fix text files constantly asking for reload as no last modified time
2018-12-02 16:24:23 +00:00
Hugo Locurcio
ee2c26a7b3
Improve CheckButtons in the default editor theme
2018-12-02 16:55:58 +01:00
Guilherme Felipe
2015c74104
Fix key icon overlapping revert icon
2018-11-30 14:00:04 -02:00
Michael Alexsander Silva Dias
2823251c2f
Fix ItemList editor not hiding on node removal
2018-11-30 01:59:29 -02:00
Rémi Verschelde
c608d770d8
Merge pull request #24036 from glaforte/bugfix/18790
...
Changes the check for a singular matrix to use the scale vector.
2018-11-28 15:18:08 +01:00
Guillaume Laforte
fdb1fe6b92
Changes the check for a singular matrix to use the scale vector.
...
The check for the determinant does not have enough precision when used with a 0.01 uniform scale.
2018-11-28 08:56:01 -05:00
Rémi Verschelde
06db076fc6
Merge pull request #24025 from aaronfranke/analyzer-errors
...
Fix many errors found by PVS-Studio
2018-11-28 14:08:50 +01:00
Juan Linietsky
ab9bbce311
Disable progress dialog on export from command line, stab at fixing #24031
2018-11-28 08:46:26 -03:00
Aaron Franke
cb01268562
Fix many errors found by PVS-Studio
...
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-28 05:03:24 -05:00
Rémi Verschelde
aa08ef2bed
Merge pull request #23924 from Kanabenki/font-size-update
...
Display font size with zoom in code editor and refresh on settings change
2018-11-28 10:39:56 +01:00
Rémi Verschelde
dd06f6ee70
Fix style issues and signature mismatch
2018-11-28 10:21:07 +01:00
Juan Linietsky
616b91b498
Added test to avoid saving cyclic scene instancing, fixes #9686
2018-11-27 18:56:31 -03:00
Juan Linietsky
e6bc152de8
NORMALMAP was not working (no normal being used detected), fixes #9263
2018-11-27 18:05:20 -03:00
Rémi Verschelde
a92e885e55
Merge pull request #23992 from YeldhamDev/editor_help_scroll_value
...
Restore previous scroll position when reopening the search help dialog with a old search
2018-11-26 17:28:33 +01:00
Rémi Verschelde
24c38628b5
i18n: Sync translation template with current source
2018-11-26 17:25:11 +01:00
Rémi Verschelde
f0c7a545db
i18n: Sync translations with Weblate
...
Adds initial translations for Malayalam and Sinhala.
2018-11-26 17:23:42 +01:00
Michael Alexsander Silva Dias
78b9b7c42b
Restore previous scroll position when reopening the search help dialog with a old search
2018-11-26 13:40:59 -02:00
Guillaume Laforte
675dc00d04
Generate the tangents without de-indexing and re-indexing the vertices.
...
The support for shape keys / blend shapes depends on a consistent order for the vertices.
Fixes https://github.com/godotengine/godot/issues/19195 .
2018-11-26 10:09:52 -05:00
Rémi Verschelde
af92b7dc14
Merge pull request #23060 from willnationsdev/inherit-non-class-script
...
Fix Script -> Script Class not in CreateDialog
2018-11-26 10:52:52 +01:00
qichunren
1986cc1118
Fixed project name line edit focus lost when open project-create dialog.
...
This also select default project name text for convenience.
2018-11-26 15:56:34 +08:00
Juan Linietsky
815557c812
Do not normalize normal map when disabled, fixes #20761
2018-11-25 17:05:35 -03:00
Juan Linietsky
0d69da8c0e
Rewrite code for unfolding and make it automatic on scene load, which works better.
2018-11-25 10:47:33 -03:00
Alexander Holland
66d8ce0c05
Fix multiselect change property
2018-11-24 10:13:14 +01:00
helenaMontenegro
911cf63eb8
Add sorting to project manager. Fixes #8794 .
2018-11-23 23:53:21 +00:00
Juan Linietsky
cdafb7bce2
Properly show 2D bone previews in 2D skeleton UV editor, fixes #20950
2018-11-22 22:23:19 -03:00
Michael Alexsander Silva Dias
4abd90cdff
Make the buttons in the unified help dialog not steal focus
2018-11-22 21:20:57 -02:00
Rémi Verschelde
f673bd017d
Merge pull request #23885 from glaforte/bugfix/22848-attempt2
...
Avoids error messages when importing zero scale transforms in the COLLADA importer
2018-11-22 23:30:19 +01:00
Rémi Verschelde
20b6f104ff
Merge pull request #23907 from YeldhamDev/unified_help_fixes
...
General fixes for the new unified help search
2018-11-22 23:29:55 +01:00
Michael Alexsander Silva Dias
2049efc1e3
General fixes for the new unified help search
2018-11-22 19:41:10 -02:00
Juan Linietsky
9efc6d85d8
Do not crash on invalid file, closes #21083
2018-11-22 17:27:01 -03:00
Kanabenki
9dc15bae7c
Display font size with zoom in code editor and refresh on settings change
2018-11-22 16:22:55 +01:00
Rémi Verschelde
da31d63f76
Merge pull request #23680 from YeldhamDev/unified_help_search_revived
...
Unified Class and Reference Search 2: Resurrection
2018-11-22 16:16:52 +01:00
Rémi Verschelde
edbecf5908
Merge pull request #23875 from Chaosus/error_btn
...
Allows user to click on error line in status bar to jump into error.
2018-11-22 16:06:39 +01:00
Chaosus
1129d83272
Allows user to click on error line to jump into error.
2018-11-22 11:55:36 +03:00
Juan Linietsky
a2a606794c
Ensure array and dict editors show edited object IDs, fixes #20225
2018-11-21 22:10:58 -03:00
Rémi Verschelde
9e628264b6
Merge pull request #23890 from qarmin/more_accurate_svg_scale
...
Make SVG scale more accurate
2018-11-21 21:38:56 +01:00
Juan Linietsky
9018e8b132
Add Discrete and Carry blend modes for BlendSpace2D, allows to fix #20135
2018-11-21 16:07:24 -03:00
qarmin
82ab28e0d2
Make SVG scale more accurate
2018-11-21 19:06:38 +01:00
Guillaume Laforte
3f22f8d1f0
Avoids spamming the user when the COLLADA importer detects a singular basis during the animation import.
...
Fixes https://github.com/godotengine/godot/issues/22848 .
2018-11-21 10:15:08 -05:00
Juan Linietsky
894163a945
Make it smarter to infer paths from history data, closes #20005
2018-11-21 09:22:47 -03:00
Max Hilbrunner
998d3a30a5
Merge pull request #22983 from Ashafix/master
...
Better error message for malformed plugins
2018-11-21 12:18:15 +01:00
Juan Linietsky
da0ec37aa9
Reworked how non-imported resources are reloaded on change, fixes #19852
2018-11-20 21:48:48 -03:00
Ray Koopa
fddffa9eb8
Unify editor class and reference search
...
Co-authored-by: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2018-11-20 20:52:27 -02:00
Michael Alexsander Silva Dias
da7d3c5a58
Make opening menus with the same parent on mouse focus explicit
2018-11-20 20:37:45 -02:00
Rémi Verschelde
7439e55812
Merge pull request #23645 from Calinou/add-dynamicfont-antialias-option
...
Add a property to control DynamicFont anti-aliasing
2018-11-20 15:02:29 +01:00
Rémi Verschelde
90dd3774a3
Merge pull request #23802 from JFonS/add_save_option
...
Add Save option to resource property menu
2018-11-20 14:15:31 +01:00
Rémi Verschelde
477e89a8a2
Merge pull request #23760 from BastiaanOlij/fix_tangent_direction
...
Fixing tangent and binormal logic
2018-11-20 14:13:36 +01:00
Rémi Verschelde
57b634ad3d
Merge pull request #23813 from JFonS/change_gizmo_default
...
Change default gizmo visibility and icons
2018-11-20 08:50:18 +01:00
Rémi Verschelde
16a2c31e53
Merge pull request #23812 from YeldhamDev/clear_history_version_optional
...
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-20 08:49:17 +01:00
Bastiaan Olij
bcef4b8dc6
Fixing tangent and binormal logic
2018-11-19 22:27:05 +11:00
Michael Alexsander Silva Dias
7144e2fde4
Add more places to hide guides if relationship lines are enabled
2018-11-19 03:05:01 -02:00
Juan Linietsky
0f7a86ca52
If using relationship lines (now default) hide guides.
2018-11-18 22:00:31 -03:00
Juan Linietsky
dc33d25fec
Make sure inbetween lines in inspector can't be clicked, fixes #19014
2018-11-18 21:52:01 -03:00
Juan Linietsky
c12de11c44
Ensure multinode undo redo merges ends for operation, fixes #19010
2018-11-18 21:43:22 -03:00
Juan Linietsky
079c2630e2
Make sure RMB also works for resource editor in inspector, fixes #18994
2018-11-18 21:30:08 -03:00
Michael Alexsander Silva Dias
6ba94d5ca0
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-18 19:46:35 -02:00
JFonS
e5a4fa5281
Change default gizmo visibility and icons
2018-11-18 22:01:09 +01:00
Juan Linietsky
455f297671
Properly reset canvas state after drawing, fixes #18860
2018-11-18 16:34:20 -03:00
JFonS
dbca3b81ba
Add Save option to resource property menu
2018-11-18 15:17:04 +01:00
Wilson E. Alvarez
f8e0051420
Removed unnecessary assignments
2018-11-17 20:40:55 -05:00
Rémi Verschelde
9eb4b6d91a
Merge pull request #23748 from groud/fix_drag_and_drop_canvas_items
...
Fixes drag and drog of image files on scaled nodes
2018-11-17 17:20:50 +01:00
Rémi Verschelde
563356109b
Fixup to previous commit, missed one occurrence
2018-11-17 16:24:34 +01:00
Rémi Verschelde
efd4228892
EditorSettings: Rename invert_y-axis to invert_y_axis for consistency
...
No other option uses a dash in its identifier.
2018-11-17 16:19:02 +01:00
groud
60f2e94c08
Fixes drag and drog of image files on scaled nodes
2018-11-16 16:55:28 +01:00
DrNochi
911d3a4586
Check if setting exists to prevent warning
...
Fixes #23332
2018-11-16 15:26:55 +01:00
Juan Linietsky
7c00f0599e
Add proper warnings when attempting to create a ViewporTexture in a resource that is not fit for it. Closes #16006 .
2018-11-14 11:33:39 -03:00
Juan Linietsky
7f347cc31a
It is now possible to cancel on 2D polygon editor. RMB (previously close) and ESC will cancel polygon. Closes #15474
2018-11-13 18:50:54 -03:00
Marcelo Fernandez
e49a090919
Export Path now has a folder icon to select the path
2018-11-12 16:04:58 -03:00
Marcelo Fernandez
aaa650e14a
Fix missing bind for _export_path_changed
2018-11-12 11:38:26 -03:00
Rémi Verschelde
d1858cd729
Merge pull request #23655 from ibrahn/uninit-cleanup-plugins
...
Fixed various uninitialised member variables in editor plugins.
2018-11-12 08:56:07 +01:00
Rémi Verschelde
a05f136fb0
Merge pull request #23654 from YeldhamDev/remove_unused_debug_var
...
Remove unused variable in ScriptEditorDebugger
2018-11-12 08:53:28 +01:00
Rémi Verschelde
8dfe786406
Merge pull request #23649 from willnationsdev/fix-scene-icons
...
Fix scene dock not showing custom icons
2018-11-12 08:19:40 +01:00
Michael Alexsander Silva Dias
8a08a9fb6a
Remove unused variable in ScriptEditorDebugger
2018-11-11 15:35:09 -02:00
Ibrahn Sahir
ed337085cf
Fixed various uninitialised member variables in editor plugins.
2018-11-11 17:32:47 +00:00
Juan Linietsky
d16ce4a8ed
Many fixes to script editor remote debugger, closes #13346
2018-11-11 09:16:27 -03:00
Will Nations
33e18ab2b5
Fix scene dock not showing custom icons
2018-11-10 22:46:20 -06:00
Hugo Locurcio
fd89464d45
Add a property to control DynamicFont anti-aliasing
...
- Editor font anti-aliasing can now be disabled in the Editor Settings.
- DynamicFonts used in projects can now have their anti-aliasing
disabled in their DynamicFontData child. Changes will be visible
upon reloading the scene in the editor.
2018-11-10 22:07:32 +01:00
Rémi Verschelde
35e533f34f
Merge pull request #23597 from vnen/network-fs-fix
...
Fix deploy with network filesystem
2018-11-10 21:54:14 +01:00
Rémi Verschelde
f2873e5d06
Merge pull request #23638 from DualMatrix/tileset_spam
...
Fixed error spam when deleting cell in tileset
2018-11-10 21:53:11 +01:00
DualMatrix
b6c386a3b0
Fixed error spam when deleting cell in tileset
...
Fixes #23556 and should fix #21549
2018-11-10 18:52:52 +01:00
George Marques
9fac01e410
Fix deploy with network filesystem
...
Also make some prints only happen in verbose mode.
2018-11-10 10:51:31 -02:00
Juan Linietsky
eb2d7228cd
Make TextureRegion grid settings occupy less space, closes #12679
2018-11-10 08:08:27 -03:00
Rémi Verschelde
a16d9c6ab6
Merge pull request #23476 from marcelofg55/export_all
...
Add an Export All button to the Export dialog
2018-11-09 16:55:04 +01:00
Rémi Verschelde
d4c62e714c
Merge pull request #23578 from Liangdi/master
...
fix tile set editor crash when drawing polygon shapes
2018-11-09 15:57:31 +01:00
Rémi Verschelde
ffe5723fde
Merge pull request #23614 from DualMatrix/snappy
...
AnimationPlayer, snap absolute position instead of motion.
2018-11-09 15:56:32 +01:00
DualMatrix
e4e8fc6314
AnimationPlayer, snap absolute position instead of motion.
...
Fixes #22663
2018-11-09 12:35:49 +01:00
Rémi Verschelde
4e1995c29b
Remove junk SCons file
2018-11-09 11:51:38 +01:00
Rémi Verschelde
eef2625ae5
Merge pull request #23059 from groud/change_ci_selection
...
Allow the Container children selection but don't allow them to move
2018-11-09 10:04:34 +01:00
Ryan Schmitt
e890a7d627
Improve dragging behavior of editor_spin_slider
...
Fixes issues with changing the size or position of a Rect. Fixes #23011
2018-11-08 19:48:44 -08:00
DualMatrix
8286975d16
Made AnimationPlayer timeline only advance when keyframing frame variables
...
Fixes #23330
2018-11-08 21:46:34 +01:00
Juan Linietsky
531dc2f435
Proper time tracking in AnimationNodeAnimation, closes #22887
2018-11-08 16:51:45 -03:00
Juan Linietsky
f2e54057ae
-Moved EditorDefaultValue to ClassDB, made it core
...
-Removed one and zero hints for properties, replaced by default value
2018-11-08 11:30:59 -03:00
Liangdi
5116c009c9
fix tile set editor crash when drawing polygon shapes
2018-11-08 02:10:13 +08:00
groud
0ec448d21d
Fixes icons in itemlist not working
2018-11-07 18:29:24 +01:00
Rémi Verschelde
de0d306558
Merge pull request #23383 from groud/better_tilemap_transform
...
Enhance the tilemap transform buttons
2018-11-06 22:27:29 +01:00
Rémi Verschelde
90d43084c2
Merge pull request #23526 from Mintormo/fix-23480
...
(#23480 ) Fixed problem with wrong directory path
2018-11-06 22:14:14 +01:00
Rémi Verschelde
8739f4b6e2
Merge pull request #23543 from marcelofg55/export_path2
...
Preset saved export path is now shown on the Export window
2018-11-06 22:09:33 +01:00
groud
742a9d9023
Fixes uniform scaling issues (for real this time)
2018-11-06 21:51:48 +01:00
Marcelo Fernandez
4755a3beed
Preset saved export path is now shown on the Export window
2018-11-05 22:01:34 -03:00
groud
c2b6a900fc
Fixes uniform scaling weird behavior
2018-11-05 23:31:57 +01:00
Mintormo
69bca28271
( #23480 ) Wrong directory path in filesystem dock when creating script.
...
When creating script and file selected in filesystem dock,
between file name and directory path there is no "/" symbol.
This commit fix that bug.
2018-11-05 17:27:48 +03:00
Michael Alexsander Silva Dias
f6d137d3d0
Added "shader" filter to "Find in Files"
2018-11-05 12:13:08 -02:00
Rémi Verschelde
d4028a3f50
Merge pull request #23522 from YeldhamDev/find_files_dialog_fixup
...
General fixup of the "Find in Files" dialog
2018-11-05 14:52:45 +01:00
Rémi Verschelde
06a133bdd1
Merge pull request #23518 from volzhs/confirmed_already_connected
...
Fix error with a specific dock layout
2018-11-05 13:06:27 +01:00
Rémi Verschelde
118c78372e
Merge pull request #23523 from akien-mga/docs-https-latest
...
doc: Use HTTPS for docs.godotengine.org and point to latest branch
2018-11-05 09:39:20 +01:00
Rémi Verschelde
fcd761e889
Merge pull request #23519 from Rubonnek/remove-unnecessary-assignments
...
Removed unnecessary assignments
2018-11-05 09:05:03 +01:00
Rémi Verschelde
5f8af252e8
doc: Use HTTPS for docs.godotengine.org and point to latest branch
...
Fixes #23509 .
2018-11-05 08:46:27 +01:00
Rémi Verschelde
935537c531
Merge pull request #23508 from Paulb23/clone_last_line_issue_21811
...
Fix clone line undo history and extra new line, issue 21811
2018-11-05 08:38:42 +01:00
Rémi Verschelde
4c63772f54
Merge pull request #22622 from JFonS/fix_particle_animation
...
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
2018-11-05 07:59:30 +01:00
Michael Alexsander Silva Dias
e030317b6c
General fixup of the "Find in Files" dialog
2018-11-05 04:51:34 -02:00
Wilson E. Alvarez
71df4caf8f
Removed unnecessary assignments
2018-11-04 22:19:30 -05:00
volzhs
9f62f79dbb
Fix error with a specific dock layout
2018-11-05 11:45:25 +09:00
Rémi Verschelde
19f1ddb708
Merge pull request #23481 from groud/fix_extends_not_updating
...
Fixes CollisionShape extends not updating when draggind handles
2018-11-04 22:04:52 +01:00
Rémi Verschelde
2cf33bc5f1
Merge pull request #23479 from groud/fix_search_rmb_options
...
Hide some RMB options in the filesystem dock when files are searched
2018-11-04 22:03:48 +01:00
Paulb23
6c54cb8bff
Fix clone line undo history and extra new line, issue 21811
2018-11-04 18:33:16 +00:00
JFonS
85ce4a67ed
Remove animation loop from ParticlesMaterial + improvements to CPUParticles2D
...
Remove animation loop from ParticlesMaterial and move it to
SpatialMaterial for 3D particles and Particles2D for the 2D case.
Added animation to CPUParticles2D as well as the "Convert to
CPUParticles2D" to the PAarticles2D menu.
2018-11-04 15:58:12 +01:00
Marcelo Fernandez
c0766e9503
Add an Export All button to the Export dialog
2018-11-03 21:19:12 -03:00
groud
952f3004f1
Fixes CollisionShape extends not updating when draggind handles
2018-11-03 19:15:10 +01:00
groud
a821de2275
Hide some RMB options in the filesystem dock when files are searched
2018-11-03 18:37:57 +01:00
Angeloss
c15919fd6b
Ability to pick child nodes of scenes instances marked with "Editable children" to the "Add animation track/Pick node to be animated" dialog.
2018-11-02 17:29:03 -06:00
Jared
f115f00ec6
Allow plugin scene change signal to report null for empty scenes.
2018-11-03 00:11:02 +02:00
Juan Linietsky
03563c8ddf
Merge pull request #23061 from groud/remove_thumbnail_view
...
Remove the thumnail-only view from the filesystem dock
2018-11-02 13:09:09 -03:00
Juan Linietsky
08612e1cfd
No longer force mipmaps on import of VRAM textures, closes #10221
2018-11-02 12:26:11 -03:00
Juan Linietsky
9b2c441ae3
Merge pull request #22625 from allkhor/cleanup_history_from_remote_nodes
...
Cleanup the editor history from remote nodes after the scene stopped.
2018-11-02 11:32:36 -03:00
Rémi Verschelde
a3501c096f
Merge pull request #21897 from Calinou/3d-display-camera-coordinates
...
Display camera coordinates in the 3D viewport's information pane
2018-11-02 11:33:22 +01:00
Rémi Verschelde
5beaea9891
Merge pull request #23389 from marcelofg55/multiple_ext
...
Export for OS X on OS X now lets you select .dmg or .zip
2018-11-02 11:07:18 +01:00
Pedro J. Estébanez
d856ec611a
Let TileSet editor sanitize out tiles with wrong textures
2018-11-02 04:54:28 +01:00
Pedro J. Estébanez
d2b0f69a64
Let user fix dependencies in resources
2018-11-02 04:44:40 +01:00
Juan Linietsky
0e27af280c
Merge pull request #22817 from DualMatrix/animation_group
...
Made AnimationPlayer track groups update after changing path
2018-11-01 20:05:49 -03:00
Rémi Verschelde
91e5782795
Merge pull request #23311 from YeldhamDev/editor_capitalization_fix
...
Small capitalization fixes across the editor
2018-11-01 21:37:33 +01:00
Juan Linietsky
755249f7d9
Merge pull request #22311 from Xrayez/fix-22037
...
Fix blend tree editor updating invalid blend tree node graph
2018-11-01 16:59:48 -03:00
Juan Linietsky
74d895425d
Merge pull request #23313 from DavidSichma/viewport-reassign
...
Handling NodePaths in in-place Editor for Resources
2018-11-01 13:59:59 -03:00
Marcelo Fernandez
d51999f11d
Export for OS X on OS X now lets you select .dmg or .zip
2018-11-01 10:08:26 -03:00
Rémi Verschelde
9000b1a75d
Merge pull request #22938 from groud/open_spriteframes_on_animatedsprites_edit
...
Opens the SpriteFrames editor when editing an AnimatedSprite
2018-11-01 10:49:38 +01:00
Rémi Verschelde
3282539e81
Merge pull request #22977 from CakHuri/draw_relationship_lines-ON
...
Made 'draw relationship lines' (at Editor Settings) enabled by default.
2018-11-01 10:46:15 +01:00
Rémi Verschelde
c7928bc27f
Merge pull request #23195 from Liangdi/master
...
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
2018-11-01 10:37:27 +01:00
Rémi Verschelde
21dc20cd07
Merge pull request #23380 from volzhs/hide_attach_script
...
Hide "Attach Script" if node has one
2018-11-01 10:13:44 +01:00
Rémi Verschelde
8a4045358e
Merge pull request #23405 from YeldhamDev/remove_folding_print
...
Remove "save folding for:" message when saving
2018-10-31 10:06:05 +01:00
Rémi Verschelde
3439196eed
Merge pull request #23381 from Alien1993/renaming_tree_nodes
...
Warning dialog is now shown if trying to set Node name to empty string
2018-10-31 09:57:45 +01:00
groud
0c2ebbe626
Add an overlay on editor to display error messages
2018-10-30 18:53:58 +01:00
Juan Linietsky
ad22ef28a9
Improve import dock usability when selecting multiple files, only change what was modified on re-import.
2018-10-30 13:12:21 -03:00
Michael Alexsander Silva Dias
df72ac5965
Remove "save folding for:" message when saving
2018-10-30 11:55:36 -03:00
groud
a05ef683a5
Allow the Container children selection but don't allow them to move
2018-10-30 14:56:55 +01:00
groud
bdb5282ea0
Enhance the tilemap transform buttons
2018-10-30 14:43:52 +01:00
Silvano Cerza
839f3d5eeb
Warning dialog is now shown if trying to set Node name to empty string
...
If the user tried to change a Node name to an empty string in the Scene
Tree Editor an error would be returned to console, now a warning dialog
is shown with a clear message
2018-10-30 12:44:54 +01:00
Juan Linietsky
4761c6bb7b
Automatically unfold sections of properties that someone else edited (no local info exists).
2018-10-29 17:39:17 -03:00
Juan Linietsky
e647342140
Moved folding outside the resource files, now saved outside the project.
2018-10-29 16:37:09 -03:00
Rémi Verschelde
786ece2375
Merge pull request #23326 from YeldhamDev/search_results_fix
...
Fix issues with the "Search Results" panel
2018-10-29 17:18:53 +01:00
Juan Linietsky
6cc116d415
Ability to revert any property, not just from inherited scenes or scripts.
2018-10-29 12:25:56 -03:00
volzhs
8f4e842b47
Hide "Attach Script" if node has one
2018-10-29 22:25:52 +09:00
Chaosus
4f4bbfbb85
Fix small visual bug in filesystem dock
2018-10-29 16:21:55 +03:00
Rémi Verschelde
0a80ceaf02
Merge pull request #23288 from willnationsdev/restore-clear-script
...
Restore ClearScript btn w/ ExtendScript RMB link
2018-10-29 12:16:55 +01:00
Rémi Verschelde
69ccccaf71
Merge pull request #23322 from marcelofg55/export_path
...
Save last export path when exporting
2018-10-29 12:08:50 +01:00
MrCdK
b2bfcb53d6
Add backward looping support to AudioStreamSample (wav files)
2018-10-28 19:37:14 +01:00
Marcelo Fernandez
5bdb9cf208
Add a duplicate button to duplicate presets
2018-10-28 15:13:38 -03:00
Michael Alexsander Silva Dias
ec00ec08aa
Fix issues with the "Search Results" panel
2018-10-27 22:48:09 -03:00
Marcelo Fernandez
9814446ea0
Save last export path when exporting
2018-10-27 10:53:05 -03:00
David Sichma
4e9c411229
Handling NodePaths in in-place Editor for Resources
2018-10-26 22:16:38 +02:00
Michael Alexsander Silva Dias
f3835282c4
Small capitalization fixes across the editor
2018-10-26 16:11:36 -03:00
Liangdi
aaa7f625df
support New TileSet Editor zooming use CTRL/CMD + MouseWheel
...
fixed code style for clang-format
apply clang-format
2018-10-26 23:58:58 +08:00
groud
5536e7a8d4
Fixes the editor layout
2018-10-26 12:44:49 +02:00
Rémi Verschelde
13582354fd
Merge pull request #23290 from YeldhamDev/fix_default_layout
...
Fix default layout dock sizes
2018-10-25 23:19:10 +02:00
Ashafix
9e36f5f6f8
Better error message for malformed plugins
2018-10-25 22:46:01 +02:00
Michael Alexsander Silva Dias
9765a8dc21
Fix default layout dock sizes
2018-10-25 17:21:23 -03:00
Rémi Verschelde
eeee47196c
Merge pull request #23262 from swenner/more-cppcheck-fixes
...
More cppcheck fixes, fixes #22702
2018-10-25 21:12:14 +02:00
Simon Wenner
9fcf9ee813
fixed uninitialized variables and false positives found by CppCheck
2018-10-25 20:38:17 +02:00
Will Nations
b4e7299b72
Restore ClearScript btn w/ ExtendScript RMB link
2018-10-25 13:33:16 -05:00
Rémi Verschelde
3f23b2ecf4
Merge pull request #23017 from Calinou/increase-source-font-line-spacing
...
Increase the source font's line spacing
2018-10-25 17:31:24 +02:00
Rémi Verschelde
0b2d1364c5
Merge pull request #23038 from DualMatrix/ugly_names
...
Made NodePath property display path instead of object name if object is not named.
2018-10-25 17:27:05 +02:00
Michael Alexsander Silva Dias
46d02bade4
Fix inconsistences in some buttons in the Canvas/Spatial editor menubar
2018-10-25 12:15:39 -03:00
Rémi Verschelde
8e391c1e22
Merge pull request #23071 from bfhobbes/use_quickopen_for_instance_child
...
Use EditorQuickOpen dialog instead of EditorFileDialog when instancing a child scene.
2018-10-25 15:10:26 +02:00
Rémi Verschelde
ece9a0f400
Merge pull request #23114 from groud/allow_smaller_dock_width
...
Allow the editor dock to have a lower width
2018-10-25 15:06:41 +02:00
Chaosus
ba9d29ec62
Fix segfault on editor close up
2018-10-25 13:33:46 +03:00
Rémi Verschelde
48c6844b00
Merge pull request #23171 from capnm/fix-orthogonal-mode-freelook
...
Disable 'freelook' in the orthogonal mode.
2018-10-25 11:35:32 +02:00
Chaosus
354272d41f
Make theme changing no longer requires restart to be fully applied
2018-10-25 12:19:33 +03:00
Rémi Verschelde
bf737ee8da
Merge pull request #23211 from YeldhamDev/spatial_editor_preview_adjustment
...
Readjust "Preview" button in Spatial editor
2018-10-25 10:58:50 +02:00
Rémi Verschelde
70454767ee
Merge pull request #23215 from Chaosus/filedock_update
...
Updates filesystem dock when theme is changed
2018-10-25 10:55:25 +02:00
Rémi Verschelde
0be20bba47
Merge pull request #23245 from Alien1993/inherited_root_deletion
...
Fixed user being unable to delete root Node if is an inherited Scene
2018-10-25 10:47:04 +02:00
M. Huri
b46ba24e3b
Repaired mistyped of 'its' on several files.
2018-10-25 07:19:21 +07:00
Hugo Locurcio
dee6a8b93c
Make editor tooltips wider and scale them on hiDPI displays
...
This also changes the TTR() call to avoid creating a duplicate
("Property:" is already used in other places).
2018-10-24 20:05:48 +02:00
Rémi Verschelde
468c2999d0
Merge pull request #23161 from groud/fix_fav_in_open_dialog
...
Fixes favorites not working in the open dialog
2018-10-24 19:01:47 +02:00
groud
ecec9b31c4
Fixes favorites not working in the open dialog
2018-10-24 17:06:07 +02:00
Silvano Cerza
7167394876
Fixed user being unable to delete root Node if is an inherited Scene
...
User wasn't able to delete the root Node because it was being treated as
a foreign Node since it was an inherited Scene
2018-10-24 11:27:41 +02:00
Chaosus
3af11ff3d8
Update filesystem dock when theme changed
2018-10-23 12:37:00 +03:00
Martin Capitanio
808b46cfc2
Fix 'Align selection with view' in orthogonal mode
...
Fixes #23096
2018-10-22 17:05:16 +02:00
Michael Alexsander Silva Dias
36575fe628
Readjust "Preview" button in Spatial editor
2018-10-21 23:06:27 -03:00
Rémi Verschelde
81c2ed61f6
Merge pull request #23196 from Paulb23/scene_tab_errors_issue_22890
...
Scene tabs closing and thumbnail errors, issue 22890
2018-10-21 18:08:31 +02:00
Paulb23
642ba881ea
Don't create scene thumbnail before its saved, issue 22890
2018-10-21 15:55:58 +01:00
Rémi Verschelde
3ac0e8d0df
Merge pull request #23181 from Calinou/tweak-min-panel-sizes-hidpi
...
Resize some editor panel minimum sizes on hiDPI displays
2018-10-21 11:26:58 +02:00
Timo
a94e25016b
Merge pull request #22972 from YeldhamDev/3d_view_perspective_button
...
Make "Perspective" button look like a actual clickable button
2018-10-21 03:59:59 +02:00
Hugo Locurcio
f126b61748
Resize some editor panel minimum sizes on hiDPI displays
...
This also increases the plugin description TextEdit's height,
so that 3 lines can be viewed instead of just 2 (leaving a few pixels
for the scroll bar).
2018-10-20 22:09:42 +02:00
Martin Capitanio
9548707298
Disable 'freelook' in the orthogonal mode.
...
Fixes #23095
Thanks @aaronfranke for hints.
Fixes #23078
2018-10-20 12:49:33 +02:00
Rémi Verschelde
16b0191173
Merge pull request #23160 from groud/filesystem_favorites_fix
...
Make folders clicked in the filesystem dock open the selected folder
2018-10-20 11:15:38 +02:00
groud
c029e82761
Make folders clicked in the filesystem dock open the selected folder
2018-10-19 22:43:48 +02:00
Will Nations
42300b2769
Add icon_script_extend & update the icon @runtime
2018-10-19 09:04:07 -05:00
Dualtagh Murray
b902a2f2a7
Fixing warnings generated by MSVC
...
Fixes #22684 .
2018-10-19 11:45:24 +02:00
Rémi Verschelde
e1f4e60a42
Merge pull request #22849 from DualMatrix/update_key_edit
...
Fixed Animation Keyframe inspector not displaying after moving key.
2018-10-19 11:24:10 +02:00
Rémi Verschelde
cb30b60de6
Merge pull request #23112 from groud/fix_viewport_not_updating
...
Fixes viewport scrollbars not updating with plugins
2018-10-19 11:19:49 +02:00
Michael Alexsander Silva Dias
9d69c34990
Make "Perspective" button look like a actual clickable button
2018-10-18 22:36:59 -03:00
Silvano Cerza
0759760856
Enhanced error message on folder creation with invalid chars on Windows
...
If the user tried to create folder with *, | or > in its name it would
return a generic error "Could not create folder."
Now the same message is shown when creating a folder with /, \\, :, *,
|, > or ending with . or an empty space.
2018-10-18 21:19:16 +02:00
groud
6cf13e881c
Allow the editor dock to have a lower width
2018-10-18 15:23:04 +02:00
groud
ced6f43455
Fixes viewport scrollbars not updating with plugins
2018-10-18 14:06:57 +02:00
Rémi Verschelde
ad47ec3952
Merge pull request #23000 from voithos/move-autoload
...
Update autoload references when moving files.
2018-10-18 08:40:18 +02:00
Rémi Verschelde
0d8284d3d4
Merge pull request #23037 from SeleckyErik/issue-23036
...
Hide header and footer in AssetLib when not necessary
2018-10-17 16:13:44 +02:00
Rémi Verschelde
b1cd673e18
Merge pull request #23074 from voithos/tooltips
...
Add tooltip to skeleton menu button.
2018-10-17 14:41:11 +02:00
Zaven Muradyan
b58c46fc9c
Add tooltip to skeleton menu button.
...
Fixes #23008 .
2018-10-17 00:53:29 -07:00
Andrew McDonald
66503465db
Use EditorQuickOpen dialog instead of EditorFileDialog when instancing a child scene.
...
Addresses the bulk of #5180
2018-10-16 22:19:51 -07:00
Zaven Muradyan
ee74c7808b
Update autoload references when moving files.
...
Prior to this, file references in autoload were not updated when a
script was moved or renamed. This adds extra logic to update the
autoload references when updating project settings.
Fixes #22995 .
2018-10-16 18:57:21 -07:00
Michael Alexsander Silva Dias
fc376d3db6
Switch unoptimized handlers from spatial editor viewport to optimized ones
2018-10-16 18:08:01 -03:00
groud
8f3becafeb
Remove the thumnail-only view from the filesystem dock
2018-10-16 22:08:00 +02:00
Will Nations
372f82e7a7
Fix Script -> Script Class not in CreateDialog
2018-10-16 13:47:12 -05:00
Rémi Verschelde
0dbe01483a
Merge pull request #22918 from DualMatrix/node_as_root_2
...
Fixed setting node as root showing error and making invisible children visible.
2018-10-16 15:21:46 +02:00
Rémi Verschelde
49aa1be9b6
Merge pull request #22738 from akerudesu/script_comments
...
Improve toggle comment function in script editor
2018-10-16 15:07:07 +02:00
Rémi Verschelde
5d4a073e98
Merge pull request #22885 from neikeq/issue-22122
...
Hide numeric value for constants in EditorPropertyEnum
2018-10-16 15:01:03 +02:00
Rémi Verschelde
48d3d15e93
Merge pull request #23016 from QbieShay/fix_visibility_toggle
...
Fixed visibility toggle with node selection
2018-10-16 14:34:22 +02:00
DualMatrix
eac36a0651
Fixed setting node as root showing error and making invisible children visible.
...
Fixed setting node as root showing error and making invisible children visible.
2018-10-16 14:17:16 +02:00
Ignacio Etcheverry
57f46f7fcd
Fix enum values in the editor and hide enum numeric values in the Inspector
...
- Hide numeric value of enum constants in the inspector (EditorPropertyEnum)
- EditorPropertyEnum, CustomPropertyEditor: Calculate values of enum constants correctly when only some of these constants have explicit values.
2018-10-15 23:48:54 +02:00
DualMatrix
be52063aaa
Made NodePath property display path instead of object name if object is autogenerated.
...
This is to prevent those ugly and unclear names with the @'s to appear in things like standalone animationplayer nodes.
2018-10-15 23:42:00 +02:00
Erik
cd759c773d
Hide header and footer in AssetLib when not necessary
...
Reduces visual clutter by hiding pages navigator header and footer in AssetLib if no results are
found or when results fit on one page one page.
Fix for issue #23036
2018-10-15 19:26:57 +02:00
Hugo Locurcio
976b3e3284
Increase the source font's line spacing
...
This also increases line spacing in license texts in the editor's
About dialog.
2018-10-14 21:39:49 +02:00
QbieShay
9de3924fea
fixed visibility toggle with node selection
...
before this PR toggling visibility of not selected nodes would toggle
the visibility of the whole selection.
This PR changes this behaviour, so if visibility is toggled on a node
that it is not selected, the visibility toggle will happen only on this
node.
No changes to the behaviour of when one of the selected nodes has
visibility toggled: they still toggle all together
2018-10-14 19:33:34 +02:00
Paulb23
d47b20acae
Fixed delete line being off by one, issue 22819
2018-10-13 18:30:23 +01:00
M. Huri
d4779c4ccf
Made 'draw relationship lines' (at Editor Settings) enabled by default.
2018-10-13 14:36:38 +07:00
Rémi Verschelde
43c28681ad
Merge pull request #22939 from merumelu/tileset-add-texture-fix
...
TileSetEditor: Don't crash when adding invalid files
2018-10-12 12:09:54 +02:00
Rémi Verschelde
451e5fd051
Merge pull request #22915 from fire/visuals-shader-colour-constant-22906
...
Fix for Visual Shader Editor #22906 : Cannot change color on Color Con…
2018-10-11 17:59:35 +02:00
merumelu
27596f6031
TileSetEditor: Don't crash when adding invalid files
2018-10-11 17:15:01 +02:00
groud
2b71f52831
Opens the SpriteFrames editor when editing an AnimatedSprite
2018-10-11 17:03:14 +02:00
allkhor
9fc71d3472
Cleanup the editor history from remote nodes after the scene stopped.
2018-10-11 20:02:55 +06:00
groud
f236507689
Fixes resources name not showing in the inspector
2018-10-11 11:23:48 +02:00
K. S. Ernest (iFire) Lee
6097a5af14
Fix for Visual Shader Editor #22906 : Cannot change color on Color Constant
...
Revert line from 5f2f108908
2018-10-10 13:20:57 -07:00
Unknown
c3d40e42ce
Improve toggle comment function in script editor.
2018-10-09 19:39:45 +02:00
Hugo Locurcio
f7848f234f
Improve the editor's Find in Files function
...
- Disable Whole Words and Match Case by default
- Hide the Cancel button once the search is completed
- Pad line numbers to the right for more readable search results
2018-10-09 00:00:51 +02:00
DualMatrix
87f8077a70
Fixed Animation Keyframe inspector not displaying after moving key.
...
Fixed Animation Keyframe inspector not displaying after moving key.
2018-10-08 12:43:44 +02:00
Rémi Verschelde
604810f611
Merge pull request #22771 from guilhermefelipecgs/fix_inspector_preview
...
Fix inspector preview
2018-10-07 16:31:57 +02:00
Juan Linietsky
e0871b0f52
Baker fixes
2018-10-07 11:18:44 -03:00
Guilherme Felipe
a9ec69663f
Fix inspector preview
...
Remove script preview to inspector dock
2018-10-07 10:41:56 -03:00
Rémi Verschelde
c5da418b0b
Merge pull request #22698 from Calinou/fix-find-files-hidpi
...
Fix Find in Files font size on hiDPI displays
2018-10-07 11:43:39 +02:00
Rémi Verschelde
7aa580a84e
Merge pull request #22700 from Calinou/increase-itemlist-popupmenu-spacing
...
Increase spacing slightly between ItemList and PopupMenu items
2018-10-07 11:43:17 +02:00
Rémi Verschelde
d4108573bf
Merge pull request #22705 from DualMatrix/debugging_the_debugger_grand_finale
...
Cleaned up/Fixed some bugs in the remote inspector code.
2018-10-07 11:42:37 +02:00
Rémi Verschelde
32ee3bf092
Revert "Make KEY_ESCAPE close all output/debugger docks on bottom"
...
This reverts commit 2ae2735a7a
.
It also closes panels like the shader text editor when trying to
discard code completion tooltips. It could be readded with extra
care that modals like tooltips will take precedence and mark the
event as handled.
Fixes #17159 , fixes #20738 , closes #22727 .
2018-10-07 11:10:13 +02:00
Rémi Verschelde
bf6dcb9105
Merge pull request #22722 from akien-mga/fix-warnings
...
Fix more "may be used initialized" warnings from GCC 7
2018-10-07 11:07:13 +02:00
Rémi Verschelde
eae742312f
Merge pull request #22770 from Chaosus/fix_inspector_theme
...
Fix inspector color when theme changed
2018-10-07 11:02:59 +02:00
Rémi Verschelde
44d82b3a07
Merge pull request #22752 from aaronfranke/equals-redundant
...
Remove redundant "== true" and "== false" code
2018-10-07 10:58:45 +02:00
DualMatrix
e99f16153e
Made AnimationPlayer track groups update after changing path
...
Made AnimationPlayer track groups update after changing path
2018-10-07 01:36:21 +02:00
Hugo Locurcio
1a2f6cfcb5
Make the 3D viewport menu button easier to read
...
This closes #22809 .
2018-10-06 23:00:33 +02:00
Aaron Franke
4f7b33cdcf
Remove redundant "== false" code
...
Some of this code has been re-organized.
f
2018-10-06 16:20:41 -04:00
Aaron Franke
37386f112b
Remove redundant "== true" code
...
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06 16:12:36 -04:00
Juan Linietsky
f12cb82e0f
Fixes to baker, restored xatlas and fixed bake options.
2018-10-05 19:00:32 -03:00
Rémi Verschelde
a41cf404a9
Merge pull request #22750 from williamd1k0/improve-resource-preloader
...
Improve ResourcePreloader editor plugin
2018-10-05 22:00:04 +02:00
Hugo Locurcio
7063878243
Fix Find in Files font size on hiDPI displays
...
This closes #22692 .
2018-10-05 21:37:26 +02:00
Chaosus
cd05ca4247
Fix inspector color when theme changed
2018-10-05 21:37:26 +03:00
William Tumeo
af10067727
Improve ResourcePreloader editor plugin
...
Fix #22724 by adding an Open Resource button
Add a Remove button to each tree item
Remove the old Remove button and its useless code
Adjust columns min width
Remove Resource names and move icons to the left
Add a Resource icon fallback
2018-10-05 14:59:10 -03:00
qonnop
07d65204b4
Added noise texture icon, fixes #22704
2018-10-05 19:20:18 +02:00
Hugo Locurcio
4623bbbbe3
Increase spacing slightly between ItemList and PopupMenu items
2018-10-05 17:37:39 +02:00
Rémi Verschelde
88935d47a8
Merge pull request #22623 from dualtagh/22586
...
22586: Dragging file icon on to another file causes "Error Moving" in FileSystem dock
2018-10-05 10:58:55 +02:00
Rémi Verschelde
0173cf6402
Merge pull request #22732 from DualMatrix/deselect
...
Deselect recents when selecting favorites and vice versa in Create Node window.
2018-10-05 08:50:44 +02:00
DualMatrix
9b3c1f617f
Deselect recents when selecting favorites and vice versa in Create Node.
...
Deselect recents when selecting favorites and vice versa in Create Node.
2018-10-04 22:31:48 +02:00
Dualtagh Murray
fc0ae1d94d
22586: Dragging file icon on to another file causes "Error Moving" in FileSystem dock
2018-10-04 20:38:36 +01:00
Rémi Verschelde
3e9740ac93
Fix more "may be used initialized" warnings from GCC 7
...
Fixes the following GCC 7 warnings:
```
core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized]
servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized]
```
2018-10-04 18:54:20 +02:00
Rémi Verschelde
8068d0217a
Merge pull request #22715 from groud/fix_tilemap_editor
...
Fixes tilemap editor offset tile selection
2018-10-04 18:20:29 +02:00
Simon Wenner
10718b0961
Fix some cppcheck errors
...
cppcheck: fix broken pre-processor statement
cppcheck: fix Uninitialized struct members in canvas editor plugin
cppcheck: fix uninitialized struct member: method_api.is_virtual
2018-10-04 18:16:04 +02:00
DualMatrix
c4ac2707dc
Cleaned up/Fixed some bugs in the remote inspector code.
...
Cleaned up/Fixed some bugs in the remote inspector code.
This makes some of my previous code cleaner while resolving a bunch of bugs.
2018-10-04 15:13:44 +02:00
groud
c7725aa98a
Fixes tilemap editor offset tile selection
2018-10-04 14:20:03 +02:00
Rémi Verschelde
181af9b484
Merge pull request #22713 from akien-mga/fix-warnings
...
Fix GCC 8 warnings about potentially unitialized variables
2018-10-04 14:19:05 +02:00
Rémi Verschelde
674b2567ae
Merge pull request #22693 from mineevgleb/fix-graphnode-title
...
#21661 : fixed GraphNode title offset
2018-10-04 13:25:25 +02:00
the 8th mage
f7a9866417
Fix TileMap editor drawing
...
the tile cursor did not follow the mouse cursor, and the tile grid was displayed wrong,
because the forward_canvas_draw_over_viewport function used the wrong xform and thus its
map_to_world is not the inverse of the mouse interactor world_to_map, making the tiles
draw from 0,0 of the screen instead of 0,0 of the tile map (which is in a different place)
2018-10-04 13:19:55 +02:00
Rémi Verschelde
f48ee838e7
Fix GCC 8 warnings about potentially unitialized variables
...
Fixes the following GCC 8 warnings:
```
core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized]
modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized]
scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized]
core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
```
2018-10-04 13:08:41 +02:00
swarnimarun
97ffdf74c3
Fixing create spatial root button
2018-10-04 06:06:58 +05:30
Gleb Mineev
746ad820cf
#21661 : fixed GraphNode title offset
2018-10-03 20:43:14 +02:00
Jean-François Michaud
00616360a3
Fix #22588 : missing preset save after removing a export preset.
2018-10-03 13:40:16 -04:00
Rémi Verschelde
dec20a987b
Fix some warnings raised by MSVC 2017
...
Disabled signed/unsigned warnings like for GCC/Clang
(warning C4018: '>=': signed/unsigned mismatch).
Fixes the following MSVC 2017 warnings:
```
core\image.cpp(999): warning C4804: '>': unsafe use of type 'bool' in operation
core\io\compression.cpp(178): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
editor\doc\doc_dump.cpp(226): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
scene/resources/material.h(289): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
scene/resources/material.h(298): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
editor\editor_themes.cpp(379): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation
```
2018-10-03 17:34:56 +02:00
DualMatrix
19b6e601d8
Added warning when trying to load resource of wrong type in editor.
...
Added warning when trying to load resource of wrong type in editor.
2018-10-03 14:31:54 +02:00
Rémi Verschelde
c1cee80829
Merge pull request #22668 from groud/add_open_docs
...
Add a shortcut to the documentation in the scene tree RMB menu
2018-10-03 13:28:14 +02:00
Rémi Verschelde
93513ba818
Merge pull request #22598 from DualMatrix/animation_frame_next
...
Fixed animation editor not moving to next frame of sprites when editing.
2018-10-03 11:40:10 +02:00
groud
980aa276e3
Add a shortcut to the documentation in the scene tree RMB menu
2018-10-03 11:25:18 +02:00
Michael Alexsander Silva Dias
1316595c96
Remove "Doc Path" setting
2018-10-02 22:17:31 -03:00
Hugo Locurcio
9c1d4f9da2
Use more subtle indentation guides in the script editor
2018-10-03 00:00:25 +02:00
merumelu
9f76b6a5a5
PluginConfigDialog: pass subfolder name instead of plugin name on creation
...
Also add `_exit_tree` to the script template
2018-10-02 22:15:13 +02:00
William Tumeo
62218ea41b
Editor: Skip loading main scene if restore_scenes_on_load is used
2018-10-02 15:41:16 -03:00
Rémi Verschelde
540db0a0e7
Merge pull request #22329 from DualMatrix/no_select
...
Made children of Containers not selectable.
2018-10-02 16:39:00 +02:00
Rémi Verschelde
0b73a9e403
Merge pull request #22618 from akien-mga/fix-warnings
...
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-…
2018-10-02 14:32:06 +02:00
Rémi Verschelde
12d80e9d83
Merge pull request #22613 from lupoDharkael/del-manager
...
Project manager: remove projects with delete key
2018-10-02 13:49:24 +02:00
Rémi Verschelde
4e3db841af
Merge pull request #22617 from Chaosus/fix_path
...
Fix script path for warnings
2018-10-02 13:47:24 +02:00
Rémi Verschelde
c026e3957a
Fix warnings on virtual methods [-Woverloaded-virtual] [-Wdelete-non-virtual-dtor]
...
Fixes the following Clang 7 warnings:
```
editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual]
editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual]
main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual]
servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual]
core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
```
2018-10-02 13:40:17 +02:00
Chaosus
54d44f7076
Fix script path for warnings
2018-10-02 13:07:55 +03:00
lupoDharkael
006021236a
Project manager: remove projects with delete key
2018-10-02 11:28:18 +02:00
Rémi Verschelde
106acb27f9
Merge pull request #22568 from dlasalle/#14959
...
Explicitly show viewport 0 in the SpatialEditorPlugin if the container is large enough.
2018-10-02 11:26:29 +02:00
Rémi Verschelde
dd3f6a04db
Merge pull request #21679 from pgruenbacher/spatial_editor_viewport_get_camera
...
added get_camera_method to spatial editor plugin viewport
2018-10-02 11:23:14 +02:00
Rémi Verschelde
876456754d
Merge pull request #21421 from YeldhamDev/mult_view_changes
...
Small improvements to the Spatial Editor's multiple viewport mode
2018-10-02 11:22:49 +02:00
Rémi Verschelde
648b21228e
Merge pull request #22009 from DualMatrix/warning
...
Added warning when disabling editable_instance
2018-10-02 09:50:40 +02:00
Rémi Verschelde
0349d6db23
Merge pull request #22220 from Naryosha/dialog
...
Fix find-in-files and go-to-line dialog (partially)
2018-10-02 09:41:21 +02:00
Rémi Verschelde
7aca38e218
Merge pull request #22354 from evandropoa/resources_list_icon_issue
...
Fix icon issue for the resource list popup #22320 .
2018-10-02 09:30:21 +02:00
Rémi Verschelde
879e4d8312
Merge pull request #22364 from YeldhamDev/rect2_inspector_singleline
...
Make Rect2 EditorProperty obey the horizontal setting
2018-10-02 09:27:40 +02:00
Rémi Verschelde
53fbd93409
Merge pull request #22593 from akien-mga/fix-warnings
...
Fix various warnings raised by Clang 7
2018-10-02 00:01:31 +02:00
Rémi Verschelde
22c3995a04
Merge pull request #22576 from DualMatrix/multi_edit_exit
...
Fixed inspector not going back to single-node when deselecting an item.
2018-10-01 23:44:27 +02:00
Rémi Verschelde
413f078125
Merge pull request #22584 from DualMatrix/editor_path_no_update
...
Fixed name of deleted node not dissapearing from inspector dock.
2018-10-01 23:43:58 +02:00
Rémi Verschelde
b2bba4be44
Fix warnings about invalid logical not on left hand side [-Wlogical-not-parentheses]
...
Fixes the following Clang 7 warnings and bugs:
```
editor/plugins/curve_editor_plugin.cpp:208:69: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
editor/plugins/curve_editor_plugin.cpp:214:43: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
```
Changed according to @Zylann's suggestion on
https://github.com/godotengine/godot/pull/22593#discussion_r221699573
2018-10-01 23:21:46 +02:00
DualMatrix
127940bd55
Fixed animation editor not moving to next frame of sprites when editing.
...
Fixed animation editor not moving to next frame of sprites when editing.
2018-10-01 21:44:57 +02:00
Rémi Verschelde
9258d7b5d0
Fix warnings about uninitialized vars [-Wsometimes-uninitialized]
...
Fixes the following Clang 7 warnings:
```
drivers/gles3/rasterizer_scene_gles3.cpp:1260:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1280:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1281:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1282:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized]
drivers/gles3/rasterizer_scene_gles3.cpp:1286:5: warning: variable 'target' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
editor/editor_properties_array_dict.cpp:982:15: warning: variable 'change_index' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
editor/editor_properties.cpp:2655:6: warning: variable 'lt' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
editor/settings_config_dialog.cpp:367:11: warning: variable 'current_search_box' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
```
2018-10-01 17:33:08 +02:00
Rémi Verschelde
b1b625f4f5
Fix various Clang 7 warnings about unused stuff
...
Namely:
[-Wunneeded-internal-declaration]
[-Wunused-comparison]
[-Wunused-const-variable]
[-Wunused-function]
[-Wunused-private-fields]
Fixes the following Clang 7 warnings:
```
editor/plugins/script_editor_plugin.cpp:1417:20: warning: function '_find_node_with_script' is not needed and will not be emitted [-Wunneeded-internal-declaration]
editor/scene_tree_dock.cpp:1859:14: warning: function '_find_last_visible' is not needed and will not be emitted [-Wunneeded-internal-declaration]
modules/gdscript/gdscript_parser.cpp:7838:19: warning: equality comparison result unused [-Wunused-comparison]
scene/resources/mesh.cpp:549:35: warning: unused variable '_array_types' [-Wunused-const-variable]
scene/resources/mesh.cpp:563:18: warning: unused variable '_format_translate' [-Wunused-const-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:54:28: warning: unused function 'store_transform2d' [-Wunused-function]
core/io/file_access_network.h:50:6: warning: private field 'ml' is not used [-Wunused-private-field]
core/io/file_access_zip.h:93:14: warning: private field 'archive' is not used [-Wunused-private-field]
core/io/resource_format_binary.h:122:6: warning: private field 'bin_meta_idx' is not used [-Wunused-private-field]
core/message_queue.h:47:9: warning: private field 'mutex' is not used [-Wunused-private-field]
main/tests/test_gui.cpp:63:11: warning: private field 'control' is not used [-Wunused-private-field]
modules/gdscript/gdscript_parser.h:558:7: warning: private field 'completion_static' is not used [-Wunused-private-field]
platform/x11/os_x11.h:148:11: warning: private field 'ip_unix' is not used [-Wunused-private-field]
platform/x11/os_x11.h:180:7: warning: private field 'net_wm_icon' is not used [-Wunused-private-field]
platform/x11/os_x11.h:189:6: warning: private field 'audio_driver_index' is not used [-Wunused-private-field]
platform/x11/os_x11.h:190:15: warning: private field 'capture_idle' is not used [-Wunused-private-field]
servers/physics/body_pair_sw.h:79:6: warning: private field 'cc' is not used [-Wunused-private-field]
servers/visual/visual_server_raster.h:62:7: warning: private field 'draw_extra_frame' is not used [-Wunused-private-field]
```
2018-10-01 17:32:12 +02:00
Rémi Verschelde
686f6ff279
Fix mismatched class/struct definition warnings [-Wmismatched-tags]
...
Fixes the following Clang 7 warnings:
```
core/object.cpp:44:1: warning: '_ObjectDebugLock' defined as a struct here but previously declared as a class [-Wmismatched-tags]
core/variant_call.cpp:43:1: warning: '_VariantCall' defined as a struct here but previously declared as a class [-Wmismatched-tags]
drivers/gles3/rasterizer_storage_gles3.h:765:2: warning: 'MultiMesh' defined as a struct here but previously declared as a class [-Wmismatched-tags]
editor/editor_node.h:794:1: warning: 'EditorProgress' defined as a struct here but previously declared as a class [-Wmismatched-tags]
modules/bullet/rigid_body_bullet.h:230:17: warning: class 'KinematicUtilities' was previously declared as a struct [-Wmismatched-tags]
modules/bullet/space_bullet.h:60:1: warning: class 'btSoftBodyWorldInfo' was previously declared as a struct [-Wmismatched-tags]
scene/resources/world_2d.cpp:40:1: warning: 'SpatialIndexer2D' defined as a struct here but previously declared as a class [-Wmismatched-tags]
scene/resources/world.cpp:39:1: warning: 'SpatialIndexer' defined as a struct here but previously declared as a class [-Wmismatched-tags]
servers/audio/reverb_sw.cpp:60:1: warning: 'ReverbParamsSW' defined as a struct here but previously declared as a class [-Wmismatched-tags]
thirdparty/bullet/BulletSoftBody/btSoftBody.h:43:1: warning: 'btSoftBodyWorldInfo' defined as a struct here but previously declared as a class [-Wmismatched-tags]
```
2018-10-01 17:02:47 +02:00
DualMatrix
ec463b036a
Fixed inspector not going back to single-node when deselecting an item.
...
Fixed inspector not going back to single-node when deselecting an item.
2018-10-01 12:26:32 +02:00
DualMatrix
3ef241623e
Fixed name of deleted node not dissapearing from inspector dock.
...
Fixed name of deleted node not dissapearing from inspector dock.
2018-10-01 12:15:22 +02:00
Rémi Verschelde
6bfb7944d9
SCons: Remove avoidable defines from main env's CPPPATH
...
Also finally move freetype to its own env and disable warnings for it.
Still needs some work to fix the awkward situation of the freetype and
svg modules used in scene/ and editor/ respectively.
2018-10-01 11:59:22 +02:00
Rémi Verschelde
c51caa3dbd
Revert "Fix -new inspector- remote debug view not changing to current scene after exiting game - Fixes #20075"
...
This reverts commit 9c7e647124
.
This commit caused a regression and is not a correct fix for the original issue.
Fixes #22573 , reopens #20075 .
2018-10-01 08:56:15 +02:00
Rémi Verschelde
3a036571f2
Merge pull request #22567 from Calinou/unselected-tabs-background
...
Add a subtle background and border to unselected tabs in the editor
2018-10-01 08:38:14 +02:00
Aaron Franke
cd349efb0e
Minor nit-picky tweaks in spatial_editor_plugin.cpp
...
* Orthogonal cameras don't have an FOV that's "near zero". Or zero, or any number of degrees. It's not a measurement of degrees, it's just a fixed width. This comment is more accurate. Also, "terrible" is a better word than "awful" here.
* While I'm editing this file, the "String ortho" variable name could be more intuitive, so I've changed it to "view_mode".
Minor nit-picky changes, I know, but I found it so I may as well improve it.
2018-10-01 02:01:06 -04:00
Rémi Verschelde
80d6bb7193
Merge pull request #22521 from groud/add_favorites_file_list
...
Adds the display of the favorites into the file list
2018-09-30 22:59:46 +02:00
Rémi Verschelde
c23636fcdc
Merge pull request #22545 from DualMatrix/node_as_root
...
Fixed setting node as root deleting all non-children of that node.
2018-09-30 22:48:54 +02:00
Rémi Verschelde
c459fad43c
Merge pull request #22536 from DualMatrix/no_advance
...
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-30 22:16:26 +02:00
Rémi Verschelde
12ea8b9074
Merge pull request #22570 from lupoDharkael/todo-remove
...
Remove old TODO from editor_inspector.cpp
2018-09-30 22:10:54 +02:00
lupoDharkael
b39bcd8821
Remove old TODO from editor_inspector.cpp
2018-09-30 21:08:33 +02:00
Dominique LaSalle
df06087057
Explicitly show viewport 0 in the SpatialEditorPlugin if the container is large enough.
2018-09-30 10:09:31 -07:00
Hugo Locurcio
88755d28d7
Add a subtle background and border to unselected tabs in the editor
2018-09-30 19:01:32 +02:00
groud
0829fdafb0
Adds the display of the favorites into the file list
2018-09-30 15:32:57 +02:00
DualMatrix
6f96db4732
Fixed setting node as root deleting all non-children of that node.
...
Fixed setting node as root deleting all non-children of that node.
2018-09-30 00:04:18 +02:00
Rémi Verschelde
0378a9ba80
Merge pull request #22520 from akien-mga/fix-warnings
...
Fix warning about functions defined but not used [-Wunused-function]
2018-09-29 23:51:17 +02:00
Rémi Verschelde
dc6d95f4a1
Merge pull request #22524 from DualMatrix/error_spam_3_please_be_final
...
Fixed error spam when selecting root in remote tree
2018-09-29 22:44:13 +02:00
Rémi Verschelde
e1dc8e4e99
Merge pull request #22522 from DualMatrix/debugging_the_debugger_3
...
Fixed debugger showing wrong name for Objects.
2018-09-29 22:43:41 +02:00
Rémi Verschelde
62ecb44035
Fix warning about functions defined but not used [-Wunused-function]
...
Fixes the following GCC 5 warnings:
```
core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function]
core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function]
drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function]
editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function]
editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function]
editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function]
modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function]
modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function]
scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function]
scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function]
```
Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword.
Not fixed yet (static definition in header used in some files but not all):
```
modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function]
```
Also fixed a couple other warnings missed in previous commits.
2018-09-29 22:26:12 +02:00
DualMatrix
9aa83a77ab
Fixed editor inspector ranges capping values at 65535.
...
Fixed editor inspector ranges capping values at 65535.
2018-09-29 17:05:31 +02:00
DualMatrix
5f2f108908
Fixed animation_player not advancing to the next frame when inserting a value.
...
Fixed animation_player not advancing to the next frame when inserting a value.
2018-09-29 16:44:20 +02:00
Juan Linietsky
c83742ba86
-Lightmap and lightmap capture support for GLES2
...
-Added hint to not show some properties when running on low end gfx
2018-09-28 20:33:18 -03:00
DualMatrix
75f5fd20a1
Fixed error spam when selecting root in remote tree
...
Fixed error spam when selecting root in remote tree
2018-09-29 01:03:50 +02:00
DualMatrix
9bb65399d9
Fixed debugger showing wrong name for Objects.
...
Fixed debugger showing wrong name for Objects.
2018-09-29 00:23:20 +02:00
Juan Linietsky
f2ed26d71e
Reflection probe support in GLES2 back-end.
2018-09-28 16:42:47 -03:00
Rémi Verschelde
dea0f69296
Merge pull request #22517 from DualMatrix/debugging_the_debugger_2
...
Fixed Objects do not showing their drop down in debugger.
2018-09-28 19:59:37 +02:00
DualMatrix
d4df4c1475
Fixed Objects do not showing their drop down in debugger
...
Fixed Objects do not showing their drop down in debugger
2018-09-28 19:08:31 +02:00
Rémi Verschelde
c3bb4edb79
Merge pull request #22508 from groud/add_thumnail_filelist
...
Add small thumbnails to the FileSystem file list
2018-09-28 14:45:46 +02:00
Rémi Verschelde
3a2ca68af3
SCons: Build thirdparty code in own env, disable warnings
...
Also remove unnecessary `Export('env')` in other SCsubs,
Export should only be used when exporting *new* objects.
2018-09-28 14:07:39 +02:00
groud
7d59e05ae8
Add thumbnails to the FileSystem file list
2018-09-28 13:26:36 +02:00
Rémi Verschelde
d55491a7b8
Merge pull request #22407 from DualMatrix/step_int
...
Added step support when exporting integers.
2018-09-28 10:39:50 +02:00
Rémi Verschelde
c7e646c30a
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
...
Fix warnings about unhandled enum value in switch [-Wswitch]
2018-09-28 09:47:29 +02:00
Rémi Verschelde
7b081a7fc8
Fix warnings about unhandled enum value in switch [-Wswitch]
...
Fixes GCC 5 warnings of the form:
core/io/http_client.cpp:288:9: warning: enumeration value 'STATUS_SSL_HANDSHAKE_ERROR' not handled in switch [-Wswitch]
core/io/marshalls.cpp:806:9: warning: enumeration value 'AABB' not handled in switch [-Wswitch]
Those can be trivial cases where adding a default fallback is the solution,
or more complex issues/hidden bugs where missed values are actually meant
to be handled.
2018-09-27 18:34:30 +02:00
Rémi Verschelde
1b63dd83bd
Merge pull request #22482 from groud/text_rulers
...
Place the ruler text vertically
2018-09-27 18:13:31 +02:00
groud
dfe81b9840
Place the ruler text vertically
2018-09-27 16:50:40 +02:00
Rémi Verschelde
4cf5bb0276
Merge pull request #22446 from akien-mga/fix-warnings
...
Fix various warnings raised by GCC 5
2018-09-27 16:48:09 +02:00
Rémi Verschelde
cdc411fd54
Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more
...
Fixes the following GCC 5 warnings:
```
core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress]
servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress]
drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith]
modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr]
editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive
modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file
editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed
modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed
scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed
scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed
```
2018-09-27 16:33:52 +02:00
Rémi Verschelde
d95bbb8922
Fix warnings about set but unused variables [-Wunused-but-set-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable]
drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable]
drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable]
editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable]
editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable]
editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable]
editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable]
editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable]
modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable]
platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable]
platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable]
scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable]
scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable]
scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable]
scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable]
scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable]
servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable]
servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable]
```
Also fixes two [-Wunused-value] warnings:
```
scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value]
servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value]
```
Some of those are bugs and need further work, they are identified with
`// FIXME` comments.
2018-09-27 16:25:24 +02:00
Rémi Verschelde
cda5b0bfe1
Fix warnings about unused variables [-Wunused-variable]
...
Fixes the following GCC 5 warnings:
```
drivers/gles2/rasterizer_scene_gles2.cpp:1139:15: warning: unused variable 'offset' [-Wunused-variable]
drivers/gles2/rasterizer_scene_gles2.cpp:1205:39: warning: unused variable 'multi_mesh' [-Wunused-variable]
drivers/gles2/rasterizer_storage_gles2.cpp:359:7: warning: unused variable 'srgb' [-Wunused-variable]
drivers/gles2/shader_gles2.cpp:1016:45: warning: unused variable 'texture_hints' [-Wunused-variable]
editor/animation_track_editor.cpp:776:9: warning: unused variable 'keys_to' [-Wunused-variable]
editor/editor_inspector.cpp:273:7: warning: unused variable 'vs_height' [-Wunused-variable]
editor/editor_themes.cpp:202:10: warning: unused variable 'begin_time' [-Wunused-variable]
editor/editor_themes.cpp:239:10: warning: unused variable 'end_time' [-Wunused-variable]
editor/plugins/animation_blend_tree_editor_plugin.cpp:726:17: warning: unused variable 'an' [-Wunused-variable]
editor/plugins/script_text_editor.cpp:1278:8: warning: unused variable 'fold_state' [-Wunused-variable]
main/main.cpp:132:13: warning: 'use_vsync' defined but not used [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:231:8: warning: unused variable 'y_end' [-Wunused-variable]
modules/cvtt/image_compress_cvtt.cpp:311:6: warning: unused variable 'shift' [-Wunused-variable]
modules/gdscript/gdscript_editor.cpp:58:7: warning: unused variable 'th' [-Wunused-variable]
modules/gridmap/grid_map.cpp:1084:6: warning: unused variable 'ofs' [-Wunused-variable]
modules/theora/video_stream_theora.cpp:442:9: warning: unused variable 'tr' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2606:6: warning: unused variable 'count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2829:6: warning: unused variable 'seq_count' [-Wunused-variable]
modules/visual_script/visual_script_editor.cpp:2844:24: warning: unused variable 'vnode_function' [-Wunused-variable]
modules/websocket/lws_peer.cpp:122:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:135:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:63:12: warning: unused variable 'peer_data' [-Wunused-variable]
modules/websocket/lws_peer.cpp:91:12: warning: unused variable 'peer_data' [-Wunused-variable]
platform/android/export/export.cpp:763:16: warning: unused variable 'node_size' [-Wunused-variable]
scene/gui/rich_text_label.cpp:850:10: warning: unused variable 'x_ofs' [-Wunused-variable]
scene/gui/text_edit.cpp:653:8: warning: unused variable 'tab_w' [-Wunused-variable]
scene/resources/bit_mask.cpp:186:6: warning: unused variable 'i' [-Wunused-variable]
scene/resources/mesh.cpp:549:20: warning: '_array_name' defined but not used [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:107:10: warning: unused variable 'v2' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:108:10: warning: unused variable 'v3' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:109:10: warning: unused variable 'v4' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:110:10: warning: unused variable 'v5' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:111:10: warning: unused variable 'v0n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:112:10: warning: unused variable 'v1n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:113:10: warning: unused variable 'v2n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:114:10: warning: unused variable 'v3n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:115:10: warning: unused variable 'v4n' [-Wunused-variable]
servers/audio/audio_rb_resampler.cpp:116:10: warning: unused variable 'v5n' [-Wunused-variable]
servers/visual/default_mouse_cursor.xpm:2:21: warning: 'default_mouse_cursor_xpm' defined but not used [-Wunused-variable]
```
2018-09-27 16:25:24 +02:00
Rémi Verschelde
e5bbcb8bcf
Fix warnings for comparison between signed and unsigned integers [-Wsign-compare]
...
Also turn off -Wsign-compare warnings in the future, we do not consider them important.
Fixes the following GCC 5 warnings:
```
core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/sprite_editor_plugin.cpp💯 20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
The following warnings were not fixed, as they implied casting for no gain:
```
core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
2018-09-27 16:25:23 +02:00
Rémi Verschelde
cb5a62903f
Merge pull request #22474 from groud/fix_drag_drop_file_list
...
Fixes drag & drop in the file list
2018-09-27 14:12:43 +02:00
groud
4f998faa2d
Fixes drag & drop in the file list
2018-09-27 13:54:09 +02:00
Rémi Verschelde
d8b30d42f5
Fix warnings for operator precedence disambiguation [-Wparentheses]
...
Fixes the following GCC 5 warnings:
```
core/io/resource_format_binary.cpp:1721:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
core/typedefs.h:108:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:2202:58: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses]
editor/plugins/spatial_editor_plugin.cpp:5002:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
main/input_default.cpp:346:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:348:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
main/input_default.cpp:579:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
modules/gridmap/grid_map_editor_plugin.cpp:613:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
modules/theora/video_stream_theora.cpp:335:34: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/theora/video_stream_theora.cpp:336:35: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
modules/visual_script/visual_script_property_selector.cpp:215:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:424:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/rich_text_label.cpp:512:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/scroll_container.cpp:173:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
scene/gui/tree.cpp:1419:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
```
2018-09-27 10:29:48 +02:00
Rémi Verschelde
2b084352b9
Fix warnings on non-static data member initializers (C++11 feature)
...
We're not formally using C++11 yet so those trigger compilation warnings
(at least with GCC 5):
./main/input_default.h:122:30: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11
CursorShape default_shape = CURSOR_ARROW;
^
Note: We may allow those eventually (especially for non-int static const),
but most of current occurrences were inconsistent with all other classes.
See also http://www.stroustrup.com/C++11FAQ.html#member-init
2018-09-27 10:29:48 +02:00
Rémi Verschelde
ea63c9a870
Inspector: Enable wrap for multiline text widget
...
Fixes #22458 .
2018-09-27 09:09:47 +02:00
Hugo Locurcio
c4770a5b5d
Tweak some editor texts' capitalization, use "Go to" instead of "Goto"
...
This also fixes a typo in the `debugger/debug_with_external_editor`
shortcut.
2018-09-25 22:51:13 +02:00
Rémi Verschelde
23b2ca75c2
Merge pull request #22423 from Chaosus/fix_tooltip_border
...
Fix incorrect tooltip border
2018-09-25 15:16:57 +02:00
Chaosus
7a3aaa69db
Fix incorrect tooltip border
2018-09-25 14:18:25 +03:00
Rémi Verschelde
298a6ad73c
Merge pull request #22290 from groud/add_2dimensional_scale
...
Add both X and Y scale in the scale editor
2018-09-25 10:25:13 +02:00
groud
bad5ec61b1
Add both X and Y scale in the scale editor
2018-09-25 09:50:25 +02:00
DualMatrix
0e37829031
Added step support when exporting integers.
...
Added step support when exporting integers.
This wasn't possible before and was kinda unclear see #21441
2018-09-24 18:26:39 +02:00
Rémi Verschelde
c432ce4ee1
Merge pull request #22400 from Chaosus/viewport_color
...
Added viewport border color setting for canvas item editor
2018-09-24 15:48:55 +02:00
Rémi Verschelde
1f18a85ea1
Merge pull request #22398 from groud/fix_import_tab_update
...
Fix import tab not updating when selecting in the tree view
2018-09-24 15:26:23 +02:00
Chaosus
943d0a90f5
Added viewport border color setting for canvas item editor
2018-09-24 16:16:40 +03:00
groud
ed516a11ca
Fix import tab not updating when selecting in the tree view
2018-09-24 14:26:26 +02:00
groud
43beed489a
Allow the tree view of FileSystem to take more space
2018-09-24 12:01:20 +02:00
DualMatrix
44e996fdc5
Made children of Containers not selectable.
...
Made children of Containers not selectable.
2018-09-23 22:26:05 +02:00
Michael Alexsander Silva Dias
b8f946f118
Make Rect2 EditorProperty obey the horizontal setting
2018-09-23 16:00:48 -03:00
Rémi Verschelde
399910ddd8
Merge pull request #22357 from DualMatrix/no_built_in
...
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 18:37:45 +02:00
DualMatrix
6dc0120c60
Prevent built-in-scripts from being made from FileSystem dock
...
Prevent built-in-scripts from being made from FileSystem dock
2018-09-23 17:38:59 +02:00
Rémi Verschelde
7e3ce79ea9
Merge pull request #22346 from Paulb23/text_file_icon
...
Icon for TextFiles.
2018-09-23 17:10:57 +02:00
DualMatrix
f483460e38
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
...
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
2018-09-23 14:58:15 +02:00
Evandro Bitencourt
4065b8dd28
Fix issue #22320 .
...
When a resource item doesn´t define a icon it should not use the theme default icon, the default theme icon is an error msg.
2018-09-22 18:53:34 -03:00
Max Hilbrunner
e863bbb3b0
Merge pull request #22339 from AndreaCatania/fixes2
...
Toward 3.1 - physics fixes
2018-09-22 16:47:57 +02:00
Paulb23
0dd1cb0dcc
Icon for TextFiles
2018-09-22 15:17:17 +01:00
Andrea Catania
a3bdcb901f
Correctly freed PhysicalBoneEditor
2018-09-22 11:27:30 +02:00
Rémi Verschelde
29b093f9e8
Merge pull request #22340 from akien-mga/sort_text_editor_themes
...
Settings: Sort text editor themes alphabetically
2018-09-22 10:52:06 +02:00
Andrea Catania
855a440071
Removed node from physical_bone_plugin
2018-09-22 10:14:52 +02:00
Rémi Verschelde
f0051394da
Settings: Sort text editor themes alphabetically
2018-09-22 10:02:20 +02:00
Michael Alexsander Silva Dias
622bae393b
Make EditorFileDialog be able to pick a folder when entering it
2018-09-21 19:42:06 -03:00
groud
f19dfc1aa8
Remove auto disabling of the split-view in the FileSystem dock
2018-09-21 12:19:50 +02:00
Andrii Doroshenko (Xrayez)
e343610b0e
Fix blend tree editor updating invalid blend tree node graph
...
Editing unreferenced blend tree caused SIGSEGV when updating node graph.
Fixes #22037
2018-09-21 12:48:26 +03:00
Rémi Verschelde
534b7ef292
Merge pull request #22174 from cyclopsian/obj-paths
...
Check for absolute paths in OBJ loader
2018-09-21 10:32:18 +02:00
Rémi Verschelde
f22f83f2df
Merge pull request #22308 from groud/fix_filesystem_setting
...
Fixes filesystem display mode not updating at startup
2018-09-21 10:28:05 +02:00
groud
77a6a467b3
Fixes filesystem display mode not updating at startup
2018-09-21 09:42:41 +02:00
Michael Alexsander Silva Dias
ab2eac8e3f
Make filesystem dock's path bar start with said path written
2018-09-21 04:05:50 -03:00
Juan Linietsky
d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
...
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud
de01b7941d
Fixes 2D IK
2018-09-20 22:33:49 +02:00
Rémi Verschelde
76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
...
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde
f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
...
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
Rémi Verschelde
0b705d5583
Merge pull request #22068 from akien-mga/default-editor-layout
...
EditorNode: New default dock layout
2018-09-20 19:57:30 +02:00
Rémi Verschelde
46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
...
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde
14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
...
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde
8e0dfe5501
EditorNode: New default dock layout
...
As discussed with @reduz, now that the FileSystem dock is getting
files display in tree view (#21426 ), we can change the docks layout
again to give more height to the new inspector.
The new layout is thus:
- Top left: Scene and Import docks
- Bottom left: FileSystem
- Right (full height): Inspector and Node docks
The 2nd left (LEFT_R) and 1st right (RIGHT_L) VSplitContainers (the
ones in use) also get an additional 40px of width compared to their
previous size (which was the minimum size).
Fixes #21480 .
2018-09-20 18:35:38 +02:00
Rémi Verschelde
c884b55ff0
EditorNode: Reorder and cleanup initial dock setup
2018-09-20 18:35:38 +02:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
...
Add files to tree view
2018-09-20 18:32:13 +02:00
Rémi Verschelde
9136f1287e
Merge pull request #22282 from ibrahn/spatial_editor_origin_init
...
fix branch on uninit in spatial_editor_plugin
2018-09-20 15:50:41 +02:00
Rémi Verschelde
da48a599a4
Merge pull request #22131 from DualMatrix/unique_res
...
Make inspector select the correct resource after making them unique
2018-09-20 15:35:23 +02:00
Rémi Verschelde
9f0ea24920
Merge pull request #22163 from DualMatrix/create_extra
...
Automatically add extra args to function when creating it from create signal window
2018-09-20 15:12:12 +02:00
Rémi Verschelde
48ace81d7b
Merge pull request #22171 from DualMatrix/empty_boi_WTF_WHY
...
Fixed empty item slipping into Search Classes dialog
2018-09-20 15:03:13 +02:00
Rémi Verschelde
c19dc39630
Merge pull request #22201 from DualMatrix/error_spam_2_electric_boogaloo
...
Fixed error spam in remote debugger
2018-09-20 14:45:21 +02:00
Rémi Verschelde
7235f48690
Merge pull request #22244 from DualMatrix/debuging_the_debugger
...
Fixed Objects no longer showing ID in debugger.
2018-09-20 14:42:36 +02:00
Chaosus
e4c8efd051
Fix "This control can't grab focus." warning spam
2018-09-20 15:29:38 +03:00
Ibrahn Sahir
ce15cf8ebc
fix branch on uninit in spatial_editor_plugin
...
Moved the initialisation of origin_enabled up a bit, to be inited before
it's accessed in _init_grid. A step towards cleaner valgrind output and
removes an opportunity for a random occurance of the origin/grid
z-fighting issue.
Also removed unused variable last_grid_snap to avoid later confusion.
2018-09-20 13:06:13 +01:00
Rémi Verschelde
0a6626a5d1
Merge pull request #22268 from DualMatrix/highlight_no_save
...
Fixed syntax highlighting setting not being saved
2018-09-20 13:51:33 +02:00
Rémi Verschelde
d357b45fda
Merge pull request #22270 from DualMatrix/locks_toggle_visible
...
Added ability to hide edit locks and groups in editor view
2018-09-20 13:33:29 +02:00
DualMatrix
494354c835
Added ability to hide edit lock and groups in editor view
...
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
DualMatrix
4efcf9c943
Fixed syntax highlighting setting not being saved
...
Fixed syntax highlighting setting not being saved
2018-09-20 11:31:53 +02:00
JFonS
a100b320c2
Change viewport type after using create root menu
...
Change viewport type (2D/3D) according to the type of node just created
from the "Create Root Node" menu.
2018-09-20 10:44:58 +02:00
Rémi Verschelde
4fca3fe180
Merge pull request #22267 from YeldhamDev/dict_array_type_fix
...
Properly setup EditorProperties in arrays and dictionaries
2018-09-20 08:54:44 +02:00
Rémi Verschelde
89a38b1b22
Merge pull request #22269 from willnationsdev/fix-draw-call-editor-setting-saves
...
Fix EditorSettings saving on draw calls
2018-09-20 08:53:22 +02:00
Rémi Verschelde
1800439997
Merge pull request #22234 from DualMatrix/favorites_not_saved
...
Fixed favorite nodes list not being saved
2018-09-20 08:51:20 +02:00
willnationsdev
fa271e4870
Fix EditorSettings saving on draw calls
2018-09-19 21:37:55 -05:00
Michael Alexsander Silva Dias
c0c567add7
Properly setup EditorProperties in arrays and dictionaries
2018-09-19 20:23:09 -03:00
groud
c3e66536cc
Fixes polygon editor blocking other editor actions (move, scale...)
2018-09-19 14:26:04 +02:00
DualMatrix
aa32a9f22d
Fixed Objects no longer showing ID in debugger.
...
Fixed Objects no longer showing ID in debugger.
2018-09-19 12:06:34 +02:00
DualMatrix
54286e1711
Fixed error spam in remote debugger
...
Fixed error spam in remote debugger.
2018-09-19 11:32:11 +02:00
groud
e1c92e32e6
Fixes selection of toplevel CanvasItems in the editor
2018-09-19 11:05:24 +02:00
Chaosus
a3fdaa4f21
Disconnect previous visual shader node connection before new connect
2018-09-19 10:30:45 +03:00
Rémi Verschelde
d3e24581b9
Merge pull request #22150 from Calinou/editor-theme-improved-checkboxes
...
Improve checkboxes in the default editor theme
2018-09-19 09:23:44 +02:00
Rémi Verschelde
58c8c05012
Merge pull request #22096 from elasota/fix-visual-shader-colors
...
Fix visual shader color constants not retaining edits
2018-09-19 08:40:49 +02:00
DualMatrix
edd93b7608
Fixed favorite nodes list not being saved
...
Fixed favorite nodes list not being saved
2018-09-19 00:30:01 +02:00
groud
5172642c32
Fixes drawing of the 2D plugins on the 3D view
2018-09-18 20:00:07 +02:00
Poommetee Ketson
e74876028e
Fix find-in-files and go-to-line dialog (partially)
2018-09-18 22:07:13 +07:00
groud
76b2ae8dc6
Fixes favorites not updating and rename favorite_dirs to favorites
2018-09-18 14:02:59 +02:00
DualMatrix
e10ca7b824
Fixed clicking on Find/Replace doesn't set the focus on the text field
...
Fixed clicking on Find/Replace doesn't set the focus on the text field
2018-09-18 00:10:23 +02:00
DualMatrix
0d09f80e43
Added warning when disabling editable_instance
...
Added warning when disabling editable_instance to prevent data loss.
2018-09-17 15:18:03 +02:00
DualMatrix
c1674f1068
Fixed empty item slipping into Search Classes dialog
...
Fixed empty item slipping into Search Classes dialog.
Phew tracking this down was weird.
2018-09-17 12:41:47 +02:00
cyclopsian
45ba58c123
Check for absolute paths in OBJ loader
2018-09-16 22:23:40 -04:00
DualMatrix
1775c796a4
Automatically add extra args to func when creating it from create signal window
...
Automatically add extra arguments to function when creating it from create signal window. They will be called extra_arg_1, extra_arg_2,...
2018-09-16 21:01:17 +02:00
Hugo Locurcio
7533778760
Improve checkboxes in the default editor theme
2018-09-16 15:12:28 +02:00
Michael Alexsander Silva Dias
75d5d81b8a
Remove unnecessary "OK"s text settings
2018-09-15 21:40:50 -03:00
DualMatrix
2996c85c46
Make inspector select the correct resource after making them unique
...
Make inspector select the correct resource after making them unique
2018-09-16 01:50:20 +02:00
Rémi Verschelde
787be50f17
Merge pull request #22117 from Paulb23/colour_theme_crash_issue_21715
...
Fix crash on colour theme change, issue 21715
2018-09-16 01:41:13 +02:00
Rémi Verschelde
437af1450e
Merge pull request #22111 from Chaosus/unification
...
Few unification fixes for canvas_item and spatial editor toolbars
2018-09-16 01:26:36 +02:00
Rémi Verschelde
7f5e653a22
Merge pull request #22066 from Faless/bundle_certs
...
Bundle SSL certs with the templates
2018-09-16 01:22:47 +02:00
Paulb23
df2af46a41
Fix crash on colour theme change, issue 21715
2018-09-15 19:22:20 +01:00
Chaosus
2fe0365661
Few unifications between canvas_item and spatial editors
2018-09-15 18:44:26 +03:00
Rémi Verschelde
2cf024ed91
Merge pull request #22069 from scayze/fix_reload_scripts
...
Fix scripts not reloading when edited externally
2018-09-15 15:10:56 +02:00
Fabio Alessandrelli
0e56377e96
Allow system certs file to be used by Editor.
...
Note, it will only used by the Editor, not when running the game.
This allows package maintainer to compile Godot to use system installed
certificates when accessing the AssetLib.
2018-09-15 14:45:54 +02:00
Fabio Alessandrelli
d2b38aabec
Bundle SSL certs with the templates.
...
If this is undesired it can be avoided by specifying builtin_certs=no .
Bundled SSL certs will be used unless you specify an override in:
Project Settings -> SSL -> Certificates .
2018-09-15 10:54:00 +02:00
elasota
37595e183d
Fix visual shader color constants not retaining edits
2018-09-15 02:47:38 -04:00
elasota
f5c7d64492
Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension.
2018-09-14 22:30:48 -04:00
Rémi Verschelde
d3527834f3
Fix video toggle UX issue
...
It was still functional but showing duplicate entries and thus
"GLES2" for both GLES2 and GLES3 choices.
Fixes #22089 .
2018-09-15 01:49:59 +02:00
Rémi Verschelde
d934cbcbc9
Set default CanvasItemEditor zoom shortcut to KEY_EQUAL
...
At least on en_US QWERTY (and various QWERTY-derived variants)
and fr_FR AZERTY, "+" is an indirect key obtained by pressing
"Shift" + "=", so using "=" in the binding makes it easier to
access.
It doesn't work this way on other layouts like de_DE QWERTZ though,
but since 'script_editor/zoom_in' also uses KEY_EQUAL, setting
the same for consistency.
Fixes #22067 .
2018-09-14 21:42:47 +02:00
Rémi Verschelde
1eed12f6d8
Merge pull request #22074 from willnationsdev/plugin-description
...
Add EditorPlugin descriptions to their tooltip
2018-09-14 20:44:52 +02:00
Will Nations
d26de79f4e
Add EditorPlugin descriptions to their tooltip
2018-09-14 12:21:09 -05:00
Rémi Verschelde
8f33542ac3
ProjectSettings: Fix InputMap editor on HiDPI
...
Fixes #20898 .
2018-09-14 18:11:55 +02:00
Rémi Verschelde
67477f1a06
Merge pull request #22051 from fire/vs_expression_20885
...
Update visual scripting to use new expression class #20885
2018-09-14 18:03:48 +02:00
Manuel Strey
ebd518c9c9
fix scripts not reloading when edited externally
2018-09-14 17:24:12 +02:00
willnationsdev
5436abefe4
Refactor editor icon retrieval
2018-09-14 09:27:56 -05:00
groud
59536b98b9
Bugfixes on the filesystem dock
2018-09-14 13:59:19 +02:00
groud
028813fb9c
Add a display mode toggle button
2018-09-14 10:22:13 +02:00
groud
4ef4df54d0
Store tree collapse when searching
2018-09-14 10:22:13 +02:00
groud
a5fba2aa79
Allow dragging files into the favorites section
2018-09-14 10:22:13 +02:00
groud
4731745deb
Adds a filter in the tree view
2018-09-14 10:22:13 +02:00
groud
d7b638ed32
Replace the -show in filesystem- button by a RMB entry
2018-09-14 10:22:13 +02:00
groud
bc5dfdde78
Replace the favorite button by a RMB menu entry
2018-09-14 10:22:13 +02:00
groud
796418aa11
Merge the disable_split and show_files_in_tree settings
2018-09-14 10:22:07 +02:00
groud
b2633a97b9
Add thumnails to the tree view
2018-09-14 10:14:33 +02:00
groud
5f3bbbdc81
Add support for files in the tree view
2018-09-14 10:14:33 +02:00
K. S. Ernest (iFire) Lee
e8f993677d
Update visual scripting to use new expression class #20885
2018-09-13 12:53:14 -07:00
Rémi Verschelde
06c8b5a4ff
Merge pull request #22027 from akien-mga/plain-text-gles-toggle
...
Use plain text instead of icons for video driver toggle
2018-09-13 18:13:25 +02:00
Rémi Verschelde
bcc50de2d1
Merge pull request #21540 from YeldhamDev/image_reimp_error_fix
...
Fix error when reimporting an Image resource
2018-09-13 14:09:39 +02:00
Rémi Verschelde
399f667911
Use plain text instead of icons for video driver toggle
...
Fixes #21660 , supersedes and closes #21724 .
2018-09-13 12:15:17 +02:00
Rémi Verschelde
ae8f984cf3
Merge pull request #21730 from reisraff/fixing_key_shortcut
...
#21500 Fixing key shortcut
2018-09-13 12:09:17 +02:00
Rémi Verschelde
6c20c3a534
Merge pull request #21819 from DualMatrix/built-in-script
...
Made editor automatically open the scene of built in scripts
2018-09-13 11:27:22 +02:00
Rémi Verschelde
4ae78987b7
Merge pull request #22017 from YeldhamDev/errors_tab_changes
...
Add expand/collapse all buttons for the "Errors" tab
2018-09-13 11:21:31 +02:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
Michael Alexsander Silva Dias
3a9df46b90
Add expand/collapse all buttons for the "Errors" tab
2018-09-12 23:53:10 -03:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
f438d311ae
Merge pull request #22002 from akien-mga/doc-unify-editor-rst
...
Doc: Use same headers and order in-editor and online
2018-09-13 02:07:22 +02:00
Fabio Alessandrelli
cdc5264a3e
Merge pull request #21692 from Faless/sockets_rebase
...
New NetSocket interface with common BSD/Win implementation
2018-09-12 18:25:28 +02:00
Rémi Verschelde
ba64ea2283
Doc: Use same headers and order in-editor and online
2018-09-12 17:12:23 +02:00
Rémi Verschelde
68cc2cf3bf
Merge pull request #21997 from akien-mga/fix-script-name
...
Fix default script name in ScriptCreateDialog
2018-09-12 16:42:54 +02:00
Fabio Alessandrelli
30327872e0
Unify StreamPeerTCP/TCP_Server with NetSocket API
2018-09-12 15:56:20 +02:00
Rémi Verschelde
c4311b62c4
Merge pull request #21884 from RyanStein/feature-error-tree
...
Resurrect integrated error display for the Debugger.
2018-09-12 14:53:32 +02:00
Rémi Verschelde
f98d946cd9
Merge pull request #21934 from groud/add_scale_mode
...
Add a scale mode to the 2D editor
2018-09-12 14:24:33 +02:00
Rémi Verschelde
cc5ab22204
Merge pull request #21935 from goodyttoor/gltf_cubic
...
Fix cubic spline interpolation in glTF importer
2018-09-12 14:12:32 +02:00
Rémi Verschelde
fb77cdf2f2
Fix default script name in ScriptCreateDialog
...
It would default either to '.gd' when created from the script editor,
or to 'res:///NodeName.gd' (three '/') when created from the scene tree dock.
2018-09-12 12:29:50 +02:00
Rémi Verschelde
c7fc3dcab3
Merge pull request #21878 from RyanStein/bugfix-14400
...
Make `_sort_list_on_update` true before opening files, fixes 14400
2018-09-12 11:18:10 +02:00
Rémi Verschelde
1db4b307f9
Merge pull request #21984 from groud/fix_2D_selection
...
Fix 2D selection
2018-09-12 11:13:36 +02:00
Rémi Verschelde
ecefd07bcb
Merge pull request #21985 from Calinou/fix-osx-open-editor-path
...
Fix project and editor data paths not being opened correctly on macOS
2018-09-12 10:58:14 +02:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
groud
9dc81e6ca7
Fix 2D selection
2018-09-11 20:58:01 +02:00
Hugo Locurcio
ff9d3e569f
Fix project and editor data paths not being opened correctly on macOS
...
This closes #21904 .
2018-09-11 20:32:08 +02:00
groud
2f316bc608
Add a scale mode to the 2D editor
2018-09-11 17:48:57 +02:00
Rémi Verschelde
ed8b75a3e1
Drop obsolete PropertyEditor and SectionedPropertyEditor code
...
Replaced by EditorInspector.
2018-09-11 16:16:11 +02:00
Rémi Verschelde
45b609f46a
Replace last occurrences of PropertyEditor by EditorInspector
...
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin
Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Rémi Verschelde
4c37ea59be
Merge pull request #21971 from scayze/window_title_update
...
Update window title when switching scenes
2018-09-11 13:03:11 +02:00
Manuel Strey
909885642a
update window title when switching scenes
2018-09-11 12:28:32 +02:00
Rémi Verschelde
0471386a97
Revert "Fix selection of spatial nodes after selecting a non-spatial one."
2018-09-11 11:30:48 +02:00
Hugo Locurcio
621a5457ed
Display camera coordinates in the 3D viewport's information pane
2018-09-11 00:04:09 +02:00
Rémi Verschelde
96014b6391
Merge pull request #21911 from groud/fix_locked_nodes
...
Fixes 2D nodes lock not working
2018-09-10 23:43:25 +02:00
Rémi Verschelde
efeb88b102
Merge pull request #21907 from JFonS/concave_collision_gizmo
...
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-10 23:36:07 +02:00
Rémi Verschelde
fe4c893c88
Merge pull request #21871 from DualMatrix/recent_select
...
Fixed favorites and recent nodes selecting wrong node
2018-09-10 22:52:08 +02:00
DualMatrix
6ec28de584
Fixed favorites and recent nodes selecting wrong node
...
Fixed favorites and recent nodes selecting wrong node and fixed a typo.
Fixes #6535
2018-09-10 20:58:29 +02:00
Rémi Verschelde
772b398ad8
Merge pull request #21886 from RyanStein/bugfix-15509
...
Check for double-colon on open recent script.
2018-09-10 19:06:41 +02:00
Rémi Verschelde
ec788e1ac4
Merge pull request #21879 from willnationsdev/script-name-empty
...
Fix ScriptCreateDialog passing script w/ no filename
2018-09-10 18:58:21 +02:00
Rémi Verschelde
fcabf95934
Merge pull request #21835 from DualMatrix/save_branch
...
Prevent overwriting open scenes when saving
2018-09-10 16:00:25 +02:00
Rémi Verschelde
04eb6046c5
Merge pull request #21831 from JFonS/fix_13849
...
Fix selection of spatial nodes after selecting a non-spatial one.
2018-09-10 15:39:31 +02:00
Vivatchai Kaveeta
463ead1eb7
Fix cubic spline interpolation in glTF importer
...
Should solve #21001 #14636
2018-09-10 20:02:39 +07:00
groud
1d83f36a26
Fixes 2D nodes lock not working
2018-09-09 22:17:54 +02:00
JFonS
216ba4cc8b
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-09 19:39:34 +02:00
Ryan Stein
13370e3e09
Merge debugger's error and stack trace lists into one tree interface.
2018-09-08 22:36:40 -04:00
Ryan Stein
1cdc04c9c4
Check for double-colon on open recent script.
2018-09-08 22:26:05 -04:00
willnationsdev
69c09ab2fd
Fix ScriptCreateDialog passing script w/ no filename
2018-09-08 15:04:55 -05:00
Ryan Stein
7fdb8f72c0
Make `_sort_list_on_update` true before opening new help or script files in the ScriptEditor.
2018-09-08 14:33:54 -04:00
Michael Alexsander Silva Dias
dff7366c86
Fix error when reimporting an Image resource
2018-09-07 16:43:11 -03:00
DualMatrix
c43ffc8917
Prevent overwriting open scenes when saving
...
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07 15:54:26 +02:00
JFonS
b82f037818
Fix selection of spatial nodes after selecting a non-spatial one.
...
Fixes #13849
2018-09-07 10:49:40 +02:00
DualMatrix
3f672307d7
Made editor automatically open scenes of built in scripts.
...
Made editor automatically open scenes of built in scripts when attempting to open that script.
2018-09-07 00:34:39 +02:00
Rémi Verschelde
8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
...
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde
2f4912ec69
Merge pull request #21767 from volzhs/expand-collapse-all
...
Make expand/collapse all properties menu working
2018-09-05 18:04:44 +02:00
Rémi Verschelde
021159330c
Merge pull request #21766 from volzhs/bitmask-color
...
Make better look for bitmask
2018-09-05 18:03:40 +02:00
volzhs
ce4067e38b
Make expand/collapse all properties menu working
2018-09-05 11:03:10 +09:00
volzhs
192beed068
Make better look for bitmask
2018-09-05 10:49:48 +09:00
Rémi Verschelde
5fe01d4cfc
Move ParticlesMaterial code to its own resource file
...
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.
Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
paul gruenbacher
8c14cd5b69
added get_camera_method to spatial editor plugin viewport
...
amend
added get_camera_method to spatial editor plugin viewport
2018-09-03 14:00:21 -04:00
Rafael Reis
d1d1f4a776
#21500 Fixing key shortcut
2018-09-03 11:39:07 -03:00
JFonS
4a412943d4
Fix selection of instanced scenes in 3D
2018-09-02 22:31:03 +02:00
Guilherme Felipe
4356af2a68
[Texture Import] Fix invert color
2018-09-02 11:35:48 -03:00
Hugo Locurcio
9c5ce5cf58
Fix the project manager window size on hiDPI displays on macOS
...
This closes #21525 .
2018-09-02 11:52:26 +02:00
Rémi Verschelde
737c90963f
Merge pull request #21636 from akien-mga/docdata-variant
...
DocData: Fix return type listed as "var" instead of "Variant"
2018-09-01 23:40:11 +02:00
Rémi Verschelde
ab60283798
Merge pull request #21663 from Calinou/fix-editor-shortcut-defaults
...
Fix some editor shortcuts' default values not being set properly
2018-09-01 20:40:29 +02:00
Hugo Locurcio
af139af69e
Fix some editor shortcuts' default values not being set properly
...
This also changes the uppercase/lowercase/capitalize shortcuts
to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts
with the new Find Next shortcut.
This closes #21612 .
2018-09-01 16:20:47 +02:00
Ibrahn Sahir
02693b9af6
Removed some unneeded generated headers from the editor directory SCsub.
...
These headers are currently built in (and included from) the core directory.
Removing the editor directory versions to avoid confusion.
2018-09-01 13:00:04 +01:00
Michael Alexsander Silva Dias
8c74257d68
Make "Search Classes" dialog have relationship lines if the setting is enabled
2018-08-31 21:48:56 -03:00
Rémi Verschelde
f92b87e5f8
DocData: Fix return type listed as "var" instead of "Variant"
2018-08-31 22:41:14 +02:00
Kelly Thomas
e00baaf6ce
emit more detailed type information for signal parameters
2018-08-31 22:34:22 +02:00
Rémi Verschelde
51dfdf549e
ExportDialog: Validate path before allowing export
...
Otherwise one could quite easily end up with the exported game
being hidden files named ".x86_64" and ".pck" for example.
Also improved the default filename logic a bit to also include
extension, and never fallback to an empty string.
Also fixed being able to click "Export project" without selecting
a preset.
2018-08-31 11:19:13 +02:00
Will Nations
dee0ee749d
Fix Script Classes not instancing with custom name.
2018-08-30 16:01:39 -05:00
JFonS
07d9b7af7a
Fix regression #21262 in Path Gizmo
...
closes #21262
2018-08-30 14:24:24 +02:00
Rémi Verschelde
9eb4d4ab2d
Add missing copyright headers
2018-08-29 22:41:17 +02:00
Rémi Verschelde
6003cf70b1
Merge pull request #21578 from volzhs/font-hindi
...
Add Hindi font for editor
2018-08-29 22:41:09 +02:00
volzhs
1dc6d47df9
Add Hindi font for editor
2018-08-30 05:11:09 +09:00
Juan Linietsky
cf834a22dc
Ported CPU particles to 2D
2018-08-29 16:48:55 -03:00
Rémi Verschelde
39cbb992c3
Merge pull request #21516 from elasota/fix-bptc
...
Fix BPTC regressions
2018-08-29 16:35:34 +02:00
Marcelo Fernandez
20bea1e231
Unexpose TileMap set_celld
2018-08-29 09:00:00 -03:00
Rémi Verschelde
6c8aa939e4
Merge pull request #21539 from yurchor/master
...
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan
06e73522dc
Fix vformat(), minor typos and word puzzles
2018-08-29 11:50:39 +03:00
Bernhard M. Wiedemann
83b856c046
BuildSystem: Sort input file lists
...
so that godot package builds reproducibly
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461
See https://reproducible-builds.org/ for why this is good.
Sort font input file list, so that builtin_fonts.gen.h
is created in a reproducible way
Sort list of platforms, so that editor/register_exporters.gen.cpp
is created in a reproducible way
Sort list of source files, so that .a files and resulting godot binaries
are created in a reproducible way
2018-08-29 10:24:07 +02:00
Bernhard M. Wiedemann
f312582326
BuildSystem: Fix font list
...
We want to add the individual strings to the list
and not add a list object to the list.
Without this patch, sorting failed because "str < list"
is not a valid operation in python.
2018-08-29 10:24:07 +02:00
Rémi Verschelde
b6c170165c
Merge pull request #21485 from JFonS/fix_selection
...
Saner selection code for instanced scenes in 3D, should close #21447
2018-08-29 10:08:41 +02:00
Rémi Verschelde
7e79fb80db
Fix z-fighting on origin grid lines in spatial editor
...
Fixes #21264 .
2018-08-29 09:27:50 +02:00
Will Nations
ca14766e3a
Fix making _editor_icon meta during CLEAR_SCRIPT
2018-08-28 15:32:35 -05:00
Tommi Komulainen
aded18104b
Scale the Item List Editor window size with the editor scale
...
Makes the dialog bigger and more usable on HiDPI screens.
Fixes #21520
2018-08-28 19:17:29 +02:00
Marcin Zawiejski
eaa0dbc7d8
Fix for p_width - 1=-1 out of size
...
Fixes a zero-size image creation by moving the profiler plot update call
to the Clear button handler so it is not called during initialization.
2018-08-28 11:49:12 +02:00
Rémi Verschelde
ac38b7e97b
Merge pull request #21496 from tko/macos-complete
...
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
2018-08-28 07:40:55 +02:00
Rémi Verschelde
cda5a56808
Merge pull request #21495 from tko/macos-replace
...
[macOS] fix conflicting keybindings for (Find and) Replace...
2018-08-28 07:38:30 +02:00
elasota
084cbdefa2
Fix BPTC and fix importing HDR images with LDR compression
2018-08-27 23:05:04 -04:00
K. S. Ernest (iFire) Lee
fa62037ff6
In the GLTF importer normalize Quaternions after every operation and when reading from the format.
2018-08-27 14:59:28 -07:00
Tommi Komulainen
c2f0b4c9c6
[macOS] change "Complete Symbol" shortcut to not conflict with Spotlight
...
The default shortcut for Spotlight search is Command+Space so try not to
use it. Instead use Ctrl+Space similar to Xcode.
2018-08-27 20:39:43 +02:00
Tommi Komulainen
464756ec0f
[macOS] fix conflicting keybindings for (Find and) Replace...
...
```
Play Scene Command+R (no change)
Replace... Command+R => Option+Command+F
Find Function... Option+Command+F => Ctrl+Command+J
```
On macOS Option+Command+F is commonly used for Find and Replace so use
it instead to avoid conflicting with "Play Scene"
And as Option+Command+F is currently used by "Find Function..." rebind
the latter to Control+Command+J which is the Xcode shortcut for
"Jump to Definition"
Fixes #19817
2018-08-27 20:28:24 +02:00
Juan Linietsky
0565adb20f
Removed fallback system and merged bptc into s3tc
2018-08-27 13:47:35 -03:00
Rémi Verschelde
9df5ddae29
Merge pull request #21456 from MarianoGnu/tileset_editor
...
TileSet editor Fixes
2018-08-27 17:49:02 +02:00
Rémi Verschelde
72996df656
Revert "Try closing gracefully before terminating process"
2018-08-27 17:32:43 +02:00
Omicron
71397e0e17
Typo in text string
...
reported by Yuri Chornoivan on weblate
2018-08-27 16:12:48 +02:00
JFonS
b58bb95c86
Saner selection code for instanced scenes in 3D, should close #21447
...
Selecting instanced scenes still doesn't work properly because gizmos are not being added to instanced nodes.
I will probably work on fixing all the shenanigans around selection, but that will take some time.
This part of the code should work better for the moment.
2018-08-27 16:02:49 +02:00
Rémi Verschelde
fc1d464f1f
Merge pull request #21381 from YeldhamDev/members_help_overview_fix
...
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-27 09:43:00 +02:00
Rémi Verschelde
0f4ba4481a
Merge pull request #21432 from JFonS/fix_material_convert
...
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-27 08:55:41 +02:00
Rémi Verschelde
a543c68959
Merge pull request #21466 from elasota/fix-layered-texture-import
...
Fix crash when importing layered textures
2018-08-27 08:00:15 +02:00
Michael Alexsander Silva Dias
df4f3aecd8
Fix Members/Help Overview getting their items deselected when a tooltip appears
2018-08-26 23:55:45 -03:00
elasota
02d3d4c2ce
Fix crash when importing layered textures
2018-08-26 20:21:27 -04:00
Mariano Javier Suligoy
c64ab97063
TileSet editor Fixes
...
Properly draw navigation and oclusion polygons for SINGLE type tiles. Fixes #21398
Add some checks for TileID validation before accessing to it's properties. Fixes #21397
Fix 'Keep inside region' snap option for tiles with SINGLE_TILE mode. Fixes #21402
Restore hability to asign/unasign an script to a tileset. Fixes #20886
2018-08-26 17:10:01 -03:00
JFonS
ee06cfe6e5
Fix "Convert To ShaderMaterial" option not working, closes #20891
2018-08-26 12:25:41 +02:00
Andrea Catania
2e722caead
Fixed physics bone crash: #20397
2018-08-26 11:55:58 +02:00
Michael Alexsander Silva Dias
7d13f6ad30
Small improvements to the Spatial Editor's multiple viewport mode
2018-08-25 17:43:27 -03:00
Mariano Suligoy
1f4a891a9c
Texture Region: Cache auto-slice information into the texture. Fixes #11503
2018-08-25 09:02:05 -03:00
Rémi Verschelde
0b67d1665d
Style: Fix previous commits from @reduz
2018-08-24 16:50:29 +02:00
Rémi Verschelde
f733c6470d
Merge pull request #21110 from natrim/particles2d_editor
...
Particles2D: fix editing Visibility Rect from new inspector
2018-08-24 15:31:31 +02:00
Rémi Verschelde
cd945e28de
Merge pull request #21272 from paulloz/tilemap-tools-enhancements
...
tilemap_editor: change move and duplicate tools
2018-08-24 15:18:06 +02:00
Rémi Verschelde
571dab7d1e
Merge pull request #21356 from akien-mga/drop-shadergraph
...
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 15:02:26 +02:00
Rémi Verschelde
52466d57e9
Make some debug prints verbose-only, remove others
2018-08-24 14:59:01 +02:00
Rémi Verschelde
d442f3d0aa
Merge pull request #21351 from akien-mga/print_verbose
...
Add print_verbose to print to stdout only in verbose mode
2018-08-24 14:58:36 +02:00
Rémi Verschelde
548c262399
Merge pull request #21359 from dragmz/fix-plot-clear-when-stopped
...
Fix clear button not clearing plot when stopped
2018-08-24 13:50:22 +02:00
Juan Linietsky
0161e95f01
some checks for node removed, may fix #20863
2018-08-24 08:29:40 -03:00
Marcin Zawiejski
92a9a8969d
Fix clear button not clearing plot when stopped
...
Fixes the profiler Clear button that did not clear the profiler plot if the profiler was stopped.
2018-08-24 12:41:25 +02:00
Paul Joannon
3f1b977263
tilemap_editor: change move and duplicate tools
...
* Move now behaves like a Cut
* Duplicate now behaves like a Copy
* You can continue Pasting after Cut or Copy
2018-08-24 11:58:01 +02:00
Rémi Verschelde
e22f0515c9
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24 11:49:08 +02:00
Rémi Verschelde
de59fe04e7
Add print_verbose to print to stdout only in verbose mode
...
Equivalent of the cumbersome:
if (OS::get_singleton()->is_stdout_verbose())
print_line(msg);
2018-08-24 09:23:20 +02:00
Juan Linietsky
bffaa835fc
-Fix blend tree rename, closes #20210
...
-Fixed activity lines in blend tree
2018-08-23 16:44:10 -03:00
Rémi Verschelde
2c5b409407
Merge pull request #21316 from AlexHolly/fix-update-2d-view-scene-tree-selection
...
Fix update 2D view on selections in scene tree
2018-08-23 18:07:25 +02:00
Juan Linietsky
0d0cf2e948
Change how path properties are presented, so they can be edited. Fixes #20709
2018-08-23 11:45:54 -03:00
Rémi Verschelde
d1497b720e
i18n: Fix extract.py after #17440
...
As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
2018-08-23 14:43:41 +02:00
Rémi Verschelde
87958e7ada
i18n: Merge translation catalogs with updated template
2018-08-23 14:37:31 +02:00
Rémi Verschelde
2f721d1245
i18n: Sync translation template with current source
...
Finally unlocking translations for the master/3.1 branch on Weblate
to prepare for the stable release.
2018-08-23 14:35:40 +02:00
Alexander Holland
b7db3a69b8
Fix update 2D view on selections in scene tree
2018-08-23 14:27:06 +02:00
Rémi Verschelde
32a6542672
i18n: Sync translations with Weblate
...
(cherry picked from commit f16f9b2b8a
)
Also adds initial Georgian and Latvian translations.
2018-08-23 13:38:37 +02:00
JFonS
927f9f283f
Remove material errors after opening new project, fixes #21073
2018-08-23 10:50:30 +02:00
Rémi Verschelde
18e1268cd7
Merge pull request #21254 from YeldhamDev/tile_grid_map_side
...
Add option to move Tile/GridMap editors to another side
2018-08-23 09:04:12 +02:00
Rémi Verschelde
0c0aa5fc6f
Merge pull request #21290 from elasota/texture-import-options
...
Hide unused options when not using "Video RAM" compression mode
2018-08-23 09:01:46 +02:00
elasota
7ad1ca525e
Hide "no BPTC if RGB" and "HDR Mode" options when not using "Video RAM" import.
2018-08-22 18:31:12 -04:00
Michael Alexsander Silva Dias
6fa1b5eca7
Add option to move Tile/GridMap editors to another side
2018-08-22 19:18:23 -03:00
Rémi Verschelde
61f15878de
Merge pull request #21283 from YeldhamDev/gridmap_meshlib_rename
...
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 22:41:40 +02:00
Rémi Verschelde
a752e2f4a3
Merge pull request #21150 from Calinou/more-window-placement-options
...
Add more project window placement options
2018-08-22 22:26:52 +02:00
Michael Alexsander Silva Dias
5c6be1aea5
Rename instances of the word "theme" to "mesh_library" in GridMap and MeshLibrary editors
2018-08-22 16:52:38 -03:00
Hugo Locurcio
475a46c59c
Add more project window placement options
...
It is now possible to use the previous or next monitor (relative to
the editor) to display running projects. If either end is reached,
it will wrap around to the last or first monitor (respectively).
This closes #20283 .
2018-08-22 20:21:03 +02:00
Mariano Javier Suligoy
810b73c01e
Display tile ID along with name
...
Fixes #20895 .
2018-08-22 14:35:50 +02:00
Poommetee Ketson
a327a0078b
Fix crash when previewing null AudioStream
2018-08-22 17:03:51 +07:00
elasota
35f6ba5c5d
BPTC support
2018-08-21 22:56:04 -04:00
Rémi Verschelde
0e6551d8e2
Merge pull request #21274 from YeldhamDev/meshlib_editor_fixes
...
Fix MeshLibrary editor
2018-08-22 01:54:59 +02:00
Laurent Van Acker
4d6a6e0813
Add modulation of tiles from tileset in palette and editor draw
2018-08-22 01:36:43 +02:00
Michael Alexsander Silva Dias
d0f55ab6e4
Fix MeshLibrary editor
2018-08-21 19:06:52 -03:00
Rémi Verschelde
a3fe19dd10
Merge pull request #21252 from vnen/remove-autoload-init
...
Disable scripting and physics early in EditorNode
2018-08-21 23:42:26 +02:00
Rémi Verschelde
4bf15d8090
Merge pull request #21236 from dragmz/windows-graceful-close
...
Try closing gracefully before terminating process
2018-08-21 22:47:21 +02:00
Juan Linietsky
0a8ac1a57c
display some constants as hex
2018-08-21 17:13:16 -03:00
Rémi Verschelde
404ee1a56b
Style: Fix issues that went past CI
2018-08-21 21:28:06 +02:00
Juan Linietsky
e20864c340
Clipped camera implementation, a camera that avoids going into geometry.
2018-08-21 11:48:48 -03:00
George Marques
ed3776c6a4
Disable scripting and physics early in EditorNode
...
This avoids issues with scripts being instanced before this is set, like
autoloads.
2018-08-20 21:55:01 -03:00
Rémi Verschelde
5dc2b12efa
Merge pull request #21241 from dragmz/reset-debugger-reason
...
Reset reason text when no longer connected
2018-08-21 00:12:25 +02:00
Rémi Verschelde
ad8a6b10b5
Merge pull request #21220 from Noshyaar/import-crash
...
Fix crash while importing corrupt wav
2018-08-21 00:10:06 +02:00
Rémi Verschelde
35d232b100
Merge pull request #21228 from Noshyaar/docs-bind
...
Fix arg name in docs, some copy-paste errors
2018-08-21 00:08:05 +02:00
Rémi Verschelde
cc3ccf7caa
Merge pull request #21234 from guilhermefelipecgs/fix_inspector_capitalize
...
[EditorInspector] Fix ImportDock and ProjectExport capitalize
2018-08-21 00:07:15 +02:00
Marcin Zawiejski
ca1c851dbd
Try closing gracefully before terminating process
...
Use a Microsoft recommended way of process termination for the project
process run from the editor. This allows loaded DLLs to receive and handle
DLL_PROCESS_DETACH notification and cleanup any global state before the
process actually exits.
2018-08-20 22:41:06 +02:00
Guilherme Felipe
50326a0077
[EditorInspector] Fix ImportDock and ProjectExport capitalize
2018-08-20 17:07:02 -03:00
Poommetee Ketson
ec68822cd7
Fix crash while importing corrupted wav
...
Line 199 does division with 'bits per sample' but the check for
0 is missing.
2018-08-21 02:06:22 +07:00
Poommetee Ketson
76adef2704
Fix arg name in docs, some copy-paste errors
2018-08-21 01:51:19 +07:00
Marcin Zawiejski
ce73b56adb
Reset reason text when no longer connected
...
Resets the "Child Process Connected" when the child process is no longer
connected.
2018-08-20 20:46:14 +02:00
Hugo Locurcio
dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
...
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.
This closes #21200 .
2018-08-20 20:21:56 +02:00
Juan Linietsky
c1bd768ca2
Merge pull request #18822 from QbieShay/master
...
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky
c7e4527a88
Massive rewrite to AnimationTree. Many APIs changed in order to:
...
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde
75e540ce72
Merge pull request #21148 from akien-mga/placeholder_text_hint
...
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
2018-08-20 17:15:03 +02:00
Hein-Pieter van Braam
e9a35c2c6b
Remove a stray semicolon
...
This was causing a lot of compiler warnings for no good reason.
2018-08-20 15:02:09 +02:00
Rémi Verschelde
661c9ece7c
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
...
Use it to provide a better example for application identifiers
on Android, iOS and macOS, where users thought they *had* to use
this as a magic token.
2018-08-20 13:48:05 +02:00
Rémi Verschelde
e7c5aca040
Port ImportDock and ProjectExport to new property editor (2nd try)
...
Thanks to @ibrahn for helping debug the crashes caused in ProjectExportDialog
by the stray `update_tree()` call, no longer needed in the new inspector.
2018-08-20 10:07:06 +02:00
Rémi Verschelde
15433cffe7
Merge pull request #21195 from AlexHolly/search-help-selection-color
...
changed search help selection color
2018-08-20 09:17:41 +02:00
Rémi Verschelde
e746be7aa9
Merge pull request #21166 from Zylann/find_in_files_improvement
...
Find in Files improvements
2018-08-20 09:13:03 +02:00
Alexander Holland
5ba083ea1b
changed search help selection color
2018-08-19 22:06:20 +02:00
Marc Gilleron
09c55f43cf
Find in Files improvements
...
- Search results are now grouped by file using a Tree control
- You can opt out occurences when using replace mode
- Double-check search results in case files have been tampered with, so occurrences don't get badly replaced
- Fixed replace bug when an occurrence is found twice in one line
2018-08-19 19:24:39 +01:00
Rémi Verschelde
5d09877da8
Merge pull request #21154 from Chaosus/grid_2d_color
...
Added setting to change color of 2d editor grid
2018-08-19 14:17:55 +02:00
Rémi Verschelde
88cb039f39
Merge pull request #21129 from Calinou/fix-3d-grid-origin-flicker
...
Fix the 3D grid flickering when the origin is enabled
2018-08-19 14:15:24 +02:00
Rémi Verschelde
94908f08e5
Merge pull request #20893 from guilhermefelipecgs/invert_depth_map
...
Add option to convert from height map to depth map
2018-08-19 09:57:30 +02:00
Chaosus
66c25d4829
Added possibility to change color of 2d editor grid
2018-08-19 10:04:16 +03:00
Rémi Verschelde
8bc9986db4
Merge pull request #21155 from ordigdug/fix-colorpicker-popup
...
Fixes colorpicker popup immeditately closing when interacting with co…
2018-08-18 22:48:29 +02:00
Poommetee Ketson
f19446622a
Fix args count mismatch in property_changed signal
...
...when editing Dictionary/Array property
2018-08-19 03:35:51 +07:00
DualMatrix
8ad251b331
Fixed text entry is going in reverse
...
Fixed text entry is going in reverse, this undoes what seems to be a mistake in #20400 and fixes #21061
2018-08-18 20:23:54 +02:00
ordigdug
17b439844d
Fixes colorpicker popup immeditately closing when interacting with colorpicker property in a subinspector. Fixes #19559
2018-08-18 11:47:14 -04:00
Rémi Verschelde
b3246f13d1
Revert "Port ImportDock and ProjectExport to new property editor"
2018-08-18 15:24:31 +02:00
Rémi Verschelde
0a3d874efd
Port ImportDock and ProjectExport to new property editor
2018-08-18 15:07:23 +02:00
QbieShay
bb14ef5623
added spring arm node.
2018-08-18 14:34:42 +02:00
Hugo Locurcio
442029b1c0
Fix the 3D grid flickering when the origin is enabled
2018-08-17 23:22:03 +02:00
Guilherme Felipe
72104161db
[Texture Importer] Add option to invert color
2018-08-17 13:55:33 -03:00
Natrim
6ad0f4ebe8
Particles2D: fix editing Visibility Rect from inspector
...
+ renamed generate_aabb to generate_visibility_rect to prevent future confusions
2018-08-17 12:25:48 +02:00
Rémi Verschelde
5542d4a830
Export dialog: Fix error color and link alignment
...
Also fix extraneous "- " line when there are more than 2 messages.
2018-08-17 11:35:05 +02:00
Chaosus
0d16ffbcaa
Fix error icon color
2018-08-17 09:19:44 +03:00
Markar
e46c2dbf74
Fix bucket fill behaviour when selecting multiple tiles
2018-08-17 01:55:21 +02:00
Rémi Verschelde
134d071ca7
Merge pull request #21046 from DualMatrix/recent_custom_type
...
Fixed custom nodes not working with favorites and recently used
2018-08-16 18:28:03 +02:00
Rémi Verschelde
e06825ba4b
Merge pull request #21067 from natrim/Particles2D_AABB
...
Particles2D: set emitting if not set before generating Visibility Rect
2018-08-16 18:27:23 +02:00
DualMatrix
9896b7bbf9
Fixed custom nodes not working properly with favorites and recently used in create node window.
2018-08-16 17:14:52 +02:00
Rémi Verschelde
ba47f15b78
Fix crash assigning script to a Resource
...
We were dereferencing the wrong identifier, which could be NULL.
Fixes #19289 , supersedes and closes #20985 .
2018-08-16 15:40:06 +02:00
Natrim
e11e080fa2
Particles2D: set emitting if not set before generating Visibility Rect
...
and removed not needed running zeroing
in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Chaosus
4fdb8ebdec
Fix debugger icon for warnings
2018-08-16 08:50:42 +03:00
Rémi Verschelde
1c17c2b9b3
Merge pull request #21023 from Paulb23/fix_reopening_text_file
...
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
Rémi Verschelde
bec8c7770c
Merge pull request #21022 from Paulb23/create_text_files
...
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00
Paulb23
6741e7a15d
Added method to create TextFiles
2018-08-15 21:09:34 +01:00
Will Nations
3ed9231117
Fix error spam from loading script class icons
2018-08-15 10:17:28 -05:00
Rémi Verschelde
d006aa0abb
Merge pull request #21021 from DualMatrix/new_node_warning
...
Fixed error spam in create node dialog with custom types.
2018-08-15 16:10:12 +02:00
DualMatrix
8591a1bd80
Fixed error spam in create node dialog with custom types.
...
This should fix #20789
2018-08-15 15:35:14 +02:00
Rémi Verschelde
040c6be426
Merge pull request #20560 from willnationsdev/class_icons
...
Add custom icons to script classes.
2018-08-15 15:16:29 +02:00
Rémi Verschelde
2f20836e52
Merge pull request #19837 from willnationsdev/plugin-utilities
...
Add PluginConfigDialog.
2018-08-15 11:42:51 +02:00
Rémi Verschelde
e92777c1ee
Merge pull request #21007 from guilhermefelipecgs/disable_camera_interpolation
...
Disable camera interpolation when switching scene tabs
2018-08-15 09:03:53 +02:00
Rémi Verschelde
eef39bcb84
Merge pull request #21010 from YeldhamDev/tile_editors_changes
...
Changes to the TileSet and TextureRegion editors
2018-08-15 01:14:53 +02:00
Rémi Verschelde
859f3bf5a9
Merge pull request #20873 from ttencate/master
...
Allow middle-click to close scripts
2018-08-15 01:10:21 +02:00
Paulb23
81bf150cdc
Fix re-opening of TextFiles when its already being edited
2018-08-14 23:44:55 +01:00
Guilherme Felipe
ae788125a0
Disable camera interpolation when switching scene tabs
...
Fix #11764
2018-08-14 19:25:27 -03:00
Rémi Verschelde
1e49b2d720
Merge pull request #20997 from Gamblify/add_files_to_tree_view
...
Add a way to disable the split view in the FileSystem dock
2018-08-14 22:50:51 +02:00
Will Nations
6d9cc032e7
Add custom icons to script classes.
2018-08-14 14:18:05 -05:00
Juan Linietsky
e6a64b1888
Avoid scripts from being opened in same inspector, closes #20111
2018-08-14 15:44:23 -03:00
Juan Linietsky
c72cab1293
Revert "Open visual editor when "open editor" button in the inspector is pressed"
2018-08-14 15:35:21 -03:00
Rémi Verschelde
78a6cd9e09
Merge pull request #20977 from malbach/Particles3D_AABB
...
Particles3D: set emitting if not set before generating AABB
2018-08-14 20:20:28 +02:00
Michael Alexsander Silva Dias
609d97b6d4
Changes to the TileSet and TextureRegion editors
2018-08-14 14:02:47 -03:00
Thomas ten Cate
d867f11820
Allow middle-click to close scripts
...
Fixes #20871
2018-08-14 18:01:06 +02:00
Rémi Verschelde
bbdb6cf16e
Merge pull request #20400 from OliPerraul/oliperraul/20332/fix_defects_with_editor_export_dict
...
Fixed a number of issues related to the Dictionary export property for the editor
2018-08-14 16:15:43 +02:00
Rémi Verschelde
c3a57ddf03
Merge pull request #20484 from willnationsdev/create-favorites
...
Add toggle for favorites in create_root_dialog
2018-08-14 16:12:02 +02:00
Rémi Verschelde
7a2ad1321a
Merge pull request #20621 from YeldhamDev/bottom_panel_min
...
Adjust bottom panel's minimal height for the expand icon
2018-08-14 15:57:19 +02:00
Rémi Verschelde
0322081ec5
Merge pull request #20744 from Zylann/fix_viewport_lock_rotation
...
Initialize default lock rotation in constructor
2018-08-14 15:49:04 +02:00
Rémi Verschelde
22c3fcb20b
Merge pull request #20760 from Calinou/improve-assetlib-download-ux
...
Improve the asset library download UX
2018-08-14 15:48:31 +02:00
Rémi Verschelde
8c38bab6d7
Merge pull request #20831 from Calinou/project-manager-window-size-hidpi
...
Scale the project manager window size with the editor scale
2018-08-14 15:45:48 +02:00
Rémi Verschelde
c8414007ad
Merge pull request #20835 from Calinou/use-standard-button-texts-2
...
Tweak some editor button texts
2018-08-14 15:45:34 +02:00
Rémi Verschelde
892667878a
Merge pull request #20848 from Calinou/improve-3d-manipulator-gizmo
...
Improve the 3D manipulator gizmo
2018-08-14 15:43:52 +02:00
Rémi Verschelde
affc781d72
Merge pull request #20999 from ivodopiviz/project-manager-show
...
Always show "Open in File Manager"
2018-08-14 15:28:18 +02:00
Rémi Verschelde
c50d7f7b84
Merge pull request #20915 from ivodopiviz/rmb-filesystem
...
Show in File Manager Clarification
2018-08-14 14:35:43 +02:00
Ivan Vodopiviz
f6a250adf8
Always show "Open in File Manager"
...
Now this button is always shown in the project manager. Fixes #20799 .
2018-08-14 14:17:55 +02:00
Ivan Vodopiviz
afb3c0c933
Show in File Manager Clarification
...
Changed the context menu 'Show in File Manager' action description to better reflect actual behavior. Fixes #20897
2018-08-14 11:50:04 +02:00
groud
b3f02d0840
Add a way to disable the split view
...
Also add a parameter as the max height before split
2018-08-14 10:17:51 +02:00
Rémi Verschelde
62f3de6c86
Merge pull request #20747 from hpvb/fix-20184
...
Do not call _update_actions when only changing deadzone
2018-08-14 10:00:01 +02:00
Rémi Verschelde
3ebbd09765
Merge pull request #20976 from Chaosus/warning_color
...
Add warning color to output log
2018-08-14 09:36:49 +02:00
Rémi Verschelde
12dd1435d2
Merge pull request #20952 from hpvb/fix-17963
...
When starting up try creating directories recursively
2018-08-14 09:20:14 +02:00
Hein-Pieter van Braam
321ac5ae13
When starting up try creating directories recursively
...
Previously we had a check to see if cache and data directories exist and
another check to try to make them if they do not. However the second
check was never reached if we don't have the directories in question.
Furthermore for cache directories on Linux people who never started a
desktop environment we need to recurisively create the XDG directory as
well as the godot specific directory.
This fixes #17963
2018-08-14 00:10:20 +02:00
Chaosus
94cf2133d5
Add warning color to output log
2018-08-13 21:52:38 +03:00
Rémi Verschelde
641dd15b1d
Merge pull request #20953 from hpvb/fix-20322
...
Don't try to update the visual shader graph if it doesn't exist yet
2018-08-13 20:47:24 +02:00
Rémi Verschelde
4170aa3f39
Merge pull request #20956 from volzhs/update-help
...
Update help doc when changing font size
2018-08-13 20:46:38 +02:00
Rémi Verschelde
7558a77f69
Merge pull request #20963 from akien-mga/remove-tmp-tpz
...
Remove cached .tpz archive after templates download and install
2018-08-13 20:45:20 +02:00
malbach
334922de8f
Particles3D: set emitting if not set before generating AABB
2018-08-13 18:02:06 +02:00
Rémi Verschelde
b68f186c46
Merge pull request #20971 from swarnimarun/new-resource-option
...
Fix for resource save dialog call
2018-08-13 16:32:22 +02:00
Swarnim Arun
48abe73fe2
Fix for resource save dialog call
...
to make sure the resource save opens in the current folder when using right click to do it.
2018-08-13 19:24:35 +05:30
Rémi Verschelde
0d96902a0c
Merge pull request #20731 from YeldhamDev/scr_editor_context_fix
...
Fix wrong context menu when right-clicking script/doc files
2018-08-13 13:35:53 +02:00
Rémi Verschelde
68ab428d4d
Merge pull request #20155 from Tunous/line-edit-clear
...
Add clear button to search fields
2018-08-13 12:54:57 +02:00
Rémi Verschelde
812d0aba42
Remove cached .tpz archive after templates download and install
...
Closes #20640 .
2018-08-13 12:46:02 +02:00
Rémi Verschelde
623529ce2f
Merge pull request #20778 from ibrahn/remove-zero-append-typos
...
removed some surplus null appends that got typoed in 0e29f7974b59e444…
2018-08-13 12:31:46 +02:00
Rémi Verschelde
b69143023f
Merge pull request #20680 from Calinou/text-editor-faster-caret-blink
...
Make the default text editor caret blink speed faster
2018-08-13 12:27:53 +02:00
Rémi Verschelde
8cbd090249
Merge pull request #20670 from Calinou/script-editor-zoom-hidpi
...
Fix zoom display in the script editor on hiDPI displays
2018-08-13 12:22:58 +02:00
Rémi Verschelde
652eb9347c
Merge pull request #20668 from SaracenOne/enum_help_fix
...
Fixes the hyperlinks for enumerators inside classes in the editor help.
2018-08-13 12:22:21 +02:00
Rémi Verschelde
2062d6126d
Merge pull request #20587 from groud/fix_2deditor_scrollable_zone
...
Fixes bugs on the 2D editor scrollable area
2018-08-13 09:03:34 +02:00
volzhs
1574c3a186
Update help doc when changing font size
2018-08-13 09:59:59 +09:00
Hein-Pieter van Braam
2a02f44ad9
Don't try to update the visual shader graph if it doesn't exist yet
...
When setting shader mode on a visual shader that was just created in the
editor we try to _update_graph(). However, the graph does not yet exist
in the visualshadereditor. This gets populated in
VisualShaderEditor::edit() which hasn't been called yet.
This PR simply changes the logic to not try to update the non-existent
graph.
This fixes #20322
2018-08-12 22:33:35 +02:00
Juan Linietsky
15530ce2c5
Fix gizmos submenu
2018-08-12 10:20:32 -03:00
Juan Linietsky
64595f0f6a
Merge pull request #20928 from JFonS/gizmo_enabling
...
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 19:20:08 -03:00
JFonS
ac51da2eb6
Improvements on the gizmo disabling menu and icon selection bugfix
2018-08-11 23:07:00 +02:00
Łukasz Rutkowski
81fb81de9d
Do not use theme to set LineEdit right_icon
2018-08-11 12:04:26 +02:00
Łukasz Rutkowski
e8a435c8cd
Add clear text button to LineEdit
...
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
George Marques
eb48119821
Added system for GDScript warnings
...
- Count and panel per script.
- Ability to disable warnings per script using special comments.
- Ability to disable warnings globally using Project Settings.
- Option to treat enabled warnings as errors.
2018-08-10 16:00:47 -03:00
Juan Linietsky
c76f444c4e
Merge pull request #14704 from poke1024/colorconstants
...
Allow some non-integer built-in constants in gdscript
2018-08-10 12:57:20 -03:00
Juan Linietsky
b293dd363e
Merge pull request #20585 from MarianoGnu/tileset_editor
...
New TileSet Editor
2018-08-09 21:35:57 -03:00
Juan Linietsky
ae67c0b303
too much information, made it less information
2018-08-09 20:50:31 -03:00
MAriano Javier Suligoy
ce87a30e45
New TileSet Editor
2018-08-09 20:38:02 -03:00
Juan Linietsky
432f2f1a67
Information sign for MarianoGNU
2018-08-09 20:31:35 -03:00
Juan Linietsky
fbb5ca4d97
Merge pull request #20584 from JFonS/gizmo_enabling
...
New gizmo structure and gizmo disabling menu
2018-08-09 16:27:59 -03:00
JFonS
59fd18ab1a
New gizmo structure and new gizmo disabling menu
2018-08-09 20:58:39 +02:00
Hugo Locurcio
dcca20027c
Improve the 3D manipulator gizmo
...
Its size now takes into account the editor scale and the viewport's
half resolution setting. It is now also more detailed.
2018-08-09 16:34:18 +02:00
Hugo Locurcio
147f7fbdcf
Tweak some editor button texts
2018-08-09 11:22:11 +02:00
Hugo Locurcio
cd29cdab15
Scale the project manager window size with the editor scale
...
This also makes the project search field slightly larger.
2018-08-09 11:10:48 +02:00
Juan Linietsky
934c641a15
-Add Expression class, used to evaluate expressions
...
-Added expression evaluation to EditorSpinSlider, fixes #20813 , fixes #18932
2018-08-08 17:35:23 -03:00
willnationsdev
1ea37c34ad
Add toggle for favorites in create_root_dialog.
2018-08-08 12:15:42 -05:00
Hugo Locurcio
c541430315
Fix a typo in a TTR() call
2018-08-08 16:30:23 +02:00
Juan Linietsky
51da08856a
Merge pull request #20737 from Calinou/use-standard-button-texts
...
Use a standard "OK" text for confirmation buttons in error dialogs
2018-08-08 09:46:22 -03:00
Juan Linietsky
254eb46de3
Several improvements to inspector.
...
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3)
-Some clean ups with fonts and styles
2018-08-07 12:22:46 -03:00
Ibrahn Sahir
62f0dd9d57
removed some surplus null appends that got typoed in 0e29f7974b
...
A couple of null appends got typoed to append a '0' character instead.
Removed them here since String already takes care of the null terminator for us.
2018-08-07 03:30:14 +01:00
Juan Linietsky
5b70ad9d34
Respect process order for out of order skeleton bones (fixes GLTF2 import issues).
2018-08-06 22:35:09 -03:00
Juan Linietsky
00c573c255
Several fixes to GLTF2 importer
2018-08-06 18:41:37 -03:00
Hugo Locurcio
c1108a4d17
Improve the asset library download UX
...
The progress bar is now correctly set to 0% while initiating
the download and is hidden once the download is completed.
2018-08-06 21:37:59 +02:00
Juan Linietsky
edde52c8de
Added proper import support for 3D and Array textures
2018-08-06 14:56:06 -03:00
Hein-Pieter van Braam
7db66fea39
Do not call _update_actions when only changing deadzone
...
Because changing the deadzone with a click happens during
_propagate_mouse_event the tree is always blocked leading to a crash. We
don't actually need to update actions here anyway.
This fixes #20184
2018-08-05 22:22:16 +02:00
Marc Gilleron
65215a7829
Initialize default lock rotation in constructor
2018-08-05 19:24:11 +01:00
Hugo Locurcio
1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
...
[ci skip]
2018-08-05 16:49:22 +02:00
Michael Alexsander Silva Dias
9194e42175
Fix wrong context menu when right-clicking script/doc files
2018-08-05 04:53:36 -03:00
AndreaCatania
b7e66188df
Implemented IK
2018-08-04 11:25:07 +02:00
Hugo Locurcio
24f39b08c7
Make the default text editor caret blink speed faster
2018-08-02 21:03:31 +02:00
Hugo Locurcio
cbe9597021
Fix zoom display in the script editor on hiDPI displays
2018-08-02 11:41:29 +02:00
Saracen
63c6a2487f
Fixes the hyperlinks for enumerators inside classes in the editor help.
2018-08-02 09:40:36 +01:00
Bernhard Liebl
ba974b8d1e
Allow some non-integer built-in constants in gdscript
2018-07-31 17:56:48 +02:00
Michael Alexsander Silva Dias
22ffaded01
Adjust bottom panel's minimal height for the expand icon
2018-07-30 19:12:31 -03:00
Juan Linietsky
5a5614e8ad
Add support for line continuations (wtf) in obj format, fixes #7974
2018-07-29 21:37:55 -03:00
groud
eb7f4ddcce
Fixes bugs on the 2D editor scrollable area
2018-07-30 01:05:13 +02:00
Juan Linietsky
317dee95de
It is now possible to import images as a separate resource, closes #5738 and likely many others
2018-07-29 16:45:23 -03:00
Juan Linietsky
7b63c6323d
Clear color was not correctly being set, fixes #4939
2018-07-29 15:09:42 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
...
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Hein-Pieter van Braam
5c88bc66e3
Undo an accidental revert.
...
Sorry for the history pollution. I was testing something on this branch
and forgot to reset befor pushing the security update.
This reverts commit 2ef66def46
.
2018-07-29 04:14:57 +02:00
Hein-Pieter van Braam
2ef66def46
Revert "Open visual editor when "open editor" button in the inspector is pressed."
...
This reverts commit 0ae400f523
.
2018-07-28 21:16:20 +02:00
oliperraul
dc2df7a146
Fixed a number of issues related to the Dictionary export property for the editor
...
* Fixed a problem when buttons were deleted on the same frame they were pressed (inside update_property)
* Prevent usage of nul key for a dictionary.
* Provide symetry in the interface for both the array property and dictionary property by first clicking on the field to instantiating the dictionary.
Array (Nil), Array (size 0), Array (size 1)
Dictionary (Nil), Array (size 0), Array (size 1)
* Allow to press enter to confirm a string in line edi.
2018-07-28 14:17:56 -04:00
Rémi Verschelde
578c8fc1e5
Fix layer 2-line tooltips used as name in inspector
...
Fixes #20288 .
2018-07-28 10:27:19 +02:00
Viktor Ferenczi
c5bd0c37ce
Running builder (content generator) functions in subprocesses on Windows
...
- Refactored all builder (make_*) functions into separate Python modules along to the build tree
- Introduced utility function to wrap all invocations on Windows, but does not change it elsewhere
- Introduced stub to use the builders module as a stand alone script and invoke a selected function
There is a problem with file handles related to writing generated content (*.gen.h and *.gen.cpp)
on Windows, which randomly causes a SHARING VIOLATION error to the compiler resulting in flaky
builds. Running all such content generators in a new subprocess instead of directly inside the
build script works around the issue.
Yes, I tried the multiprocessing module. It did not work due to conflict with SCons on cPickle.
Suggested workaround did not fully work either.
Using the run_in_subprocess wrapper on osx and x11 platforms as well for consistency. In case of
running a cross-compilation on Windows they would still be used, but likely it will not happen
in practice. What counts is that the build itself is running on which platform, not the target
platform.
Some generated files are written directly in an SConstruct or SCsub file, before the parallel build starts. They don't need to be written in a subprocess, apparently, so I left them as is.
2018-07-27 21:37:55 +02:00