Page MenuHome

Fix ineffective subdiv behavior in collection instances for line art
ClosedPublic

Authored by YimingWu (NicksBest) on May 18 2021, 4:46 PM.

Details

Reviewers
Antonio Vazquez (antoniov)
Group Reviewers
Grease Pencil
Summary

Does what the title says.

This new code handles OB_DUPLICOLLECTION correctly so it's able to add relation to the instanced object as well.

Diff Detail

Repository
rB Blender

Event Timeline

I can see you just add the collection if is Empty and dupli group. Well done!

This revision is now accepted and ready to land.May 18 2021, 4:49 PM
Philipp Oeser (lichtwerk) added inline comments.
source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
221

add_this_collection

can we get a better name?

also: why not use collection (instead of c) like everywhere else?

YimingWu (NicksBest) marked an inline comment as done.
YimingWu (NicksBest) added inline comments.
source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
221

Humm this is just a very local utility function so the name doesn't really bring much problem. The scope is small enough.