Fix T57985: Out of the edit mode, the texture space is affected by the modifiers of a mesh.
Go for the simple solution for now (disable auto-texspace in evaluated mesh). Proper fix would be part of known TODO redesign of bbox handling. Solution suggested by @sergey, thanks!
This commit is contained in:
@@ -1916,5 +1916,8 @@ void BKE_mesh_eval_geometry(
|
||||
DEG_debug_print_eval(depsgraph, __func__, mesh->id.name, mesh);
|
||||
if (mesh->bb == NULL || (mesh->bb->flag & BOUNDBOX_DIRTY)) {
|
||||
BKE_mesh_texspace_calc(mesh);
|
||||
/* Clear autospace flag in evaluated mesh, so that texspace does not get recomputed when bbox is
|
||||
* (e.g. after modifiers, etc.) */
|
||||
mesh->texflag &= ~ME_AUTOSPACE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user