Page MenuHome

Particle Instance doesn't preserve edge data
Closed, ResolvedPublic

Description

System Information
Win10 64bit

Blender Version
Broken: 2.79a

Short description of error
Plane with smooth Subsurf is corrected with creases to keep angles sharp. If Subsurf is placed after Instancer, then creases won't work. Bevel weight and sharp edges also don't work.

Exact steps for others to reproduce the error

Event Timeline

Philipp Oeser (lichtwerk) claimed this task.
Philipp Oeser (lichtwerk) triaged this task as Normal priority.

This is a limitation to the current Particle Instance modifier (not a bug though).

It doesnt handle calculating/copying edges/edgedata itself, but instead uses the more generic CDDM_calc_edges here (which has no clue of the original meshes edgedata)

It could be done though [modifiers like e.g. Array can handle this nicely], think this is a nice TODO, will put on my desk and have a look later.
Unless @Sergey Sharybin (sergey) thinks this is a waste of time and will be part of rewrite/overhaul anyways?

Philipp Oeser (lichtwerk) changed Type from Bug to To Do.Apr 20 2018, 1:04 PM

@Philipp Oeser (lichtwerk), this is something what we should support indeed. Mind looking into this? Shouldn't be hard to add support :)

@Sergey Sharybin (sergey): got it working, will post patch tomorrow (just saying, so @Sybren A. Stüvel (sybren) is not porting this modifier over in 2.8 before we merge?)

I'll leave porting the Particle Instance modifier to @Philipp Oeser (lichtwerk) then ;-)

Maybe poke me at T54737 once it's either ported or fixed up enough for me to port?