Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-11-11 18:06:50 +0300
committerHans Goudey <h.goudey@me.com>2022-11-11 18:06:50 +0300
commite508de041712cc31588cbc8d63f81970eedf3be0 (patch)
tree0e7bdb0ab248e84f338c61b598f3efd31967ff32 /intern
parent80f5a5a8aa12594fb724e9ba45185e13c914f7dd (diff)
Fix T100706: Object instances with different geometry type invisible
Code in `deg_object_hide_original` uses the dupli object type to decide whether to hide the original object. The geometry component system changed the dupli object generator types, which made this not work. To maintain existing behavior, maintain a stack of non-geometry-nodes generator types while building the dupli list, and assign that to the dupli object instead. I think this code is on its last legs. It can't handle too many more hacky fixes like this, and should be replaced soon. Hopefully that is possible by using a `bke::Instances` type instead. However, this bug is bad enough that it's worth fixing like this. Differential Revisions: https://developer.blender.org/D16460
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions