[Bf-blender-cvs] [054f3981b10] soc-2020-io-performance: Cleanup: AT was redundant in the destructor debug

Ankit Meel noreply at git.blender.org
Tue Jun 30 08:38:35 CEST 2020


Commit: 054f3981b103a5103f3dee29e462c0f7617247a2
Author: Ankit Meel
Date:   Tue Jun 30 12:08:11 2020 +0530
Branches: soc-2020-io-performance
https://developer.blender.org/rB054f3981b103a5103f3dee29e462c0f7617247a2

Cleanup: AT was redundant in the destructor debug

===================================================================

M	source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh

===================================================================

diff --git a/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh b/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh
index b393c369f98..811c058889d 100644
--- a/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh
+++ b/source/blender/io/wavefront_obj/intern/wavefront_obj_exporter_mesh.hh
@@ -48,9 +48,10 @@ class OBJMesh {
   /** Free new meshes we allocate for triangulated meshes, and curves converted to meshes. */
   ~OBJMesh()
   {
+    fprintf(stderr, "Called destructor.\n");
     /** TODO ankitm remove this debug fprintf. */
     if (_me_eval_needs_free) {
-      fprintf(stderr, "Freed a curve converted to mesh at\n%s\n", AT);
+      fprintf(stderr, "Freed a curve converted to mesh.\n");
       BKE_id_free(NULL, _export_mesh_eval);
     }
   }



More information about the Bf-blender-cvs mailing list