Revert opaque autogroup change
This commit is contained in:
parent
b3f2e18109
commit
dec3f191e0
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user