Cleanup: Silence warning - unused parameter
This commit is contained in:
@@ -686,15 +686,8 @@ static void mesh_buffer_cache_create_requested(struct TaskGraph *task_graph,
|
|||||||
double rdata_start = PIL_check_seconds_timer();
|
double rdata_start = PIL_check_seconds_timer();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MeshRenderData *mr = mesh_render_data_create(me,
|
MeshRenderData *mr = mesh_render_data_create(
|
||||||
extraction_cache,
|
me, is_editmode, is_paint_mode, is_mode_active, obmat, do_final, do_uvedit, ts);
|
||||||
is_editmode,
|
|
||||||
is_paint_mode,
|
|
||||||
is_mode_active,
|
|
||||||
obmat,
|
|
||||||
do_final,
|
|
||||||
do_uvedit,
|
|
||||||
ts);
|
|
||||||
mr->use_hide = use_hide;
|
mr->use_hide = use_hide;
|
||||||
mr->use_subsurf_fdots = use_subsurf_fdots;
|
mr->use_subsurf_fdots = use_subsurf_fdots;
|
||||||
mr->use_final_mesh = do_final;
|
mr->use_final_mesh = do_final;
|
||||||
|
|||||||
@@ -242,7 +242,6 @@ typedef struct MeshExtract {
|
|||||||
|
|
||||||
/* draw_cache_extract_mesh_render_data.c */
|
/* draw_cache_extract_mesh_render_data.c */
|
||||||
MeshRenderData *mesh_render_data_create(Mesh *me,
|
MeshRenderData *mesh_render_data_create(Mesh *me,
|
||||||
MeshBufferExtractionCache *cache,
|
|
||||||
const bool is_editmode,
|
const bool is_editmode,
|
||||||
const bool is_paint_mode,
|
const bool is_paint_mode,
|
||||||
const bool is_mode_active,
|
const bool is_mode_active,
|
||||||
|
|||||||
@@ -462,7 +462,6 @@ void mesh_render_data_update_normals(MeshRenderData *mr, const eMRDataType data_
|
|||||||
* otherwise don't use modifiers as they are not from this object.
|
* otherwise don't use modifiers as they are not from this object.
|
||||||
*/
|
*/
|
||||||
MeshRenderData *mesh_render_data_create(Mesh *me,
|
MeshRenderData *mesh_render_data_create(Mesh *me,
|
||||||
MeshBufferExtractionCache *cache,
|
|
||||||
const bool is_editmode,
|
const bool is_editmode,
|
||||||
const bool is_paint_mode,
|
const bool is_paint_mode,
|
||||||
const bool is_mode_active,
|
const bool is_mode_active,
|
||||||
|
|||||||
Reference in New Issue
Block a user