浏览代码

Fixes mistake where GuiInspectorEntityGroup's onAdd doesn't explicitly return true, which can cause problems in some compilers.

Areloch 9 年之前
父节点
当前提交
74a2005d15
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Engine/source/gui/editor/inspector/entityGroup.cpp

+ 2 - 0
Engine/source/gui/editor/inspector/entityGroup.cpp

@@ -41,6 +41,8 @@ bool GuiInspectorEntityGroup::onAdd()
 {
    if (!Parent::onAdd())
       return false;
+
+   return true;
 }
 
 //-----------------------------------------------------------------------------