Transform: avoid possible uninitialized var
This commit is contained in:
parent
9bbb197d14
commit
16fc2ad28e
@ -570,8 +570,7 @@ static bool raycastEditMesh(
|
||||
}
|
||||
|
||||
SnapObjectData_EditMesh *sod = NULL;
|
||||
|
||||
BVHTreeFromEditMesh *treedata;
|
||||
BVHTreeFromEditMesh *treedata = NULL;
|
||||
|
||||
void **sod_p;
|
||||
if (BLI_ghash_ensure_p(sctx->cache.object_map, ob, &sod_p)) {
|
||||
@ -1840,8 +1839,7 @@ static bool snapEditMesh(
|
||||
float local_scale = normalize_v3(ray_normal_local);
|
||||
|
||||
SnapObjectData_EditMesh *sod = NULL;
|
||||
|
||||
BVHTreeFromEditMesh *treedata;
|
||||
BVHTreeFromEditMesh *treedata = NULL;
|
||||
|
||||
void **sod_p;
|
||||
if (BLI_ghash_ensure_p(sctx->cache.object_map, ob, &sod_p)) {
|
||||
|
Loading…
Reference in New Issue
Block a user