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:
Diffstat (limited to 'source/blender/src/meshtools.c')
-rw-r--r--source/blender/src/meshtools.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/src/meshtools.c b/source/blender/src/meshtools.c
index 7bd0c785b22..99bce8531d7 100644
--- a/source/blender/src/meshtools.c
+++ b/source/blender/src/meshtools.c
@@ -65,7 +65,7 @@ void sort_faces(void);
#include "BLI_blenlib.h"
#include "BLI_arithb.h"
-#include "BKE_displist.h"
+#include "BKE_depsgraph.h"
#include "BKE_global.h"
#include "BKE_library.h"
#include "BKE_main.h"
@@ -437,11 +437,10 @@ void join_mesh(void)
enter_editmode();
exit_editmode(1); // freedata, but no undo
- test_scene_constraints(); // always call after delete object (stupid!)
-
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWBUTSSHADING, 0);
- makeDispList(ob);
+ DAG_scene_sort(G.scene);
+ DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
BIF_undo_push("Join Mesh");
}
@@ -817,7 +816,7 @@ void sort_faces(void)
MEM_freeN(index);
allqueue(REDRAWVIEW3D, 0);
- makeDispList(G.obedit);
+ DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
}