Fix T102512: Snapping Option Face Nearest is not working
Caused by misuse of the `GS` macro. Error in rB8f4e52b7e0dd
This commit is contained in:
parent
2459a3c9b1
commit
be40c67b56
Notes:
blender-bot
2023-02-14 08:08:56 +01:00
Referenced by issue #102512, Snapping Option Face Nearest is not working correctly
|
@ -1305,7 +1305,7 @@ static eSnapMode nearest_world_object_fn(SnapObjectContext *sctx,
|
|||
return SCE_SNAP_MODE_NONE;
|
||||
}
|
||||
}
|
||||
else if (GS(ob_data) != ID_ME) {
|
||||
else if (GS(ob_data->name) != ID_ME) {
|
||||
return SCE_SNAP_MODE_NONE;
|
||||
}
|
||||
else if (is_object_active && ELEM(ob_eval->type, OB_CURVES_LEGACY, OB_SURF, OB_FONT)) {
|
||||
|
|
Loading…
Reference in New Issue