@@ -23,15 +23,15 @@ class VtkMeshPointsView(VtkMeshView):
2323 def __init__ (self ) -> None :
2424 super ().__init__ ()
2525
26- @exportRpc (mesh_points_prefix + str ( mesh_points_schemas_dict ["visibility" ]["rpc" ]) )
26+ @exportRpc (mesh_points_prefix + mesh_points_schemas_dict ["visibility" ]["rpc" ])
2727 def setMeshPointsVisibility (self , params : RpcParams ) -> None :
2828 validate_schema (
2929 params , self .mesh_points_schemas_dict ["visibility" ], self .mesh_points_prefix
3030 )
3131 id , visibility = params ["id" ], params ["visibility" ]
3232 self .SetPointsVisibility (id , visibility )
3333
34- @exportRpc (mesh_points_prefix + str ( mesh_points_schemas_dict ["color" ]["rpc" ]) )
34+ @exportRpc (mesh_points_prefix + mesh_points_schemas_dict ["color" ]["rpc" ])
3535 def setMeshPointsColor (self , params : RpcParamsWithColor ) -> None :
3636 validate_schema (
3737 params , self .mesh_points_schemas_dict ["color" ], self .mesh_points_prefix
@@ -44,17 +44,15 @@ def setMeshPointsColor(self, params: RpcParamsWithColor) -> None:
4444 )
4545 self .SetPointsColor (id , red , green , blue )
4646
47- @exportRpc (mesh_points_prefix + str ( mesh_points_schemas_dict ["size" ]["rpc" ]) )
47+ @exportRpc (mesh_points_prefix + mesh_points_schemas_dict ["size" ]["rpc" ])
4848 def setMeshPointsSize (self , params : RpcParams ) -> None :
4949 validate_schema (
5050 params , self .mesh_points_schemas_dict ["size" ], self .mesh_points_prefix
5151 )
5252 id , size = params ["id" ], params ["size" ]
5353 self .SetPointsSize (id , size )
5454
55- @exportRpc (
56- mesh_points_prefix + str (mesh_points_schemas_dict ["vertex_attribute" ]["rpc" ])
57- )
55+ @exportRpc (mesh_points_prefix + mesh_points_schemas_dict ["vertex_attribute" ]["rpc" ])
5856 def setMeshPointsVertexAttribute (self , params : RpcParams ) -> None :
5957 validate_schema (
6058 params ,
0 commit comments