Another fix for snapping after merge in 2.8
This commit is contained in:
parent
4467efe971
commit
0ea4bb51df
Notes:
blender-bot
2023-02-14 06:48:39 +01:00
Referenced by issue #52057, Snapping Element holding Control Crashes Blender
|
@ -141,7 +141,7 @@ struct SnapObjectContext {
|
|||
|
||||
|
||||
#define ITER_SNAP_OBJECTS(use_obedit, ob, obmat, sctx, snap_select, obedit, CODE) \
|
||||
Base *base_act = sctx->scene->basact;\
|
||||
Base *base_act = sctx->scene_layer->basact;\
|
||||
/* Need an exception for particle edit because the base is flagged with BA_HAS_RECALC_DATA\
|
||||
* which makes the loop skip it, even the derived mesh will never change\
|
||||
*\
|
||||
|
|
Loading…
Reference in New Issue