Cleanup: old comments
authorCampbell Barton <ideasman42@gmail.com>
Sun, 1 Nov 2015 01:32:04 +0000 (12:32 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 1 Nov 2015 01:49:40 +0000 (12:49 +1100)
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/sequencer.c
source/blender/editors/mesh/editmesh_utils.c
source/blender/editors/screen/screen_edit.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/editors/transform/transform_constraints.c
source/blender/editors/transform/transform_conversions.c
source/blender/render/intern/source/shadeoutput.c

index 88ab634018452c9df4d9a79e11f46ef3dd1b4751..eb604275acc6999e6f6a5db7cd44ed8421f62cd9 100644 (file)
@@ -1318,7 +1318,6 @@ static const LayerTypeInfo LAYERTYPEINFO[CD_NUMTYPES] = {
        {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] = {
        /*   0-4 */ "CDMVert", "CDMSticky", "CDMDeformVert", "CDMEdge", "CDMFace",
index c11f3e880b0094b227b28fb81d94ad8d3751b372..4a24b149c34a4e6f3b3b51d087a259be2d93a23f 100644 (file)
@@ -3297,8 +3297,6 @@ static ImBuf *seq_render_scene_strip(const SeqRenderData *context, Sequence *seq
                        }
                }
                MEM_freeN(ibufs_arr);
-
-               // BIF_end_render_callbacks();
        }
 
 
index c101b416169a12a15b1d07e9aa81f1b65b937a60..f102cf2b25945de7067561f930045ed14776af57 100644 (file)
@@ -764,8 +764,6 @@ UvMapVert *BM_uv_vert_map_at_index(UvVertMap *vmap, unsigned int v)
        return vmap->vert[v];
 }
 
-/* from editmesh_lib.c in trunk */
-
 
 /* A specialized vert map used by stitch operator */
 UvElementMap *BM_uv_element_map_create(
index 22f90e5b36d5544da1d794c0d63cc85f3c6d5bce..e981a5ec7c06bfef3e5f9320b813c2acb7f7e6fb 100644 (file)
@@ -2121,8 +2121,6 @@ void ED_update_for_newframe(Main *bmain, Scene *scene, int UNUSED(mute))
                }
        }
 #endif
-
-       //extern void audiostream_scrub(unsigned int frame);    /* seqaudio.c */
        
        ED_clip_update_frame(bmain, scene->r.cfra);
 
@@ -2132,16 +2130,7 @@ void ED_update_for_newframe(Main *bmain, Scene *scene, int UNUSED(mute))
 
        /* this function applies the changes too */
        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 */
        if (scene->use_nodes && scene->nodetree)
                ntreeCompositTagAnimated(scene->nodetree);
index 01398c8335beb6a04b329e4ee7b58801a4650fee..40cd91a6e2fec0b28c6bdad6595734d060359d9d 100644 (file)
@@ -1427,10 +1427,6 @@ static void backdrawview3d(Scene *scene, ARegion *ar, View3D *v3d)
 
        if (rv3d->rflag & RV3D_CLIPPING)
                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)
@@ -2386,7 +2382,6 @@ void ED_view3d_draw_depth(Scene *scene, ARegion *ar, View3D *v3d, bool alphaover
        glClear(GL_DEPTH_BUFFER_BIT);
        
        glLoadMatrixf(rv3d->viewmat);
-//     persp(PERSP_STORE);  /* store correct view for persp(PERSP_VIEW) calls */
        
        if (rv3d->rflag & RV3D_CLIPPING) {
                ED_view3d_clipping_set(rv3d);
index 8f5c90956797d6c9679ed35e700c26f69cd722ba..6c39163661bca7799c36a5c2c2808206331ef8de 100644 (file)
@@ -3076,8 +3076,6 @@ static int viewselected_exec(bContext *C, wmOperator *op)
                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;
 }
 
index 19df5e4534af2fe5a5a5d08e0ba551d4f6491983..2e9dcdc9ba607e89948b7a44b73c29cc743ac61a 100644 (file)
@@ -764,7 +764,6 @@ bool ED_view3d_clip_range_get(
        return params.is_ortho;
 }
 
-/* also exposed in previewrender.c */
 bool ED_view3d_viewplane_get(
         const View3D *v3d, const RegionView3D *rv3d, int winx, int winy,
         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;
                glDisable(GL_DEPTH_TEST);
        }
-// XXX persp(PERSP_WIN);
        
        if (vc->rv3d->rflag & RV3D_CLIPPING)
                ED_view3d_clipping_disable();
index 895c8a810442837508edb86f474d6d3b5a5a2119..f6422446e50f10c3dc6b67119e248483d32d557d 100644 (file)
@@ -673,11 +673,6 @@ void drawConstraint(TransInfo *t)
        if (t->flag & T_NO_CONSTRAINT)
                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) {
                tc->drawExtra(t);
        }
index 110cd4cdd59a8ed5975207353b51a6499e9f1d72..52e0ede5cc1a661564acd12b5f9c95f1a4ec0381 100644 (file)
@@ -6357,12 +6357,6 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
        }
 
        clear_trans_object_base_flags(t);
-
-
-#if 0 // TRANSFORM_FIX_ME
-       if (resetslowpar)
-               reset_slowparents();
-#endif
 }
 
 int special_transform_moving(TransInfo *t)
index 27714b269524b4a5a4499f9f67dd2f7518763608..7ac11ac60644c68d45a8e6ee5c0bdf5c330acdc3 100644 (file)
@@ -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)
 {
        Material *ma= shi->mat;