Sculpt: Fix transform sculpt tools
This commit is contained in:
parent
47cbb9b1ac
commit
8082b19c10
|
@ -292,7 +292,7 @@ typedef struct BMFlagLayer {
|
|||
|
||||
struct RangeTreeUInt;
|
||||
|
||||
//#define WITH_BM_ID_FREELIST
|
||||
#define WITH_BM_ID_FREELIST
|
||||
|
||||
typedef struct BMesh {
|
||||
int totvert, totedge, totloop, totface;
|
||||
|
|
|
@ -67,6 +67,8 @@ void ED_sculpt_init_transform(struct bContext *C, Object *ob)
|
|||
SculptSession *ss = ob->sculpt;
|
||||
Depsgraph *depsgraph = CTX_data_depsgraph_pointer(C);
|
||||
|
||||
ss->stroke_id++;
|
||||
|
||||
copy_v3_v3(ss->init_pivot_pos, ss->pivot_pos);
|
||||
copy_v4_v4(ss->init_pivot_rot, ss->pivot_rot);
|
||||
copy_v3_v3(ss->init_pivot_scale, ss->pivot_scale);
|
||||
|
|
Loading…
Reference in New Issue