Commit graph

23494 commits

Author SHA1 Message Date
Rémi Verschelde 318ac6ee13
Merge pull request #31142 from mitchcurtis/assert-message
GDScript: add an optional message parameter to assert()
2019-09-19 19:56:05 +02:00
Rémi Verschelde 996e30ee94
Merge pull request #32019 from RevoluPowered/feature/implement-pbr-materials
FBX Importer - Maya material PBR path is read properly now
2019-09-19 19:02:27 +02:00
Rémi Verschelde b3ae7c3da3
Merge pull request #31997 from RevoluPowered/feature/fix-blend-shape-disappearing
Fixed blend shapes disappearing in FBX Importer
2019-09-19 18:38:06 +02:00
Michael Alexsander Silva Dias 8c3bb69e72 Fix incorrect typing when creating methods via the connection dialog 2019-09-19 13:22:05 -03:00
RevoluPowered 269ba00fd3 Implemented maya stingray support 2019-09-19 16:45:33 +01:00
RevoluPowered efd6f6dbad Implemented basic texture mapping for PBR material definitions
This reads materials properly from Maya and expands on existing functionality to make this work properly.

aiTextureType_SHININESS no longer used as not appropriate for PBR texture as it is legacy.

This fix will be also present in assimp soon.
2019-09-19 16:45:33 +01:00
RevoluPowered ff8864e020 Fixed blend shapes disappearing
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2019-09-19 16:34:14 +01:00
Michael Alexsander Silva Dias 53c9eaf933 Fix editor dimming being disabled when a dialog is closed even when others are open 2019-09-19 00:46:10 -03:00
Yuri Roubinsky a1fcac6400
Merge pull request #32191 from Chaosus/fix_typos
Some formatting fixes in visual_shader_nodes.cpp
2019-09-18 19:21:59 +03:00
Yuri Rou 6dcd4379ca Some formatting fixes in visual_shader_nodes.cpp 2019-09-18 19:04:40 +03:00
Tomasz Chabora d630472b98 Fix autocompletion undo 2019-09-18 16:26:33 +02:00
Michael Alexsander Silva Dias 706f3d1aca
Merge pull request #32096 from Eoin-ONeill-Yokai/bug32089
Fix RichTextLabel Sanitization Runtime Error
2019-09-17 20:56:51 -03:00
Hugo Locurcio 95f6f81dc2
Display the current zoom percentage in the 2D editor
This makes it possible for the user to know precisely the current
zoom level. The zoom percentage can be clicked to reset it to 100%
(similar to Firefox).
2019-09-17 20:36:10 +02:00
Tomasz Chabora cf2ae78956 Fix region editor for NinePatchRect 2019-09-17 19:26:20 +02:00
Fabio Alessandrelli 1399262ffa
Merge pull request #32176 from Faless/js/fix_export_js
Fix HTML5 export after #30864
2019-09-17 15:22:56 +02:00
Yuri Roubinsky 2861fd9552
Implement shader array support for varyings (#30925)
Implement shader array support for varyings
2019-09-17 09:01:45 +03:00
Hugo Locurcio bfa246cda8
Improve the 3D light gizmos
OmniLight and SpotLight gizmos were tweaked to better represent
their depth in the 3D world.

The default light gizmo color was changed to match the gizmo
icon color closely.
2019-09-17 06:01:21 +02:00
Ignacio Roldán Etcheverry 3e782c78ae
Merge pull request #32161 from Chaosus/fix_rect
[Mono] Corrected rectangle intersection
2019-09-16 18:11:19 +02:00
Chaosus89 46bb523db7 [Mono] Corrected rectangle intersection 2019-09-16 09:49:04 +03:00
Hugo Locurcio 46d71ee2a1
Improve the Image.get_pixel() and Image.get_pixelv() documentation 2019-09-15 21:57:35 +02:00
Hugo Locurcio 40dd544994
Mention more caveats for custom mouse cursors in the documentation
See #32147 and #32148.
2019-09-15 21:14:40 +02:00
Michael Alexsander Silva Dias c0acaab1aa Fix keying integer and float values from inspector not being able to use bezier curves 2019-09-15 08:59:43 -03:00
Michael Alexsander Silva Dias e5d9c7dcb0 Fix some errors while reparenting nodes in the Scene dock 2019-09-14 21:07:55 -03:00
Hugo Locurcio 6df03fe61f
Display an error message if no version control systems are available
This removes the need for a dedicated placeholder entry.

This closes #32135.
2019-09-14 22:14:00 +02:00
Twarit 50da1b7d15 Add correct class selection in Select VCS menu 2019-09-14 21:06:52 +05:30
Chaosus 1333ea2a2d Implement shader array support for varyings 2019-09-14 18:23:25 +03:00
Fabio Alessandrelli e7760deb74 Fix HTML5 export after #30864 2019-09-14 16:47:55 +02:00
Michael Alexsander Silva Dias 0dd4a2790f Document AnimationPlayer's 'get_queue()' and 'caches_cleared' 2019-09-14 09:04:47 -03:00
Michael Alexsander Silva Dias 5c2582ad34 Fix errors in the animation editor when removing tracks via undo/redo 2019-09-13 22:16:53 -03:00
skyace65 96d6724b5d Remove outdated information from skeleton class reference 2019-09-13 16:04:01 -04:00
qarmin ac2f68760d Fix int overflow in EditorResourcePreview::_preview_ready 2019-09-13 15:34:16 +02:00
Tomasz Chabora 7d3374eecf Mention that AnimatedTexture doesn't support atlases 2019-09-13 14:04:57 +02:00
Tomasz Chabora 22ad5ce3cd Mention that look_at() expects global coordinates 2019-09-13 13:34:11 +02:00
Tomasz Chabora 7e8dd867da Mention constructor arguments in duplicate() doc 2019-09-13 13:05:13 +02:00
Hugo Locurcio 9e5f1d6641
Add an "hover" style to items in the project manager
This makes the project manager feel more responsive to user input.
2019-09-13 02:34:05 +02:00
Andrii Doroshenko (Xrayez) 1d488e45fc Fix ambiguous method description regarding body_test_motion in 2D 2019-09-12 15:10:41 +03:00
Eoin O'Neill ebc6fb9869 Fix Sanitization Bug
From issue #32089 -- I messed up the property hints by putting them
in the wrong location. Should be working as intended now.
2019-09-11 16:39:24 -07:00
Tomasz Chabora 6290616c0a Properly remove GridMap node from editor on undo 2019-09-11 23:56:11 +02:00
Hugo Locurcio fd1b5cc39f
Improve the node deletion confirmation message
- Add "the root node" in the beginning if the selected node
  is the current scene's root
- Add "and its children" at the end of the message if the node
  has at least one child and is not an instanced scene
2019-09-11 23:29:34 +02:00
Mitch Curtis aa8e3e7b0f GDScript: add an optional message parameter to assert()
Before this patch, assert() only took the condition to assert on:

    assert(item_data)

Now, it can optionally take a string that will be printed upon failure:

    assert(item_data, item_name + " has no item data in ItemDatabase")

This makes it easier to immediately see what the issue is by being
able to write informative failure messages.

Thanks to @wiped1 for sharing their patch, upon which this is based.

Closes #17082
2019-09-11 15:37:11 +02:00
thomas.herzog 4553935f27 [X11] set PID as window attribute
This allows other programs to find out the PID of a Godot instance just
by the X11 window ID.
2019-09-11 10:13:48 +02:00
Saracen cf00f35a8e Allow for constant deceleration to be detected inherited scripts above the immediate parent. 2019-09-11 06:19:20 +01:00
lupoDharkael d9b34d2a3d Fix right click crash in Locales Filter 2019-09-10 21:25:42 +02:00
Rémi Verschelde 24e1039eb6
Merge pull request #32045 from neikeq/fix-cannot-create-mono-log-file
Mono: Fix unable to create log file due to str_format bug
2019-09-08 22:31:52 +02:00
Ignacio Etcheverry 3dcd7e54f4 Mono: Fix unable to create log file due to str_format bug 2019-09-08 19:40:17 +02:00
Fabio Alessandrelli e9f49a6d5a
Merge pull request #31993 from Calinou/improve-string-humanize-size
Improve the `String::humanize_size()` method
2019-09-07 23:49:08 +02:00
Ignacio Roldán Etcheverry da2af72d73
Merge pull request #32022 from neikeq/fix-mono-export-windows-backslash
Mono: Fix PCK assembly paths when exporting from Windows
2019-09-07 21:39:27 +02:00
Ignacio Roldán Etcheverry 7ea5c907a7
Merge pull request #32023 from neikeq/issue-31854
Fix missing method for internal_MonoWindowsInstallRoot
2019-09-07 20:26:28 +02:00
PouleyKetchoupp d53ddc5baa Fixed resource loading when editing built-in script from resource
Fixes #27380
2019-09-07 16:54:01 +02:00
Emmanuel Barroga b678d68224 Add Ability to Enable/Disable Shortcuts for LineEdit/TextEdit
This PR adds the ability to enable/disable shortcut keys and selection for LineEdit/TextEdit. It also updates the context menu when you disable/enable the shortcut keys or selection.
2019-09-07 06:06:36 -07:00