Explorar o código

Issue #8: expect radius from backend

cycle20 %!s(int64=3) %!d(string=hai) anos
pai
achega
adee885d54
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/apps/viewer/index.ts

+ 1 - 1
src/apps/viewer/index.ts

@@ -93,7 +93,7 @@ export class Viewer {
             //       Can we send a precalculated value by our backend?
             //
             // (NOTE: the TMDET extension calculates and sets it during applying preset)
-            radius: 15
+            radius: regionDescriptors[ 'radius' ]
         };
         membrane.planePoint2[2] *= -1;