From 491710a3f1b900c16d896917065b67acd176007d Mon Sep 17 00:00:00 2001 From: Pierre Tremblay Date: Tue, 14 Jan 2025 15:22:18 -0500 Subject: [PATCH] Remove call to path interface from pruning scene index. --- lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h b/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h index 3549959cb..c4b711172 100644 --- a/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h +++ b/lib/flowViewport/sceneIndex/fvpPruningSceneIndex.h @@ -86,9 +86,10 @@ class PruningSceneIndex : FVP_API PrimSelections UfePathToPrimSelections(const Ufe::Path& appPath) const override { PXR_NAMESPACE_USING_DIRECTIVE; - const PathInterface* pathInterface = dynamic_cast(&*GetInputSceneIndex()); - TF_AXIOM(pathInterface); - return pathInterface->UfePathToPrimSelections(appPath); + + TF_FATAL_ERROR("Illegal call to deprecated %s", TF_FUNC_NAME().data()); + + return PrimSelections(); } protected: