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:
YimingWu
2024-12-16 21:15:14 +08:00
parent 616f401ce3
commit d8bc0ff2e4

View File

@@ -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,