Fix #131884: Line Art: Inverted object matrix when baking strokes
When baking line art strokes, the object matrix that are used for back transformation was inverted. Should be `world_to_object` instead of `object_to_world`. Probably a typo during GPv3 rewrite.
This commit is contained in:
@@ -208,7 +208,7 @@ static bool bake_strokes(Object *ob,
|
||||
|
||||
MOD_lineart_gpencil_generate_v3(
|
||||
lmd->cache,
|
||||
ob->object_to_world(),
|
||||
ob->world_to_object(),
|
||||
dg,
|
||||
*drawing,
|
||||
lmd->source_type,
|
||||
|
||||
Reference in New Issue
Block a user