Skip to content

Commit 15b35fc

Browse files
feat(polyhedrons): color protocol
1 parent 2984d13 commit 15b35fc

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

src/opengeodeweb_viewer/rpc/mesh/polyhedrons/polyhedrons_protocols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def setMeshPolyhedronsColor(self, params):
3131
id = params["id"]
3232
print("color", params["color"], flush=True)
3333
red, green, blue = params["color"]["r"]/255, params["color"]["g"]/255, params["color"]["b"]/255
34-
self.SetPolyhedronsColor(id, [red, green, blue])
34+
self.SetColor(id, red, green, blue)
3535

3636
# @exportRpc(mesh_polyhedrons_prefix + mesh_polyhedrons_schemas_dict["vertex_attribute"]["rpc"])
3737
# def setMeshPolyhedronsVertexAttribute(self, params):
Loading

src/tests/tests_output/test.jpeg

1.47 KB
Loading

0 commit comments

Comments
 (0)