Fix T64972: object convert to mesh not working after recent changes
This was the only remaining cases that used a string lookup, which didn't work anymore now that it's no longer a real value in the context.
This commit is contained in:
parent
d9f4071ac6
commit
85322737ba
Notes:
blender-bot
2023-02-14 08:42:53 +01:00
Referenced by issue #66083, Hair Info -> Tangent Normal still not working properly in Eevee Referenced by issue #65429, Blender eve Crash when baking indirect lighting with clearcoat material Referenced by issue #65059, Shift Ctrl Alt LMB / Ctrl Alt LMB in an empty scene closes / crashes Blender Referenced by issue #65042, Hair Info Tangent Normal -> Principled BDSF Normal not working correctly Referenced by issue #64998, Multi window spin tool crash Referenced by issue #65002, crash: clicking in edit mode after wireframe object is disabled in viewport Referenced by issue #64972, "convert to" is broken
|
@ -2052,7 +2052,8 @@ static int convert_exec(bContext *C, wmOperator *op)
|
|||
FOREACH_SCENE_OBJECT_END;
|
||||
}
|
||||
|
||||
ListBase selected_editable_bases = CTX_data_collection_get(C, "selected_editable_bases");
|
||||
ListBase selected_editable_bases;
|
||||
CTX_data_selected_editable_bases(C, &selected_editable_bases);
|
||||
|
||||
/* Ensure we get all meshes calculated with a sufficient data-mask,
|
||||
* needed since re-evaluating single modifiers causes bugs if they depend
|
||||
|
|
Loading…
Reference in New Issue