Cleanup: remove unused code, update comments
This commit is contained in:
parent
83d6290800
commit
144f780c71
|
@ -80,11 +80,9 @@
|
|||
//#define USE_MODIFIER_VALIDATE
|
||||
|
||||
#ifdef USE_MODIFIER_VALIDATE
|
||||
# define ASSERT_IS_VALID_DM(dm) (BLI_assert((dm == NULL) || (DM_is_valid(dm) == true)))
|
||||
# define ASSERT_IS_VALID_MESH(mesh) \
|
||||
(BLI_assert((mesh == NULL) || (BKE_mesh_is_valid(mesh) == true)))
|
||||
#else
|
||||
# define ASSERT_IS_VALID_DM(dm)
|
||||
# define ASSERT_IS_VALID_MESH(mesh)
|
||||
#endif
|
||||
|
||||
|
|
|
@ -274,8 +274,8 @@ static void emDM_calc_loop_tangents_thread(TaskPool *__restrict UNUSED(pool), vo
|
|||
/**
|
||||
* \see #BKE_mesh_calc_loop_tangent, same logic but used arrays instead of #BMesh data.
|
||||
*
|
||||
* \note This function is not so normal, its using `bm->ldata` as input,
|
||||
* but output's to `dm->loopData`.
|
||||
* \note This function is not so normal, its using #BMesh.ldata as input,
|
||||
* but output's to #Mesh.ldata.
|
||||
* This is done because #CD_TANGENT is cache data used only for drawing.
|
||||
*/
|
||||
void BKE_editmesh_loop_tangent_calc(BMEditMesh *em,
|
||||
|
|
|
@ -699,17 +699,6 @@ float ED_view3d_grid_view_scale(struct Scene *scene,
|
|||
|
||||
void ED_scene_draw_fps(const struct Scene *scene, int xoffset, int *yoffset);
|
||||
|
||||
/* view matrix properties utilities */
|
||||
/* unused */
|
||||
#if 0
|
||||
void ED_view3d_operator_properties_viewmat(struct wmOperatorType *ot);
|
||||
void ED_view3d_operator_properties_viewmat_set(struct bContext *C, struct wmOperator *op);
|
||||
void ED_view3d_operator_properties_viewmat_get(struct wmOperator *op,
|
||||
int *winx,
|
||||
int *winy,
|
||||
float persmat[4][4]);
|
||||
#endif
|
||||
|
||||
/* render */
|
||||
void ED_view3d_stop_render_preview(struct wmWindowManager *wm, struct ARegion *region);
|
||||
void ED_view3d_shade_update(struct Main *bmain, struct View3D *v3d, struct ScrArea *area);
|
||||
|
|
Loading…
Reference in New Issue