projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3D View: add back clipping border operator
[blender.git]
/
source
/
blender
/
editors
/
space_view3d
/
view3d_edit.c
diff --git
a/source/blender/editors/space_view3d/view3d_edit.c
b/source/blender/editors/space_view3d/view3d_edit.c
index 7a368d2ca027f1ce4975a98e4d370903f7f65392..1a8330acf4a405e272a3888d9b1dcbc358092414 100644
(file)
--- a/
source/blender/editors/space_view3d/view3d_edit.c
+++ b/
source/blender/editors/space_view3d/view3d_edit.c
@@
-4565,9
+4565,6
@@
void ED_view3d_clipping_local(RegionView3D *rv3d, float mat[4][4])
calc_local_clipping(rv3d->clip_local, rv3d->clipbb, mat);
}
calc_local_clipping(rv3d->clip_local, rv3d->clipbb, mat);
}
-#if 0 /* TODO Missing from 2.8 drawing code.
- * Find a solution to support clip border then uncomment it. */
-
static int view3d_clipping_exec(bContext *C, wmOperator *op)
{
ARegion *ar = CTX_wm_region(C);
static int view3d_clipping_exec(bContext *C, wmOperator *op)
{
ARegion *ar = CTX_wm_region(C);
@@
-4624,7
+4621,6
@@
void VIEW3D_OT_clip_border(wmOperatorType *ot)
/* properties */
WM_operator_properties_border(ot);
}
/* properties */
WM_operator_properties_border(ot);
}
-#endif
/** \} */
/** \} */