Browse Source

Only warn if immediate base class isn't in bindings

Josh Engebretson 9 years ago
parent
commit
1c7b1424a0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Source/ToolCore/JSBind/JSBHeaderVisitor.h

+ 4 - 1
Source/ToolCore/JSBind/JSBHeaderVisitor.h

@@ -644,7 +644,10 @@ public:
                 }
                 }
                 else
                 else
                 {
                 {
-                    ATOMIC_LOGINFOF("Warning: %s baseclass %s not in bindings", name.CString(), baseclassname.CString());
+                    if (!i)
+                    {
+                        ATOMIC_LOGINFOF("Warning: %s first baseclass %s not in bindings", name.CString(), baseclassname.CString());
+                    }
                 }
                 }
             }
             }
             else
             else