Skip to content

Commit

Permalink
0.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Nov 9, 2024
1 parent 91b6b6c commit 4d3c500
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ packages = ["src/viser"]

[project]
name = "viser"
version = "0.2.15"
version = "0.2.16"
description = "3D visualization + Python"
readme = "README.md"
license = { text="MIT" }
Expand Down
4 changes: 2 additions & 2 deletions src/viser/_scene_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,8 +1147,8 @@ def add_mesh_skinned(
name=name,
websock_interface=self._websock_interface,
bone_index=i,
wxyz=bone_wxyzs[i],
position=bone_positions[i],
wxyz=bone_wxyzs[i].copy(),
position=bone_positions[i].copy(),
)
)
for i in range(num_bones)
Expand Down
8 changes: 6 additions & 2 deletions src/viser/client/src/ControlPanel/SceneTreeTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ function EditNodeProps({
}}
>
<Box fw="500" style={{ flexGrow: "1" }} fz="sm">
{node.message.type.replace("Message", "")} Props
{node.message.type
.replace("Message", "")
.replace(/([A-Z])/g, " $1")
.trim()}{" "}
Props
</Box>
<Tooltip label={"Close props"}>
<IconX
Expand Down Expand Up @@ -249,7 +253,7 @@ function EditNodeProps({
);
})}
<Box fz="xs" opacity="0.4">
Changes will be overwritten by updates from the server.
Updates from the server will overwrite local changes.
</Box>
</Box>
);
Expand Down

0 comments on commit 4d3c500

Please sign in to comment.