Merge remote-tracking branch 'origin/Animations' into WeaponSystem

This commit is contained in:
2016-02-10 20:47:33 +01:00
14 changed files with 912 additions and 364 deletions
+6 -6
View File
@@ -61,14 +61,14 @@ void RenderSystem::fillModels(RenderScene::Queues &Jobs)
}
// Only render children of a camera if that camera is currently active
if (isChildOfACamera(entity) && !isChildOfCurrentCamera(entity)) {
continue;
}
if (isChildOfACamera(entity) && !isChildOfCurrentCamera(entity)) {
continue;
}
// Hide things parented to local player if they have the HiddenFromLocalPlayer component
if (entity.HasComponent("HiddenForLocalPlayer") && (entity == m_LocalPlayer || entity.IsChildOf(m_LocalPlayer))) {
continue;
}
if (entity.HasComponent("HiddenForLocalPlayer") && (entity == m_LocalPlayer || entity.IsChildOf(m_LocalPlayer))) {
continue;
}
Model* model;
try {