DAG_relations_tag_update 示例代码

2022-03-03

以下示例是关于cpp中包含DAG_relations_tag_update用法的示例代码,想了解DAG_relations_tag_update的具体用法?DAG_relations_tag_update怎么用?DAG_relations_tag_update使用的例子?那么可以参考以下10个相关示例代码来学习它的具体使用方法。

示例1:
DocumentImporter.cpp开发语言: C++项目名称: blender代码行数: 1307
233		// update scene
234		DAG_relations_tag_update(bmain);
235		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
244	armature_importer.make_shape_keys();
245	DAG_relations_tag_update(bmain);
246
278
279		DAG_relations_tag_update(bmain);
280	}
416
417	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
418
示例2:
DocumentImporter.cpp开发语言: C++项目名称: ChaosGroup代码行数: 1419
232		// update scene
233		DAG_relations_tag_update(bmain);
234		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
243	armature_importer.make_shape_keys(mContext);
244	DAG_relations_tag_update(bmain);
245
276
277		DAG_relations_tag_update(bmain);
278	}
444
445	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
446
示例3:
BlenderStrokeRenderer.cpp开发语言: C++项目名称: ChaosGroup代码行数: 969
131	Object *object_camera = BKE_object_add(freestyle_bmain, freestyle_scene, OB_CAMERA, NULL);
132	DAG_relations_tag_update(freestyle_bmain);
133
513			Material *ma = BKE_material_add(freestyle_bmain, "stroke_material");
514			DAG_relations_tag_update(freestyle_bmain);
515			ma->mode |= MA_VERTEXCOLP;
678	Object *object_mesh = BKE_object_add(freestyle_bmain, freestyle_scene, OB_MESH);
679	DAG_relations_tag_update(freestyle_bmain);
680#else
936	base = BKE_scene_base_add(freestyle_scene, ob);
937	DAG_relations_tag_update(freestyle_bmain);
938#if 0
示例4:
DocumentImporter.cpp开发语言: C++项目名称: dfelinto代码行数: 1388
231		// update scene
232		DAG_relations_tag_update(bmain);
233		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
242	armature_importer.make_shape_keys();
243	DAG_relations_tag_update(bmain);
244
276
277		DAG_relations_tag_update(bmain);
278	}
443
444	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
445
示例5:
DocumentImporter.cpp开发语言: C++项目名称: EibrielInv代码行数: 1337
231		// update scene
232		DAG_relations_tag_update(bmain);
233		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
242	armature_importer.make_shape_keys();
243	DAG_relations_tag_update(bmain);
244
276
277		DAG_relations_tag_update(bmain);
278	}
412
413	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
414
示例6:
DocumentImporter.cpp开发语言: C++项目名称: EibrielInv代码行数: 1337
231		// update scene
232		DAG_relations_tag_update(bmain);
233		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
242	armature_importer.make_shape_keys();
243	DAG_relations_tag_update(bmain);
244
276
277		DAG_relations_tag_update(bmain);
278	}
412
413	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
414
示例7:
DocumentImporter.cpp开发语言: C++项目名称: blender代码行数: 1338
231		// update scene
232		DAG_relations_tag_update(bmain);
233		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
242	armature_importer.make_shape_keys();
243	DAG_relations_tag_update(bmain);
244
276
277		DAG_relations_tag_update(bmain);
278	}
412
413	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
414
示例8:
DocumentImporter.cpp开发语言: C++项目名称: blender代码行数: 1388
231		// update scene
232		DAG_relations_tag_update(bmain);
233		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
242	armature_importer.make_shape_keys();
243	DAG_relations_tag_update(bmain);
244
276
277		DAG_relations_tag_update(bmain);
278	}
443
444	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
445
示例9:
DocumentImporter.cpp开发语言: C++项目名称: khanh_blender代码行数: 1385
228		// update scene
229		DAG_relations_tag_update(bmain);
230		WM_event_add_notifier(mContext, NC_OBJECT | ND_TRANSFORM, NULL);
239	armature_importer.make_shape_keys();
240	DAG_relations_tag_update(bmain);
241
273
274		DAG_relations_tag_update(bmain);
275	}
440
441	/*DAG_relations_tag_update(CTX_data_main(mContext));*/
442
示例10:
BlenderStrokeRenderer.cpp开发语言: C++项目名称: khanh_blender代码行数: 976
129	Object *object_camera = BKE_object_add(freestyle_bmain, freestyle_scene, OB_CAMERA, NULL);
130	DAG_relations_tag_update(freestyle_bmain);
131
509			Material *ma = BKE_material_add(freestyle_bmain, "stroke_material");
510			DAG_relations_tag_update(freestyle_bmain);
511			ma->mode |= MA_VERTEXCOLP;
672	Object *object_mesh = BKE_object_add(freestyle_bmain, freestyle_scene, OB_MESH);
673	DAG_relations_tag_update(freestyle_bmain);
674#else
943	base = BKE_scene_base_add(freestyle_scene, ob);
944	DAG_relations_tag_update(freestyle_bmain);
945#if 0

本文地址:https://www.itbaoku.cn/snippets/415932.html