[Bf-blender-cvs] [969d6d3a0ff] blender-v2.93-release: Fix invalid mask use for the UV-project modifier

Campbell Barton noreply at git.blender.org
Mon Sep 6 09:40:33 CEST 2021


Commit: 969d6d3a0ff6bf92a9bf8dd4dc65e10ba372c116
Author: Campbell Barton
Date:   Tue Aug 24 18:16:23 2021 +1000
Branches: blender-v2.93-release
https://developer.blender.org/rB969d6d3a0ff6bf92a9bf8dd4dc65e10ba372c116

Fix invalid mask use for the UV-project modifier

Mistake in a30a8179331d689c9e599fb9a530c0b6b155f689.

===================================================================

M	source/blender/modifiers/intern/MOD_uvproject.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_uvproject.c b/source/blender/modifiers/intern/MOD_uvproject.c
index 3162a33edc2..fa075ebc8eb 100644
--- a/source/blender/modifiers/intern/MOD_uvproject.c
+++ b/source/blender/modifiers/intern/MOD_uvproject.c
@@ -72,7 +72,7 @@ static void requiredDataMask(Object *UNUSED(ob),
                              CustomData_MeshMasks *r_cddata_masks)
 {
   /* ask for UV coordinates */
-  r_cddata_masks->lmask |= CD_MLOOPUV;
+  r_cddata_masks->lmask |= CD_MASK_MLOOPUV;
 }
 
 static void foreachIDLink(ModifierData *md, Object *ob, IDWalkFunc walk, void *userData)



More information about the Bf-blender-cvs mailing list