Depsgraph: Remove print dependnecies operator
This is not really supported with the new depsgraph.
This commit is contained in:
@@ -70,7 +70,6 @@
|
|||||||
#include "BKE_blender_version.h"
|
#include "BKE_blender_version.h"
|
||||||
#include "BKE_brush.h"
|
#include "BKE_brush.h"
|
||||||
#include "BKE_context.h"
|
#include "BKE_context.h"
|
||||||
#include "BKE_depsgraph.h"
|
|
||||||
#include "BKE_icons.h"
|
#include "BKE_icons.h"
|
||||||
#include "BKE_idprop.h"
|
#include "BKE_idprop.h"
|
||||||
#include "BKE_image.h"
|
#include "BKE_image.h"
|
||||||
@@ -3958,28 +3957,6 @@ static void WM_OT_memory_statistics(wmOperatorType *ot)
|
|||||||
ot->exec = memory_statistics_exec;
|
ot->exec = memory_statistics_exec;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************** memory statistics for testing ***************** */
|
|
||||||
|
|
||||||
static int dependency_relations_exec(bContext *C, wmOperator *UNUSED(op))
|
|
||||||
{
|
|
||||||
Main *bmain = CTX_data_main(C);
|
|
||||||
Scene *scene = CTX_data_scene(C);
|
|
||||||
Object *ob = CTX_data_active_object(C);
|
|
||||||
|
|
||||||
DAG_print_dependencies(bmain, scene, ob);
|
|
||||||
|
|
||||||
return OPERATOR_FINISHED;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void WM_OT_dependency_relations(wmOperatorType *ot)
|
|
||||||
{
|
|
||||||
ot->name = "Dependency Relations";
|
|
||||||
ot->idname = "WM_OT_dependency_relations";
|
|
||||||
ot->description = "Print dependency graph relations to the console";
|
|
||||||
|
|
||||||
ot->exec = dependency_relations_exec;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* *************************** Mat/tex/etc. previews generation ************* */
|
/* *************************** Mat/tex/etc. previews generation ************* */
|
||||||
|
|
||||||
typedef struct PreviewsIDEnsureData {
|
typedef struct PreviewsIDEnsureData {
|
||||||
@@ -4248,7 +4225,6 @@ void wm_operatortype_init(void)
|
|||||||
WM_operatortype_append(WM_OT_save_mainfile);
|
WM_operatortype_append(WM_OT_save_mainfile);
|
||||||
WM_operatortype_append(WM_OT_redraw_timer);
|
WM_operatortype_append(WM_OT_redraw_timer);
|
||||||
WM_operatortype_append(WM_OT_memory_statistics);
|
WM_operatortype_append(WM_OT_memory_statistics);
|
||||||
WM_operatortype_append(WM_OT_dependency_relations);
|
|
||||||
WM_operatortype_append(WM_OT_debug_menu);
|
WM_operatortype_append(WM_OT_debug_menu);
|
||||||
WM_operatortype_append(WM_OT_operator_defaults);
|
WM_operatortype_append(WM_OT_operator_defaults);
|
||||||
WM_operatortype_append(WM_OT_splash);
|
WM_operatortype_append(WM_OT_splash);
|
||||||
|
Reference in New Issue
Block a user