Page MenuHome

Freestyle will unnecessary exclude some linked objects.
Closed, ResolvedPublic


System Information
Xubuntu 14.04
NVidia GT 240

Blender Version
Official Blender 2.77a (abf6f08)

Short description of error
I prepared an example for this bug.

  • Open the "blend.blend" file. It should have a group linked relatively to the "link.blend" file.
  • Render and look at the result. The monkey gets excluded from freestyle lines when it shouldn't.

As you can see, there are three cubes on front, 2 of them in a group which I decided to exclude from freestyle calculation through RenderLayers > Freestyle Line Set > Selection By: Group > Group: Group > Exclusive

So, our linked library IS NOT within the excluded Group named "Group, and so, no linked object should be excluded.
Looking carefully in the Outliner, one can see why this is happening, just by the simple reason that one of the excluded cubes has the same name that the linked monkey head, so, for Blender is like if that object IS inside the excluded group, so he decides to exclude it from the result. You can prove that by changing the name of the cube named "monkey" to something else. Now the monkey head gets its freestyle lines as it should.

This is a very annoying bug when working on big projects, as it becomes really hard to "discover" between so many objects, the very reason why some of these aren't rendering properly in freestyle.
I think the solution is simple, it should involve some way of giving the linked objects a different ID or something internally, so that objects remain "different" for Blender.


Event Timeline

yain vieyra (chaos) raised the priority of this task from to Needs Triage by Developer.
yain vieyra (chaos) updated the task description. (Show Details)
yain vieyra (chaos) set Type to Bug.

Can confirm the issue. Objects in blender have a unique name + library, name itself is not enough as uuid.

@Tamito Kajiyama (kjym3) tried to track down that group member of lineset in code, with not much luck… Will let you handle this, assuming this 'group filtering' is done somewhere in freestyle code itself. :)

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.May 7 2016, 12:26 PM

Thanks a lot @Bastien Montagne (mont29), I will look into the reported issue when time permits.