Commit Graph

35729 Commits

Author SHA1 Message Date
Rémi Verschelde
ffab3949e3
Merge pull request #50048 from Calinou/remove-travis-code
Remove unused code related to Travis CI
2021-07-05 14:15:24 +02:00
Rémi Verschelde
d3c9726835
Merge pull request #50046 from Calinou/editor-camera-preview-allow-view-menu
Allow using the 3D editor's View menu while previewing a camera
2021-07-05 14:14:53 +02:00
Rémi Verschelde
be157c86c5
Merge pull request #50136 from miere43/fix-windows-get-system-dir
Replace backslash with forward slash in OS_Windows path methods
2021-07-05 13:37:12 +02:00
Daniel Doran
82bb8f1531 Fix transparency sorting 2021-07-05 03:19:42 -06:00
Rémi Verschelde
6bf26fb74c
Merge pull request #50146 from reduz/fix-tree
Clean up Tree
2021-07-04 20:05:19 +02:00
reduz
f4379cbc82 Clean up Tree
Fixes some problems introduced by #49917

* Tree used minimum size as a stretch ratio, so it forced a minimum size of 1.
* Minimum size redone, stretch ratio moved to a separate setting
* Fitting to contents was enforced, this is more intuitive, but in many situations this is undesired.
* Added a clip content option for situations where fit to contents does not apply.
* Icon would scroll with the item, making it invislbe if the item is too long.
* Made icon always appear to the right (or left if RTL is enabled) of the visible item space.
2021-07-04 13:13:53 -03:00
Hugo Locurcio
8f7e1b53ff
Allow using ORMMaterial3D by using BaseMaterial3D as a resource hint
Previously, only StandardMaterial3D could be defined as an alternative
to ShaderMaterial.

This also reorders the CanvasItemMaterial property hints to follow
alphabetical order (which is enforced by the inspector).
2021-07-04 17:49:36 +02:00
Yuri Roubinsky
4cf2f79892 Added Curve3Texture to Visual Shaders 2021-07-04 12:21:19 +03:00
Rémi Verschelde
5c3055e0fe
Merge pull request #50137 from reduz/fix-boot-splash
Fix Boot Splash
2021-07-04 09:40:36 +02:00
Rémi Verschelde
67c08e27a5
Merge pull request #50138 from Calinou/debug-overdraw-lower-opacity
Decrease opacity of the overdraw debug draw mode
2021-07-04 09:39:36 +02:00
Rémi Verschelde
409d5aa57e
Merge pull request #50145 from YeldhamDev/script_create_diag_cleanup
Minor cleanup of the "New Script" dialog
2021-07-04 09:36:27 +02:00
Rémi Verschelde
8838e3d3d4
Merge pull request #50144 from reduz/fix-ssr
Fix SSR
2021-07-04 09:20:22 +02:00
Rémi Verschelde
088722beaa
Merge pull request #50142 from reduz/fix-sdfgi2
Fix SDFGI
2021-07-04 09:19:17 +02:00
miere43
119a59f872 Replace backslash with forward slash in OS_Windows path methods 2021-07-04 09:04:21 +03:00
Michael Alexsander
7df1bc426e Minor cleanup of the "New Script" dialog 2021-07-04 00:06:46 -03:00
reduz
0e366dc7ac Fix SSR
* Was broken at some point long time ago, this restores it.
2021-07-03 23:32:34 -03:00
reduz
ab3314e955 Fix SDFGI
* Broken by 7513b73902, fixes #49631
2021-07-03 21:24:37 -03:00
Hugo Locurcio
27aa8dc68e
Decrease opacity of the overdraw debug draw mode
This allows distinguishing higher amounts of overlapping objects.
2021-07-04 00:19:14 +02:00
reduz
6e1c5e346a Fix Boot Splash
* Implements the code to show the boot splash on load using RenderingDevice
* Does not work on X11 when maximized, some platform specific hack will be needed there.
2021-07-03 18:09:19 -03:00
Rémi Verschelde
cb4e42155d
Merge pull request #50054 from reduz/curve-texture-3d
Implement Curve3Texture
2021-07-03 20:32:18 +02:00
Rémi Verschelde
d4e081bfe3
Merge pull request #50133 from reduz/fix-render-debug-modes
Fix render debug modes.
2021-07-03 20:18:50 +02:00
Rémi Verschelde
435a853bc9
Merge pull request #50130 from Calinou/assetlib-installer-guess-more-extensions
Add icons for more file types in the editor asset installer
2021-07-03 20:16:53 +02:00
Rémi Verschelde
af1543ded5
Merge pull request #50128 from Faless/mbedtls/hmac_free
[Crypto] Delete mbedtls ctx in deconstructor.
2021-07-03 20:15:30 +02:00
reduz
fe17a6c907 Fix render debug modes.
* Ovedraw debug works again
* Lighting debug works again
2021-07-03 14:50:36 -03:00
Hugo Locurcio
9698486605
Add icons for more file types in the editor asset installer 2021-07-03 17:44:56 +02:00
Rémi Verschelde
e849dc1791
Merge pull request #50080 from reduz/fix-old-mesh-compatibility
Add compatibility with old mesh formats
2021-07-03 17:13:34 +02:00
reduz
d6893cb2e8 Implement Curve3Texture
* This was required by users in some scenarios, such as animating individual axes over time with a single texture.
* Examples: Shaders, Particles, etc.
* CurveTexture now defaults to RGB, can be changed to Red if needed, this allows to freely exchange them.
2021-07-03 12:11:01 -03:00
Rémi Verschelde
4cb6986cdb
Merge pull request #50096 from reduz/fix-render-info
Fix Render Info
2021-07-03 17:04:07 +02:00
Fabio Alessandrelli
a28d25c441 [Crypto] Delete mbedtls ctx in deconstructor.
Would cause memory leak when the context was `start`ed but not
`finish`ed.
2021-07-03 16:12:55 +02:00
reduz
6c55d2aad2 Fix Render Info
* Fixed and redone the process to obtain render information from a viewport
* Some stats, such as material changes are too difficult to guess on Vulkan, were removed.
* Separated visible and shadow stats, which causes confusion.
* Texture, buffer and general video memory can be queried now.
* Fixed the performance metrics too.
2021-07-03 10:15:04 -03:00
Rémi Verschelde
a525e77740
Merge pull request #49468 from menip/FixGetScreenPosition
Fix Control::get_screen_position() not considering viewport scale
2021-07-03 14:29:20 +02:00
Rémi Verschelde
ecf9ea740e
Merge pull request #50099 from KoBeWi/'
Support single quote when dropping files to script
2021-07-03 13:42:59 +02:00
kobewi
5e593dda9b Support single quote when dropping files to script 2021-07-03 13:03:20 +02:00
Rémi Verschelde
c1320aad25
Merge pull request #50119 from BastiaanOlij/fix_override_scene_render
Properly override virtual functions in render_scene_render_rd
2021-07-03 12:57:23 +02:00
Bastiaan Olij
e86aeb85ce Properly override virtual functions in render_scene_render_rd and subclasses 2021-07-03 20:32:40 +10:00
Rémi Verschelde
b9b128cb1d
Merge pull request #50102 from nekomatata/expose-body-test-motion-3d
Expose body_test_motion in 3D physics server
2021-07-03 09:29:46 +02:00
Marcel Admiraal
23e152040b Use static inner classes in Godot Java code 2021-07-03 05:50:04 +01:00
Marcel Admiraal
a7825ca12a Replace single method anonymous classes with lambdas in Godot Java code 2021-07-03 05:13:31 +01:00
PouleyKetchoupp
62e577267f Expose body_test_motion in 3D physics server
Results are exposed through PhysicsTestMotionResult3D, the same way it's
done for 2D.

Also cleaned a few things in the 2D version.
2021-07-02 18:03:44 -07:00
Rémi Verschelde
a8fb450b3c
Merge pull request #50092 from YeldhamDev/window_get_contents_expose
Expose `Window.get_contents_minimum_size()` to scripts
2021-07-02 22:12:11 +02:00
Rémi Verschelde
676027fc3d
Merge pull request #50089 from YeldhamDev/splitcontainer_minimal_fix
Make invisible `SplitContainer` nodes correctly calculate the minimal size of its children
2021-07-02 22:11:30 +02:00
Rémi Verschelde
c77e0da1d7
Merge pull request #50090 from Calinou/remove-leftover-optimized-directional-shadow-depth-range
Remove leftovers from the DirectionalLight3D Optimized shadow depth range
2021-07-02 22:11:17 +02:00
Rémi Verschelde
f2229bb1ea
Merge pull request #50085 from madmiraal/android-replace-stringbuffer
Use StringBuilder instead StringBuffer in Godot Java code
2021-07-02 22:09:50 +02:00
Rémi Verschelde
aee59c3547
Merge pull request #50083 from madmiraal/android-fix-raw-use
Fix raw use of parameterized Class
2021-07-02 22:09:39 +02:00
Rémi Verschelde
c2df3e6329
Merge pull request #50087 from madmiraal/android-remove-redundant-explicit-types
Remove redundant explicit types in Godot Java code
2021-07-02 22:08:55 +02:00
Michael Alexsander
a829e88ddc Expose Window.get_contents_minimum_size() to scripts 2021-07-02 15:35:56 -03:00
Hugo Locurcio
5370f4876e
Remove leftovers from the DirectionalLight3D Optimized shadow depth range
The Optimized shadow depth range was removed in late 2020 in favor
of the Stable shadow depth range, but it still had a (broken) property
that allowed to enable it.
2021-07-02 20:32:43 +02:00
Michael Alexsander
e4d56e4c62 Make invisible SplitContainer nodes correctly calculate the minimal size of its children 2021-07-02 14:39:50 -03:00
Marcel Admiraal
3f95bbed73 Remove redundant explicit types in Godot Java code 2021-07-02 17:45:30 +01:00
Rémi Verschelde
ee115d7b2d
Merge pull request #50081 from Calinou/doc-randomnumbergenerator
Improve and clarify documentation for RandomNumberGenerator
2021-07-02 18:32:03 +02:00