Cleanup: old comments
This commit is contained in:
@@ -1318,7 +1318,6 @@ static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = {
|
|||||||
{sizeof(short[2]), "vec2s", 1, NULL, NULL, NULL, NULL, NULL, NULL},
|
{sizeof(short[2]), "vec2s", 1, NULL, NULL, NULL, NULL, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* note, numbers are from trunk and need updating for bmesh */
|
|
||||||
|
|
||||||
static const char *LAYERTYPENAMES[CD_NUMTYPES] = {
|
static const char *LAYERTYPENAMES[CD_NUMTYPES] = {
|
||||||
/* 0-4 */ "CDMVert", "CDMSticky", "CDMDeformVert", "CDMEdge", "CDMFace",
|
/* 0-4 */ "CDMVert", "CDMSticky", "CDMDeformVert", "CDMEdge", "CDMFace",
|
||||||
|
|||||||
@@ -3297,8 +3297,6 @@ static ImBuf *seq_render_scene_strip(const SeqRenderData *context, Sequence *seq
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
MEM_freeN(ibufs_arr);
|
MEM_freeN(ibufs_arr);
|
||||||
|
|
||||||
// BIF_end_render_callbacks();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -764,8 +764,6 @@ UvMapVert *BM_uv_vert_map_at_index(UvVertMap *vmap, unsigned int v)
|
|||||||
return vmap->vert[v];
|
return vmap->vert[v];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* from editmesh_lib.c in trunk */
|
|
||||||
|
|
||||||
|
|
||||||
/* A specialized vert map used by stitch operator */
|
/* A specialized vert map used by stitch operator */
|
||||||
UvElementMap *BM_uv_element_map_create(
|
UvElementMap *BM_uv_element_map_create(
|
||||||
|
|||||||
@@ -2122,8 +2122,6 @@ void ED_update_for_newframe(Main *bmain, Scene *scene, int UNUSED(mute))
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//extern void audiostream_scrub(unsigned int frame); /* seqaudio.c */
|
|
||||||
|
|
||||||
ED_clip_update_frame(bmain, scene->r.cfra);
|
ED_clip_update_frame(bmain, scene->r.cfra);
|
||||||
|
|
||||||
/* get layers from all windows */
|
/* get layers from all windows */
|
||||||
@@ -2133,15 +2131,6 @@ void ED_update_for_newframe(Main *bmain, Scene *scene, int UNUSED(mute))
|
|||||||
/* this function applies the changes too */
|
/* this function applies the changes too */
|
||||||
BKE_scene_update_for_newframe(bmain->eval_ctx, bmain, scene, layers);
|
BKE_scene_update_for_newframe(bmain->eval_ctx, bmain, scene, layers);
|
||||||
|
|
||||||
//if ((CFRA > 1) && (!mute) && (scene->r.audio.flag & AUDIO_SCRUB))
|
|
||||||
// audiostream_scrub( CFRA );
|
|
||||||
|
|
||||||
/* 3d window, preview */
|
|
||||||
//BIF_view3d_previewrender_signal(curarea, PR_DBASE|PR_DISPRECT);
|
|
||||||
|
|
||||||
/* all movie/sequence images */
|
|
||||||
//BIF_image_update_frame();
|
|
||||||
|
|
||||||
/* composite */
|
/* composite */
|
||||||
if (scene->use_nodes && scene->nodetree)
|
if (scene->use_nodes && scene->nodetree)
|
||||||
ntreeCompositTagAnimated(scene->nodetree);
|
ntreeCompositTagAnimated(scene->nodetree);
|
||||||
|
|||||||
@@ -1427,10 +1427,6 @@ static void backdrawview3d(Scene *scene, ARegion *ar, View3D *v3d)
|
|||||||
|
|
||||||
if (rv3d->rflag & RV3D_CLIPPING)
|
if (rv3d->rflag & RV3D_CLIPPING)
|
||||||
ED_view3d_clipping_disable();
|
ED_view3d_clipping_disable();
|
||||||
|
|
||||||
/* it is important to end a view in a transform compatible with buttons */
|
|
||||||
// persp(PERSP_WIN); /* set ortho */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void view3d_opengl_read_pixels(ARegion *ar, int x, int y, int w, int h, int format, int type, void *data)
|
void view3d_opengl_read_pixels(ARegion *ar, int x, int y, int w, int h, int format, int type, void *data)
|
||||||
@@ -2386,7 +2382,6 @@ void ED_view3d_draw_depth(Scene *scene, ARegion *ar, View3D *v3d, bool alphaover
|
|||||||
glClear(GL_DEPTH_BUFFER_BIT);
|
glClear(GL_DEPTH_BUFFER_BIT);
|
||||||
|
|
||||||
glLoadMatrixf(rv3d->viewmat);
|
glLoadMatrixf(rv3d->viewmat);
|
||||||
// persp(PERSP_STORE); /* store correct view for persp(PERSP_VIEW) calls */
|
|
||||||
|
|
||||||
if (rv3d->rflag & RV3D_CLIPPING) {
|
if (rv3d->rflag & RV3D_CLIPPING) {
|
||||||
ED_view3d_clipping_set(rv3d);
|
ED_view3d_clipping_set(rv3d);
|
||||||
|
|||||||
@@ -3076,8 +3076,6 @@ static int viewselected_exec(bContext *C, wmOperator *op)
|
|||||||
view3d_from_minmax(C, v3d, ar, min, max, ok_dist, smooth_viewtx);
|
view3d_from_minmax(C, v3d, ar, min, max, ok_dist, smooth_viewtx);
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX BIF_view3d_previewrender_signal(curarea, PR_DBASE|PR_DISPRECT);
|
|
||||||
|
|
||||||
return OPERATOR_FINISHED;
|
return OPERATOR_FINISHED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -764,7 +764,6 @@ bool ED_view3d_clip_range_get(
|
|||||||
return params.is_ortho;
|
return params.is_ortho;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* also exposed in previewrender.c */
|
|
||||||
bool ED_view3d_viewplane_get(
|
bool ED_view3d_viewplane_get(
|
||||||
const View3D *v3d, const RegionView3D *rv3d, int winx, int winy,
|
const View3D *v3d, const RegionView3D *rv3d, int winx, int winy,
|
||||||
rctf *r_viewplane, float *r_clipsta, float *r_clipend, float *r_pixsize)
|
rctf *r_viewplane, float *r_clipsta, float *r_clipend, float *r_pixsize)
|
||||||
@@ -1133,7 +1132,6 @@ short view3d_opengl_select(ViewContext *vc, unsigned int *buffer, unsigned int b
|
|||||||
v3d->zbuf = 0;
|
v3d->zbuf = 0;
|
||||||
glDisable(GL_DEPTH_TEST);
|
glDisable(GL_DEPTH_TEST);
|
||||||
}
|
}
|
||||||
// XXX persp(PERSP_WIN);
|
|
||||||
|
|
||||||
if (vc->rv3d->rflag & RV3D_CLIPPING)
|
if (vc->rv3d->rflag & RV3D_CLIPPING)
|
||||||
ED_view3d_clipping_disable();
|
ED_view3d_clipping_disable();
|
||||||
|
|||||||
@@ -673,11 +673,6 @@ void drawConstraint(TransInfo *t)
|
|||||||
if (t->flag & T_NO_CONSTRAINT)
|
if (t->flag & T_NO_CONSTRAINT)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* nasty exception for Z constraint in camera view */
|
|
||||||
// TRANSFORM_FIX_ME
|
|
||||||
// if ((t->flag & T_OBJECT) && G.vd->camera==OBACT && G.vd->persp==V3D_CAMOB)
|
|
||||||
// return;
|
|
||||||
|
|
||||||
if (tc->drawExtra) {
|
if (tc->drawExtra) {
|
||||||
tc->drawExtra(t);
|
tc->drawExtra(t);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6357,12 +6357,6 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
|
|||||||
}
|
}
|
||||||
|
|
||||||
clear_trans_object_base_flags(t);
|
clear_trans_object_base_flags(t);
|
||||||
|
|
||||||
|
|
||||||
#if 0 // TRANSFORM_FIX_ME
|
|
||||||
if (resetslowpar)
|
|
||||||
reset_slowparents();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int special_transform_moving(TransInfo *t)
|
int special_transform_moving(TransInfo *t)
|
||||||
|
|||||||
@@ -894,7 +894,7 @@ void calc_R_ref(ShadeInput *shi)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* called from ray.c */
|
/* called from rayshade.c */
|
||||||
void shade_color(ShadeInput *shi, ShadeResult *shr)
|
void shade_color(ShadeInput *shi, ShadeResult *shr)
|
||||||
{
|
{
|
||||||
Material *ma= shi->mat;
|
Material *ma= shi->mat;
|
||||||
|
|||||||
Reference in New Issue
Block a user