Declare observers not opaque
This commit is contained in:
parent
32f60c4fee
commit
093e9b0b08
3 changed files with 6 additions and 4 deletions
|
@ -82,7 +82,8 @@ local overwrite = function()
|
|||
groups_changed = true
|
||||
end
|
||||
-- Automatically assign the “opaque” group for opaque nodes
|
||||
if not (ndef.paramtype == "light" or ndef.sunlight_propagates) then
|
||||
if (not (ndef.paramtype == "light" or ndef.sunlight_propagates)) and
|
||||
(ndef.groups.not_opaque == 0 or ndef.groups.not_opaque == nil) then
|
||||
newgroups.opaque = 1
|
||||
groups_changed = true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue