Remove irrelevant print statement
authorSybren A. Stüvel <sybren@stuvel.eu>
Wed, 18 Apr 2018 10:22:58 +0000 (12:22 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Wed, 18 Apr 2018 10:26:40 +0000 (12:26 +0200)
This statement is only relevant in 2.8, but causes confusion in master.
I kept the 'default' label to prevent compiler warnings about unhandled
cases. The break is needed because there should be at least one statement
after 'default'.

source/blender/depsgraph/intern/builder/deg_builder_nodes.cc

index b3f6958e9c3bf46c46566a5263eeb531e4a6319d..3a4ca7515a3e566f28e39339c082fc7b4e227205 100644 (file)
@@ -300,7 +300,8 @@ void DepsgraphNodeBuilder::build_id(ID* id) {
                        build_movieclip((MovieClip *)id);
                        break;
                default:
-                       fprintf(stderr, "Unhandled ID %s\n", id->name);
+                       /* fprintf(stderr, "Unhandled ID %s\n", id->name); */
+                       break;
        }
 }