Page MenuHome

Blender 2.8: Make duplicates real does nothing.
Closed, ResolvedPublic

Description

System Information
Ubuntu 18.04
GTX 970 4gb
i7-8700k

Blender Version
Broken: (example: 2.8 2018-11-28 6fd5f95call)
Worked: (optional)

Short description of error
Convert button in particle systems with objects for hairs does nothing (couldn't find any report on it yet, sorry if duplicate)

Exact steps for others to reproduce the error
Add cube as emitter, add particle system to it and set it to hair, make it render objects as strands. Click convert on the particle modifier or use "Make duplicates real" operator.

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Nov 29 2018, 2:16 PM

Confirmed, checking...

Looks like a problem with base->object->transflag

On file load this gets set once in BKE_object_handle_data_update()

  • ob->transflag |= OB_DUPLIPARTS;

in get_dupli_generator() (for info stats)

  • ob->transflag is still 2048

But then in object_duplicates_make_real_exec():

  • if I check CTX_data_active_object(C)->transflag it is 0
  • thus in selected_editable_bases iterator: base->object->transflag is 0

Thus it earlies out in make_object_duplilist_real():

if (!(base->object->transflag & OB_DUPLI)) {
	return;
}

@Sergey Sharybin (sergey): could you check on this?