Remove unnecessary guard

This commit is contained in:
Zach Fox 2017-06-30 15:25:33 -07:00
parent 6a8cc6faa8
commit 7851c8002f

View file

@ -49,7 +49,6 @@ public:
}
void configure(const Config& config) {
if (config.enabled || config.alwaysEnabled) {
_attachedEntityId = config.attachedEntityId;
_position = config.position;
_orientation = config.orientation;
@ -57,7 +56,6 @@ public:
_nearClipPlaneDistance = config.nearClipPlaneDistance;
_farClipPlaneDistance = config.farClipPlaneDistance;
}
}
void run(const render::RenderContextPointer& renderContext, RenderArgsPointer& cachedArgs) {
auto args = renderContext->args;