Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't initialize the direct manipulation extension when asm is not loaded #13219

Merged
merged 6 commits into from
Aug 15, 2022
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/DynamoManipulation/NodeManipulator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -494,19 +494,17 @@ private RenderPackageCache GenerateRenderPackages()
return packages;
}

// This check is required as for some reason LibG fails to load, geometry nodes are null
// and we must return immediately before proceeding with further calls to ProtoGeometry
if (IsNodeNull(Node.CachedValue)) return packages;
// This check is required if for some reason LibG fails to load, geometry nodes are null
// and we must return immediately before proceeding with further calls to ProtoGeometry.

if (IsNodeNull(Node.CachedValue) || Node.CachedValue.IsFunction) return packages;

AssignInputNodes();

active = UpdatePosition();

if (!IsEnabled())
{
return packages;
}

// Blocking call to build render packages only in UI thread
// to avoid race condition with gizmo members b/w scheduler and UI threads.
// Race condition can occur if say one gizmo is moving due to another gizmo
Expand Down