Closed killarny closed 3 years ago
Yes. This happens because, somewhere in the API for Blender 2.8, the control points in the guide hairs fail to report their location. I have to wait for Blender to be fixed before I can do any more to update HairNet for 2.8. Thanks for confirming that this is still an issue. I should add a note someplace visible that this is an ongoing problem. I'm sorry that I didn't have that warning up already.
Did you try to evaluate the object first?
despgraph = bpy.context.evaluated_depsgraph_get() evaluated_object = despgraph.objects.get(bpy.context.selected_objects[0].name, None)
then evaluated_object .particle_systems[0].particles.items()[0][1].hair_keys.items()[0][1].co
Using the latest release in Blender 2.8, the generated guide hairs are not following the path of the edges in the original sheet that I constructed.
video demonstration
The same process works properly in the latest version of the addon for 2.79.