From 0b278e2ea059d1a3102ab39f3a0e01fddec301e1 Mon Sep 17 00:00:00 2001 From: Alexis Duburcq Date: Tue, 24 Mar 2026 10:56:21 +0100 Subject: [PATCH] Fix viewer plugin registeration after build. --- genesis/options/solvers.py | 2 +- genesis/vis/viewer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/genesis/options/solvers.py b/genesis/options/solvers.py index 4da47a57b3..44f95adafa 100644 --- a/genesis/options/solvers.py +++ b/genesis/options/solvers.py @@ -424,7 +424,7 @@ class RigidOptions(Options): counterpart. 'approximate_implicitfast' is an even faster approximation of 'implicitfast', which avoid computing the inverse mass matrix twice by considering the first order correction terms of the implicit integration scheme systematically, including for computing the acceleration resulting from the constraints - and external forces. Although this approximation is wrong in theory, it works resonably well in practice. + and external forces. Although this approximation is wrong in theory, it works reasonably well in practice. Defaults to 'approximate_implicitfast'. IK_max_targets : int, optional Maximum number of IK targets. Increasing this doesn't affect IK solving speed, but will increase memory usage. diff --git a/genesis/vis/viewer.py b/genesis/vis/viewer.py index fb80124681..f63cd98f1f 100644 --- a/genesis/vis/viewer.py +++ b/genesis/vis/viewer.py @@ -356,7 +356,7 @@ def add_plugin(self, plugin: "ViewerPlugin") -> "ViewerPlugin": """ self._viewer_plugins.append(plugin) if self.is_built: - self._viewer.register_plugin(plugin) + self._pyrender_viewer.register_plugin(plugin) return plugin # ------------------------------------------------------------------------------------