Revert opaque autogroup change

This commit is contained in:
Elias Åström 2024-10-25 16:27:16 +02:00 committed by cora
parent b3f2e18109
commit dec3f191e0

View File

@ -359,7 +359,7 @@ local function overwrite()
newgroups.solid = 1 newgroups.solid = 1
end end
-- Automatically assign the "opaque" group for opaque nodes -- Automatically assign the "opaque" group for opaque nodes
if (not (ndef.paramtype == "light" and ndef.sunlight_propagates)) and if (not (ndef.paramtype == "light" or ndef.sunlight_propagates)) and
(ndef.groups.not_opaque == 0 or ndef.groups.not_opaque == nil) then (ndef.groups.not_opaque == 0 or ndef.groups.not_opaque == nil) then
newgroups.opaque = 1 newgroups.opaque = 1
end end