mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:17:02 +02:00
Remove unnecessary guard
This commit is contained in:
parent
6a8cc6faa8
commit
7851c8002f
1 changed files with 6 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue