diff --git a/omnigibson/object_states/particle_modifier.py b/omnigibson/object_states/particle_modifier.py index 70e440d82..8f61fc1cd 100644 --- a/omnigibson/object_states/particle_modifier.py +++ b/omnigibson/object_states/particle_modifier.py @@ -1485,7 +1485,9 @@ def systems_to_check(self): @property def projection_is_active(self): # Only active if the projection mesh is enabled - return self.projection_emitter.GetProperty("inputs:active").Get() + return ( + self.projection_emitter.GetProperty("inputs:active").Get() if self.projection_emitter is not None else False + ) @classproperty def metalink_prefix(cls): diff --git a/omnigibson/prims/xform_prim.py b/omnigibson/prims/xform_prim.py index 27f71f8f0..8c5b36166 100644 --- a/omnigibson/prims/xform_prim.py +++ b/omnigibson/prims/xform_prim.py @@ -236,9 +236,6 @@ def set_position_orientation( xformable_prim = lazy.usdrt.Rt.Xformable( lazy.omni.isaac.core.utils.prims.get_prim_at_path(self.prim_path, fabric=True) ) - assert ( - not xformable_prim.HasWorldXform() - ), "Fabric's world pose is set for a non-rigid prim which is unexpected. Please report this." xformable_prim.SetLocalXformFromUsd() def get_position_orientation(self, frame: Literal["world", "scene", "parent"] = "world", clone=True):