Commit Graph

36003 Commits

Author SHA1 Message Date
Rémi Verschelde df62d9f4f4
Merge pull request #50186 from reduz/fix-subsurface-scattering
Fix Subsurface Scattering
2021-07-06 10:16:27 +02:00
Bastiaan Olij b3612351a8 Fix indexing of multiple reflection probes 2021-07-06 13:00:33 +10:00
reduz 7f6027927a Fix Subsurface Scattering
* Works again
* Transmittance also works again
* Removed the curve patamter, exp() function is good enough.
2021-07-05 17:17:45 -03:00
Rémi Verschelde 8cd1b59ea7
Merge pull request #50100 from nekomatata/remove-shape-query-result
Remove unused PhysicsShapeQueryResult3D & PhysicsShapeQueryResult2D
2021-07-05 21:08:29 +02:00
PouleyKetchoupp ccac36a6e2 Remove unused PhysicsShapeQueryResult3D & PhysicsShapeQueryResult2D 2021-07-05 11:16:11 -07:00
Hugo Locurcio 58455b18b5
Improve error reporting in WebSocketServer
This should make troubleshooting easier.
2021-07-05 16:35:21 +02:00
Rémi Verschelde 26b86c1074
Merge pull request #50177 from bruvzg/fix_variant_tags
Fix Variant tags parsing.
2021-07-05 15:07:35 +02:00
Rémi Verschelde 67ed879f55
Merge pull request #50104 from GiantBlargg/fix_transparency_sorting
Fix transparency sorting
2021-07-05 15:04:22 +02:00
bruvzg eca4d2fccc Fix Variant tags parsing. 2021-07-05 15:46:41 +03:00
Rémi Verschelde 3fbfb24773
Merge pull request #50070 from timothyqiu/emu-numpad
Add numpad emulation in 3D viewport
2021-07-05 14:18:36 +02:00
Rémi Verschelde f2d8bad2d1
Merge pull request #50109 from madmiraal/android-static-inner-classes
Use static inner classes in Godot Java code
2021-07-05 14:18:26 +02:00
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
Hendrik Brucker 56a8d3f30c Improvements to Label's layout options
- Added options to trim the text in case it overruns
- Added more autowrap modes
- Improved line breaking, which ignores trailing spaces
2021-07-04 16:43:55 +02:00
kobewi 9569729888 Update Tree when modified 2021-07-04 15:28:39 +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
Hendrik Brucker 3a4a2198ed Fix color properties of particle nodes/material 2021-07-04 02:14:31 +02: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
Josh Chandler 879f84d8f8 add viewport.get_camera_2d()
* there is now a more clear distinction between camera_2d and camera_3d functions in the engine code
* simplified camera2d's exported interface - now everything happens directly with the 'current' variable and make_current and clear_current are no longer exposed- there were some situations where calling one instead of set_current would result in incomplete results
* rebased to current godot master
2021-07-03 15:08:17 -04: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