diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-03-23 15:30:26 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-03-23 15:30:26 +0300 |
commit | 64982e213f014123d1b0406cf9ae893910a6a3d3 (patch) | |
tree | 67f3dc76ea1a73a4892e7b334d627812c271f1bd /source/blender/makesrna/intern/rna_object.c | |
parent | bceb91ffd23c3bc09cce935a4f6d72f91392dc77 (diff) |
COW: Edit Mesh: Do not copy the looptris pointer
No functional changes.
Differential Revision: https://developer.blender.org/D7173
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index 959529450f0..f617f316d85 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -314,6 +314,7 @@ const EnumPropertyItem rna_enum_object_axis_items[] = { # include "DEG_depsgraph.h" # include "DEG_depsgraph_build.h" +# include "DEG_depsgraph_query.h" # include "ED_curve.h" # include "ED_lattice.h" @@ -442,6 +443,7 @@ static void rna_Object_active_shape_update(Main *bmain, Scene *UNUSED(scene), Po DEG_id_tag_update(&me->id, 0); + BLI_assert(DEG_is_original_object(ob)); EDBM_mesh_normals_update(em); BKE_editmesh_looptri_calc(em); break; |