Skip to content

Commit

Permalink
style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
roopavr-adsk committed May 28, 2024
1 parent 6d35338 commit 5c69f56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions lib/flowViewport/sceneIndex/fvpPruneTexturesSceneIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
//

#include "flowViewport/sceneIndex/fvpPruneTexturesSceneIndex.h"
#include "pxr/base/tf/staticTokens.h"
#include "pxr/imaging/hd/sceneIndexPrimView.h"
#include "pxr/imaging/hd/materialSchema.h"

#include <pxr/base/tf/staticTokens.h>
#include <pxr/imaging/hd/sceneIndexPrimView.h>
#include <pxr/imaging/hd/materialSchema.h>

#include <iostream>
namespace FVP_NS_DEF {
Expand Down Expand Up @@ -46,7 +47,7 @@ _PruneTexturesFromMatNetwork(
// Look for incoming connection(textures) to surface shader params
TfTokenVector inputConnections = networkInterface->GetNodeInputConnectionNames(nodeName);
for (TfToken const &connection : inputConnections) {
// Trivially input connections.
// Trivially remove all input connections to match Maya VP2 behavior
networkInterface->DeleteNodeInputConnection(nodeName, connection);
}
}
Expand Down
6 changes: 3 additions & 3 deletions lib/flowViewport/sceneIndex/fvpPruneTexturesSceneIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#include "flowViewport/api.h"
#include "flowViewport/sceneIndex/fvpSceneIndexUtils.h"

#include "pxr/imaging/hdsi/api.h"
#include "pxr/imaging/hd/materialFilteringSceneIndexBase.h"
#include "pxr/imaging/hd/materialNetworkInterface.h"
#include <pxr/imaging/hdsi/api.h>
#include <pxr/imaging/hd/materialFilteringSceneIndexBase.h>
#include <pxr/imaging/hd/materialNetworkInterface.h>

namespace FVP_NS_DEF {

Expand Down

0 comments on commit 5c69f56

Please sign in to comment.