Fix T102512: Snapping Option Face Nearest is not working
Caused by misuse of the `GS` macro. Error in rB8f4e52b7e0dd
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user