From 1ed20a692ffe23f5f1efd6a2baf89aaecb45b190 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 17 Feb 2017 17:53:51 +0100 Subject: Follow up on mode engine code separation The settings initialization belong within the engines --- source/blender/draw/DRW_engine.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source/blender/draw/DRW_engine.h') diff --git a/source/blender/draw/DRW_engine.h b/source/blender/draw/DRW_engine.h index 4f86e3fcd91..f5ac6e4c6c1 100644 --- a/source/blender/draw/DRW_engine.h +++ b/source/blender/draw/DRW_engine.h @@ -28,6 +28,7 @@ //#define WITH_VIEWPORT_CACHE_TEST +struct CollectionEngineSettings; struct DRWPass; struct Material; struct Scene; @@ -42,4 +43,8 @@ void DRW_pass_free(struct DRWPass *pass); void *DRW_material_settings_get(struct Material *ma, const char *engine_name); void *DRW_render_settings_get(struct Scene *scene, const char *engine_name); -#endif /* __DRW_ENGINE_H__ */ \ No newline at end of file +/* Mode engines initialization */ +void OBJECT_collection_settings_create(struct CollectionEngineSettings *ces); +void EDIT_collection_settings_create(struct CollectionEngineSettings *ces); + +#endif /* __DRW_ENGINE_H__ */ -- cgit v1.2.3