Tomasz Chabora
af5e0fff66
Remove ERR_EXPLAIN from scene/* code
2019-08-09 13:54:52 +02:00
Rémi Verschelde
d2a67c9c1f
Merge pull request #30714 from Calinou/invert-default-fog-height
...
Invert and adjust the default fog height values
2019-08-08 17:20:32 +02:00
Hugo Locurcio
d1a35b5a97
Invert and adjust the default fog height values
...
This makes height fog appear at the bottom of the scene
(instead of the top), which is generally the expected result.
This also tweaks the fog height setting hint to be more flexible.
This closes #30709 .
2019-08-07 18:21:44 +02:00
Rémi Verschelde
ca05613aed
Merge pull request #31050 from sparkart/fix_tileset_shape_offset
...
Fix Wrong Shape Offsets in Tileset
2019-08-07 14:27:29 +02:00
Rémi Verschelde
ba541bceca
Merge pull request #31077 from qarmin/coverity_bugs
...
Change some code proposed by Coverity and Cppcheck
2019-08-07 13:49:33 +02:00
qarmin
e0b5b21863
Add some code changes/fixes proposed by Coverity and Clang Tidy
2019-08-07 12:54:30 +02:00
Yuri Roubinski
80080f2655
Allow comma prefix to visual shader's expression parser
2019-08-07 13:50:41 +03:00
Rémi Verschelde
765839b2ad
Merge pull request #31161 from merumelu/default-theme-checkbutton
...
Default theme: make toggle_off_disabled.png the same dimension as other CheckButton images
2019-08-07 08:28:41 +02:00
merumelu
908f0eadba
Default theme: make toggle_off_disabled.png the same dimension as other CheckButton images
2019-08-06 22:12:58 +02:00
Yuri Roubinski
d0dc195da8
Some improvements to Mix visual shader function
2019-08-06 08:06:49 +03:00
Emmanuel Barroga
625b87633e
Fix Wrong Shape Offsets in Tileset
...
Closes #30994
When modifying the properties of a tileset in the editor, some properties only apply to the first tile (such as the shape offset).
This change resolves that issue by traversing the changes to all of the shapes in the tileset instead of the first one.
2019-08-04 12:05:23 -07:00
Chaosus
c34d75b678
Fix outerProduct function in visual shaders
2019-08-01 08:29:05 +03:00
Rémi Verschelde
4c74f50d1a
Merge pull request #30351 from bojidar-bg/30288-override-global-theme
...
Keep track of default theme and project custom default theme seperatelly
2019-07-25 14:54:27 +02:00
clayjohn
ff7c37927a
added pointMesh primitive
2019-07-24 12:14:31 -07:00
Rémi Verschelde
4c943cca2c
Merge pull request #30716 from qarmin/fixed_static_analiser_code
...
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 15:08:44 +02:00
qarmin
aab8da25ad
Fix some code found by Coverity Scan and PVS Studio
2019-07-23 09:14:31 +02:00
Hugo Locurcio
31eb116d49
Make make_header.py
functional when run from any location
...
This removes the need to `cd` to `scene/resources/default_theme/`
to get the expected result.
2019-07-22 14:02:33 +02:00
Rémi Verschelde
a1b4568ba9
Revert "Tweak SpatialMaterial's default metallic and roughness texture channels"
2019-07-22 11:56:41 +02:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
...
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
qarmin
6cbaf7662f
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
Rémi Verschelde
9384b6ab0e
i18n: Sync translation template with current source
...
Fix a few typos in new strings.
2019-07-19 16:08:40 +02:00
Rémi Verschelde
b79303d39a
Merge pull request #30683 from bojidar-bg/30671-triplanar-binormal
...
Fix binormal sign when using triplanar mapping
2019-07-19 11:22:59 +02:00
Bojidar Marinov
bdffdd7e38
Fix binormal sign when using triplanar mapping
...
Fixes #30671
2019-07-18 19:31:45 +03:00
Bojidar Marinov
ea949ab873
Fix invalid write in AudioStreamSample::save_to_wav
...
Fixes #29955
2019-07-16 20:58:00 +03:00
Rémi Verschelde
7d413f075c
Merge pull request #30590 from clayjohn/particle_life
...
Added individual particle random lifetime
2019-07-15 20:40:57 +02:00
clayjohn
5ef3374258
added individual particle random lifetime
2019-07-14 23:22:40 -07:00
Rémi Verschelde
23f5154de7
Merge pull request #30532 from Chaosus/vs_triplanar
...
Added triplanar uniform texture node to visual shaders
2019-07-15 07:56:06 +02:00
Rémi Verschelde
584ca0f156
Merge pull request #30466 from Chaosus/vs_boolean_funcs
...
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:20:44 +02:00
Chaosus
9d6e1e3109
Added "Is" and "Compare" functions to visual shaders
2019-07-12 13:43:37 +03:00
Chaosus
0727caadd1
Added triplanar uniform texture node to visual shaders
2019-07-12 12:14:34 +03:00
Rémi Verschelde
34d7484039
Merge pull request #30455 from qarmin/const_reference
...
Pass by reference to const
2019-07-10 15:43:15 +02:00
qarmin
01cc7a996b
Use reference to constant in functions
2019-07-10 11:54:12 +02:00
Hugo Locurcio
28d3a6051c
Use base Color()
constructors instead of Color::html()
...
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
2019-07-08 21:17:10 +02:00
Rémi Verschelde
af80182016
Merge pull request #30407 from qarmin/small_fixess
...
Fixes minor issues found by static analyzer
2019-07-08 08:16:50 +02:00
qarmin
9a77d748c0
Fixes minor issues found by static analyzer
2019-07-07 23:08:51 +02:00
unknown
a96dc30339
Removed a pair of empty braces
2019-07-07 19:51:09 +05:30
Rémi Verschelde
1fa26b969c
Merge pull request #30357 from simonpuchert/spheres
...
Particles / CPUParticles: Return uniform density spheres.
2019-07-07 11:04:46 +02:00
Rémi Verschelde
5ef4537221
Merge pull request #30337 from Chaosus/vs_depth_texture
...
Added DEPTH_TEXTURE to visual shaders
2019-07-06 20:26:21 +02:00
Simon Puchert
5fc8691176
particles: Return uniform density spheres.
...
This matches the previous change for cpu_particles.
2019-07-06 20:05:43 +02:00
Ibrahn Sahir
4e4697b1c4
Added release function to PoolVector::Access.
...
For clarity, assign-to-release idiom for PoolVector::Read/Write
replaced with a function call.
Existing uses replaced (or removed if already handled by scope)
2019-07-06 12:04:27 +01:00
Bojidar Marinov
17901da1a8
Keep track of default theme and project custom default theme seperatelly
...
Fixes #30288
2019-07-05 23:32:52 +03:00
Chaosus
670d8127da
Added DEPTH_TEXTURE to visual shaders
2019-07-05 12:19:20 +03:00
Rémi Verschelde
1ddb610255
Merge pull request #30300 from Calinou/remove-unused-default-theme-icons
...
Remove unused icons in the default theme
2019-07-04 10:30:50 +02:00
Hugo Locurcio
1327e04fd3
Remove unused icons in the default theme
2019-07-03 22:45:28 +02:00
qarmin
1b8b36c771
Fix crash with TileSet(again)
2019-07-03 17:18:36 +02:00
Rémi Verschelde
c08877777d
Merge pull request #26613 from KoBeWi/direction_of_particles
...
Add a Direction property to ParticlesMaterial
2019-07-02 11:33:34 +02:00
Rémi Verschelde
6b30f284a0
Merge pull request #29980 from Dentrax/directed-by-qarmin
...
Fix some editor crashes
2019-07-01 14:59:29 +02:00
Furkan Türkal
7d8d337b2c
fix some crashes
2019-07-01 14:28:29 +03:00
Rémi Verschelde
b4aba3ae7c
Merge pull request #30177 from hbina/use_FALLTHROUGH_macro
...
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29 23:40:08 +02:00
hbina085
9f0c6a6009
Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended.
2019-06-29 16:08:48 -04:00