Removed/disabled debugging code.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sat, 19 Jul 2014 09:53:02 +0000 (18:53 +0900)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Tue, 12 Aug 2014 01:10:37 +0000 (10:10 +0900)
intern/cycles/blender/blender_mesh.cpp
source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp
source/blender/freestyle/intern/stroke/StrokeRep.cpp
source/blender/render/intern/source/pipeline.c

index 364ee9abbd23f4b598ebd5ce8539ff5eb0617b9f..f07f0fde88846a8c6c7a7d0a62f887552e60f0cc 100644 (file)
@@ -408,30 +408,17 @@ static void create_mesh(Scene *scene, Mesh *mesh, BL::Mesh b_mesh, const vector<
                                float3 *fdata = attr->data_float3();
                                size_t i = 0;
 
-                               std::cout << "name " << name << std::endl;
                                for(l->data.begin(t); t != l->data.end(); ++t, ++i) {
                                        fdata[0] =  get_float3(t->uv1());
                                        fdata[1] =  get_float3(t->uv2());
                                        fdata[2] =  get_float3(t->uv3());
                                        fdata += 3;
-#if 0
-                                       std::cout << "  1st "
-                                                 << "( " << t->uv1()[0] << ", " << t->uv1()[1] << ") "
-                                                 << "( " << t->uv2()[0] << ", " << t->uv2()[1] << ") "
-                                                 << "( " << t->uv3()[0] << ", " << t->uv3()[1] << ") " << std::endl;
-#endif
 
                                        if(nverts[i] == 4) {
                                                fdata[0] =  get_float3(t->uv1());
                                                fdata[1] =  get_float3(t->uv3());
                                                fdata[2] =  get_float3(t->uv4());
                                                fdata += 3;
-#if 0
-                                               std::cout << "  2nd "
-                                                         << "( " << t->uv1()[0] << ", " << t->uv1()[1] << ") "
-                                                         << "( " << t->uv3()[0] << ", " << t->uv3()[1] << ") "
-                                                         << "( " << t->uv4()[0] << ", " << t->uv4()[1] << ") " << std::endl;
-#endif
                                        }
                                }
                        }
index ec78a0fe9fd4652b8f7f7e01e9e5f833f2b295ff..e7554417417843455b6a6c337cc632602c8471ea 100644 (file)
@@ -227,7 +227,6 @@ Material* BlenderStrokeRenderer::GetStrokeShader(bContext *C, Main *bmain, bNode
        bNodeSocket *fromsock, *tosock;
        PointerRNA fromptr, toptr;
 
-       cout << "linestyle " << linestyle << " nodetree " << linestyle->nodetree << " use_nodes " << linestyle->use_nodes << endl;
        if (iNodeTree) {
                // make a copy of linestyle->nodetree
                ntree = ntreeCopyTree_ex(iNodeTree, bmain, true);
index f4ac6f70fbbcb9c3bb84d6592d13aa9b0495a836..f7857107006f2caa4d3b442c27a79dff92073e18 100644 (file)
@@ -516,7 +516,6 @@ void Strip::setVertexColor (const vector<StrokeVertex *>& iStrokeVertices)
 
 void Strip::computeTexCoord (const vector<StrokeVertex *>& iStrokeVertices, float texStep)
 {
-       cout << "Strip::computeTexCoord texStep " << texStep << endl;
        vector<StrokeVertex *>::const_iterator v, vend;
        StrokeVertex *sv;
        int i = 0;
index 89b64e287bbf9fd656214cf4d4a1273a25a0eb70..33b9cf764a936339dc0da51929106093edfc5807 100644 (file)
@@ -1940,7 +1940,7 @@ static void add_freestyle(Render *re, int render)
 
        actsrl = BLI_findlink(&re->r.layers, re->r.actlay);
 
-#if 0
+#if 1
        re->freestyle_bmain = BKE_main_new();
 
        /* We use the same window manager for freestyle bmain as
@@ -2020,7 +2020,7 @@ static void free_all_freestyle_renders(void)
                        if (freestyle_render) {
                                freestyle_scene = freestyle_render->scene;
                                RE_FreeRender(freestyle_render);
-#if 0
+#if 1
                                BKE_scene_unlink(re1->freestyle_bmain, freestyle_scene, NULL);
 #endif
                        }
@@ -2028,7 +2028,7 @@ static void free_all_freestyle_renders(void)
                BLI_freelistN(&re1->freestyle_renders);
 
                if (re1->freestyle_bmain) {
-#if 0
+#if 1
                        /* detach the window manager from freestyle bmain (see comments
                         * in add_freestyle() for more detail)
                         */