Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-07-14 21:10:44 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-14 21:10:44 +0400
commitaa454cd4124b6323201b334e4a5b68cc4badd5a5 (patch)
treeb9f277bff293509692cb70573266a0e2efba1508 /source/blender/src/editsima.c
parentabbda3a8a148a2b14b645a3a9396b8eace212a8f (diff)
- switch to using DAG_object_flush_update instead of mesh_changed
- mesh drawing calculated derived surface before clipping to view matrix, waste for offscreen objects
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index 96b9b1de3f7..b9c409c5758 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -59,6 +59,7 @@
#include "DNA_image_types.h"
#include "DNA_object_types.h" // only for uvedit_selectionCB() (struct Object)
+#include "BKE_depsgraph.h"
#include "BKE_global.h"
#include "BKE_mesh.h"
#include "BKE_displist.h"
@@ -761,7 +762,7 @@ void transform_tface_uv(int mode, int context) // 2 args, for callback
G.moving= 0;
prop_size*= 3;
- mesh_changed(OBACT);
+ DAG_object_flush_update(G.scene, OBACT, OB_RECALC_DATA);
allqueue(REDRAWVIEW3D, 0);
if(event!=ESCKEY && event!=RIGHTMOUSE)