File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/opengeodeweb_viewer/rpc/model/points Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,17 @@ def __init__(self):
2121 @exportRpc (model_points_prefix + model_points_schemas_dict ["visibility" ]["rpc" ])
2222 def setModelPointsVisibility (self , params ):
2323 validate_schema (
24- params , self .model_schemas_dict ["visibility" ], self .model_prefix
24+ params ,
25+ self .model_points_schemas_dict ["visibility" ],
26+ self .model_points_prefix ,
2527 )
2628 id , visibility = params ["id" ], params ["visibility" ]
2729 self .SetPointsVisibility (id , visibility )
2830
2931 @exportRpc (model_points_prefix + model_points_schemas_dict ["size" ]["rpc" ])
3032 def setModelPointsSize (self , params ):
31- validate_schema (params , self .model_schemas_dict ["size" ], self .model_prefix )
33+ validate_schema (
34+ params , self .model_points_schemas_dict ["size" ], self .model_points_prefix
35+ )
3236 id , size = params ["id" ], params ["size" ]
3337 self .SetPointsSize (id , size )
You can’t perform that action at this time.
0 commit comments