Commit graph

5312 commits

Author SHA1 Message Date
Hanif Bin Ariffin
79e83b7c92 Fixed warnings text using custom font and color setting.
Fixes #31917
Added missing font and color override.
2019-10-04 07:20:18 -04:00
Yuri Roubinsky
b6f8726c66
Merge pull request #32543 from Chaosus/vs_fix_input
Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)
2019-10-04 13:57:01 +03:00
Rémi Verschelde
3b2033b941
Merge pull request #32540 from codecustard/fix_show_bounds_for_scenes
Fixes scene instances not displaying bounds when selected
2019-10-04 12:19:33 +02:00
Yuri Roubinsky
bc67a18fe0 Fix VisualShaderInput if compiled with MinGW 2019-10-04 10:52:07 +03:00
Yuri Roubinsky
0a34fa701f Fix VisualShaderInput (if compiled with MinGW) (correct, tested version) 2019-10-04 10:43:59 +03:00
Emmanuel Barroga
10d0bc920b Fixes scene instances not displaying bounds when selected
When selecting instances of a scene file, it doesn't display the bounding box which makes it difficult to visually see that it is selected.
2019-10-03 22:46:29 -07:00
Relintai
c39490cf79 Fix potential crash in AnimationPlayer. 2019-10-03 21:07:49 +02:00
Hanif Bin Ariffin
ccfc88ffba Applied the same kind of ordering to methods description
Previously, the ordering did not match.
This could be improved by doing the filtering behorehand, then we simply access them.
This will make sure that future changes to one is reflected to the other (because we are only doing it once)
2019-10-03 12:31:41 -04:00
Yuri Roubinsky
b11d15d5c3 Makes Texture and TextureUniform in visual shaders to use UV by default 2019-10-03 16:59:49 +03:00
Rémi Verschelde
5db77dceb8
Merge pull request #32491 from lupoDharkael/inspector-frame
Inspector: select self object after selecting a stack frame
2019-10-03 08:38:29 +02:00
Rémi Verschelde
059a53ee1d
Merge pull request #32504 from Relintai/fix_empty_animatin_player_crash
Fix crash in #32473. (Automatically seek timeline in selected animation)
2019-10-03 07:57:10 +02:00
Relintai
c6e577fed9 Fix crash in #32473. (Automatically seek timeline in selected animation) 2019-10-03 00:00:01 +02:00
Yuri Roubinsky
1bafadb629 Drag&drop custom nodes from filesystem to visual shader
+ better loading of custom nodes
2019-10-02 23:42:14 +03:00
Rémi Verschelde
893ebd3080
Merge pull request #32498 from godotengine/revert-32434-script-class-no-plugins
Revert "Fix plugin script classes defined even if inactive."
2019-10-02 21:04:30 +02:00
Rémi Verschelde
96b46a5c00
Merge pull request #32484 from Chaosus/shader_fix
Removed unnecessary shader error log messages
2019-10-02 21:03:50 +02:00
Rémi Verschelde
c287f220ce
Revert "Fix plugin script classes defined even if inactive." 2019-10-02 19:17:59 +02:00
lupoDharkael
cc85be3aae Inspector: select self object after selecting a stack frame 2019-10-02 12:38:31 +02:00
Rémi Verschelde
a737bceb4e
Merge pull request #32473 from KoBeWi/seaking_ani
Automatically seek timeline in selected animation
2019-10-02 11:54:19 +02:00
Yuri Roubinsky
1472fca951 Removed unnecessary shader error log messages 2019-10-02 12:37:22 +03:00
Alexander Holland
35452e1ab4 Update ScriptEditor and ShaderEditor Tooltip
fix #32417
2019-10-02 11:21:59 +02:00
Rémi Verschelde
969e5ee612
Merge pull request #32468 from YeldhamDev/code_replace_hide_fix
Fix text search bar not correctly switching from replacing to just searching
2019-10-01 19:57:51 +02:00
Tomasz Chabora
d482bd1ef0 Automatically seek timeline in selected animation 2019-10-01 18:38:03 +02:00
Michael Alexsander
be865871f4 Fix text search bar not correctly switching from replacing to just searching 2019-10-01 10:06:03 -03:00
Chaosus
f14bcd8cc5 Added sampler port type for visual shaders 2019-10-01 13:20:08 +03:00
lupoDharkael
4753c51de6 Project Manager: Update template dialog position after window resize 2019-10-01 12:10:58 +02:00
Rémi Verschelde
a6eeb1a38e
Merge pull request #32442 from Chaosus/vs_textures_drop
Drag&drop textures from filesystem to visual shader
2019-10-01 08:29:08 +02:00
Chaosus
71d6990e1e Added drag&drop possibility for textures from filesystem to visual shader 2019-10-01 09:00:55 +03:00
Michael Alexsander Silva Dias
4689ece741 Minor visual adjustment in drag preview of the scene and file tree editors 2019-09-30 13:36:49 -03:00
Rémi Verschelde
680bcb1ef4
Merge pull request #32434 from willnationsdev/script-class-no-plugins
Fix plugin script classes defined even if inactive.
2019-09-30 11:03:29 +02:00
Rémi Verschelde
ddc42be1db
Merge pull request #32431 from lupoDharkael/checks
Add checks after ResourceLoader::load()
2019-09-30 07:55:47 +02:00
willnationsdev
168f6cd975 Fix plugin script classes defined even if inactive. 2019-09-30 00:40:27 -05:00
Rémi Verschelde
ae6c390eb2
Merge pull request #32412 from bojidar-bg/27222-make-scene-root-destructive
Fix "Make Scene Root" deleting previous root whenever focusing another scene
2019-09-29 21:37:28 +02:00
Rémi Verschelde
cd63cc7df1
Merge pull request #32402 from YeldhamDev/fix_vs_add_function
Fix VS editor's "Create Function" dialog
2019-09-29 21:36:57 +02:00
lupoDharkael
0a0f596dfb Add checks after ResourceLoader::load() 2019-09-29 14:17:42 +02:00
Rémi Verschelde
3b532aa7eb
Merge pull request #32410 from bojidar-bg/5739-highlight-singletons
Highlight singletons and class_names in GDScript
2019-09-29 12:04:45 +02:00
Michael Alexsander Silva Dias
13e752190f Fix VS editor's "Create Function" dialog 2019-09-28 11:57:13 -03:00
Bojidar Marinov
cfc779ccf0
Fix "Make Scene Root" deleting previous root whenever focusing another scene
Hopefully fixes #24484 and fixes #27222.
2019-09-28 15:29:09 +03:00
Bojidar Marinov
db89fef8fa
Highlight singletons and class_names in GDScript
Also, implement a small QoL change for auto-typed variables.
Closes #5739
2019-09-28 13:13:18 +03:00
Bojidar Marinov
faf0a49cbf
Fix crash in ~EditorSpatialGizmoPlugin when generating documentation data 2019-09-28 12:04:50 +03:00
Rémi Verschelde
3481c47e71
Merge pull request #32407 from homer666/animation-import-storage-fix
Restore import animation "storage" checkbox behaviour
2019-09-28 07:50:31 +02:00
homer666
9d98ed1d86 Restore import animation storage checkbox behavior 2019-09-28 12:33:00 +10:00
Michael Alexsander Silva Dias
4e9df13a40 Fix crash when moving an action into itself in the Input Map editor 2019-09-27 22:12:35 -03:00
Rémi Verschelde
5966c6b646
Merge pull request #32379 from Calinou/colorpicker-add-overbright-indicator
Draw an indicator to denote overbright colors in ColorPicker
2019-09-27 22:03:22 +02:00
Rémi Verschelde
8868fd2d28
Merge pull request #31971 from aole/placeholder-confirmation-dialog-for-editable-children
Placeholder confirmation dialog for editable children
2019-09-27 22:02:15 +02:00
Bhupendra Aole
cb528e31d9 Placeholder dialog for editable children
Fire placeholder confirmation dialog box when editable children option is already checked.
Fixes #28863
2019-09-27 13:49:55 -04:00
Hugo Locurcio
70c4e96623
Draw an indicator to denote overbright colors in ColorPicker
This makes it faster to distinguish overbright colors from
"standard" colors.
2019-09-27 15:28:42 +02:00
Rémi Verschelde
daf4a9f9be
Merge pull request #32381 from YeldhamDev/script_dialog_cleanup
Cleanup the "Attach Node Script" dialog
2019-09-27 08:17:07 +02:00
Michael Alexsander Silva Dias
3333d447c0 Cleanup the "Attach Node Script" dialog 2019-09-27 00:49:20 -03:00
dankan1890
6a7f300662 Create new folder from save dialog now update filesystem dock.
Fix #32167.
2019-09-26 20:54:34 +02:00
Rémi Verschelde
02ca4c49fa i18n: Sync translation template with current source 2019-09-26 14:05:21 +02:00
Rémi Verschelde
89094fc76a i18n: Sync translations with Weblate 2019-09-26 13:59:57 +02:00
Rémi Verschelde
944154272f
Merge pull request #32360 from dankan1890/tilemap_icons
Changed the appearance of the rotation icons in the Tilemap.
2019-09-26 12:34:33 +02:00
dankan1890
2bdde74d45 Changed the appearance of the rotation icons in the Tilemap.
Make them more intuitive.
2019-09-26 10:59:48 +02:00
Rémi Verschelde
452741f333
Merge pull request #31969 from NNesh/fix/open-proj-data-folder
Fixed unable to open project data folder
2019-09-26 10:11:19 +02:00
Rémi Verschelde
c2a550565d
Merge pull request #32050 from codecustard/fix_remotetree_not_showing_type
Fix remote-tree not displaying the node type
2019-09-26 09:28:02 +02:00
Rémi Verschelde
7b433107f5
Merge pull request #32009 from Xrayez/fs-editor-icons
Display editor icons for filesystem dock popup menu options
2019-09-26 08:43:17 +02:00
Rémi Verschelde
37cf49ae0e
Merge pull request #32017 from Calinou/editor-spin-slider-improve-ctrl-snapping
Improve Ctrl snapping in EditorSpinSlider
2019-09-26 08:42:53 +02:00
Ruslan Mullayanov
4d5298ed7d Fixed unable to open project data folder
Removed `default` case to prevent hiding such errors in the future.

Fixes #31939.
2019-09-26 08:17:07 +02:00
Emmanuel Barroga
ecba42e287 Fix remote-tree not displaying the node type
Fixes the remote-tree not displaying the node's type like the local-tree does.
2019-09-26 08:10:18 +02:00
Rémi Verschelde
7ce5233d24
Merge pull request #32337 from CorattiS86/fixing_#32262
Fixed Show in file system should clear current search
2019-09-26 07:56:01 +02:00
Rémi Verschelde
e4d56001e6
Merge pull request #32343 from jeffres/master
Fix import hints being ignored by glTF importer
2019-09-26 07:55:18 +02:00
Michael Alexsander Silva Dias
18d8921af3 Format arguments in connections dialog in GDScript style 2019-09-25 22:08:58 -03:00
Rémi Verschelde
edf9055b7f
Merge pull request #32325 from SaracenOne/add_mesh_bindings_fix
SpatialEditorGizmo add_mesh bindings fix
2019-09-25 20:46:58 +02:00
Rémi Verschelde
a9e15a5c88
Merge pull request #32350 from nekomatata/fix-bezier-curve-deselection-error
Fixed missing argument for clear_selection signal in Bezier Curve editor
2019-09-25 20:46:18 +02:00
Rémi Verschelde
b88291311b
Merge pull request #32345 from nekomatata/fix-curve-delete-point-error
Reset hovered point in Curve when deleted to avoid errors on draw
2019-09-25 20:46:04 +02:00
PouleyKetchoupp
bdb9149d7e Fixed missing argument for clear_selection signal in Bezier Curve editor
Also removed unused clear_selection signal in Animation Track editor (never emitted)

Fixes #32348
2019-09-25 19:35:21 +02:00
PouleyKetchoupp
fb9ff00640 Reset hovered point in Curve when deleted to avoid errors on draw
Fixes #32344
2019-09-25 18:58:09 +02:00
Rémi Verschelde
e426169e4c
Merge pull request #32341 from KoBeWi/be_gone
Clean snapping lines after resize
2019-09-25 18:45:13 +02:00
Rémi Verschelde
c5b2ce8b06
Merge pull request #32340 from YeldhamDev/minitab_icon_substitution
Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it
2019-09-25 18:43:33 +02:00
Michael Alexsander Silva Dias
5ed5465023 Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it 2019-09-25 12:53:42 -03:00
gladmin
7f3e37fead Fix import hints being ignored by glTF importer
This fixes a regression introduced in commit 72d2468
due to hyphens being removed from nodes names.
2019-09-25 16:58:05 +02:00
Tomasz Chabora
37bf283195 Clean snapping lines after resize 2019-09-25 16:56:44 +02:00
Stefano Coratti
d7b2ecacff Fixed Show in file system should clear current search 2019-09-25 16:07:46 +02:00
Rémi Verschelde
c52287208d
Merge pull request #32333 from akien-mga/debugger-error-cond
Show C++ error condition in script editor debugger
2019-09-25 14:13:11 +02:00
Rémi Verschelde
076dc9803a
Merge pull request #32119 from Calinou/unify-axis-colors
Use the same axis colors consistently in the 2D and 3D editors
2019-09-25 13:03:47 +02:00
Rémi Verschelde
dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
Rémi Verschelde
4112d6c1b4 Show C++ error condition in script editor debugger
This was removed by @RyanStein in #21884 in the case where an error
message is provided, but this is actually useful information to have
even when there is a custom error message.

This PR makes it so that the "C++ Error" is shown whenever there is
a custom error message provided.

Also adds method name to the error item title, and re-adds the most
relevant info in the tooltip for quick error checks without expanding.

Renames C Error/Source to C++ Error/Source, since that's what it is.
And fix untranslatable entry due to misuse of TTR().

And some more cleanup for readability.

Cf. https://github.com/godotengine/godot/issues/32276#issuecomment-534119914
2019-09-25 10:49:44 +02:00
Saracen
fcef45006e SpatialEditorGizmo add_mesh bindings fix 2019-09-25 09:30:25 +01:00
qarmin
17732fe698 Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
Rémi Verschelde
de03ee94cc
Merge pull request #32296 from BenjaminRiley/save-original-scene-after-save-as-branch
'Save Branch as Scene' also saves original scene
2019-09-25 10:07:39 +02:00
Benjamin Riley
2115bced93 'Save Branch as Scene' adds to undo history
When saving a branch as a scene, can now undo replacing the original branch with the new branch scene. 'Save Branch as Scene' previously would not mark the original scene as changed, and therefore no prompt would appear if the scene was closed immediately after saving the branch.

The new branch scene is not deleted when undo-ing.
2019-09-25 17:08:08 +10:00
Rémi Verschelde
8c0595b722
Merge pull request #32306 from hbina/unused_variable
Fixed incorrect usage of variables in querying values.
2019-09-25 08:49:31 +02:00
Rémi Verschelde
5a4e1045a6
Merge pull request #32319 from Calinou/optimize-svgs
Optimize editor icon SVGs using svgcleaner
2019-09-25 08:46:04 +02:00
Rémi Verschelde
0437044b9c
Merge pull request #32318 from Calinou/improve-audiostreamplayer3d-gizmo
Improve the AudioStreamPlayer3D gizmo
2019-09-25 08:43:56 +02:00
Marios Staikopoulos
4631b0ca62 glTF: Fixed mistake with root node calculation in skin_verify
Was not actually grabbing the computed roots for comparison, but instead
was grabbing the disjoint_set representatives.
2019-09-24 21:49:25 -07:00
Hugo Locurcio
790391bc93
Optimize editor icon SVGs using svgcleaner
This makes editor binaries about 230 KB smaller.

The command used was:

    parallel svgcleaner --multipass {} {} ::: editor/icons/*.svg
2019-09-24 22:49:30 +02:00
Hanif Bin Ariffin
d1e069ea23 Fixed incorrect use of variables
The previous committer mistakenly used the wrong variable to query some values.
This commit simply changes it so that it queries the right Dict.
2019-09-24 16:45:34 -04:00
Hugo Locurcio
0feff49375
Improve the AudioStreamPlayer3D gizmo
This adds more lines to the emission angle cone to give a better
feel of depth in the 3D world.
2019-09-24 22:41:02 +02:00
Rémi Verschelde
e95e847c01
Merge pull request #32307 from neikeq/mesege
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
2019-09-24 15:44:37 +02:00
Ignacio Etcheverry
97143e60c1 Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
The type of the parameter 'skeleton' was changed from 'RID' to 'SkinReference', yet the default value remained 'RID()'.
2019-09-24 15:12:27 +02:00
Rémi Verschelde
a7ac8ec876 doc: Fix parsing of self-closing XML tags
Follow-up to #31925, `<member />` tags just before `</members>` would cause
a parsing issue, and we'd never notice that we're no longer parsing members.

Also added space before closing `/>`.
2019-09-24 13:34:05 +02:00
Rémi Verschelde
2f52d73c21
Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs
Add overriden properties to the documentation
2019-09-24 11:53:43 +02:00
Rémi Verschelde
4f294b958f doc: Sync classref with current source
Fix a few missing bindings or unspecified argument names and default values.
2019-09-24 11:52:06 +02:00
Rémi Verschelde
cf540f853d
Merge pull request #31974 from YeldhamDev/tilegrid_map_fixes
Small fixes for the Tile/GridMap editors
2019-09-24 11:06:34 +02:00
Rémi Verschelde
4a7889578c
Merge pull request #31978 from YeldhamDev/inspector_dock_small_improvements
Small improvements to the inspector dock
2019-09-24 11:05:20 +02:00
Rémi Verschelde
a7b95d1934
Merge pull request #32267 from YeldhamDev/fix_tab_icons
Fix various problems with tab-related icons
2019-09-24 10:45:40 +02:00
Rémi Verschelde
73c7b9a69e
Merge pull request #32283 from Calinou/project-manager-no-open-ctrl-double-click
Don't open a project in the list if Ctrl is held while double-clicking
2019-09-24 10:38:58 +02:00
Rémi Verschelde
5d4e9bdd9e
Merge pull request #32288 from CorattiS86/fixing_#32263
Fix Hide Console Window stores opposite value
2019-09-24 10:28:17 +02:00
Rémi Verschelde
fd3c825034
Merge pull request #31970 from HaSa1002/i18n
Fixed out of range crash on remapping files for translation
2019-09-24 10:07:20 +02:00
Rémi Verschelde
db47221b8c
Merge pull request #32225 from Calinou/improve-editor-help-display
Improve the editor help display
2019-09-24 09:52:21 +02:00