Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaling the model will continuously grow the model, incomplete model display, etc;Mobile system incompatibility #509

Open
linhuanfeng opened this issue Oct 23, 2024 · 1 comment

Comments

@linhuanfeng
Copy link

If the setting of model color is called, there will be problems such as scaling the model will continuously grow the model, incomplete model display, etc

    updateRepProperty(sourceId, fieldName, ...args) {
      // console.log('updateRepProperty', sourceId);
      const methodName = `set${macro.capitalize(fieldName)}`;
      const source = this.$proxyManager.getProxyById(sourceId);
      const myRepresentations = this.$proxyManager
        .getRepresentations()
        .filter((r) => r.getInput() === source);
      for (let i = 0; i < myRepresentations.length; i++) {
        // console.log(myRepresentations[i]);
        if (myRepresentations[i][methodName]) {
          myRepresentations[i][methodName](...args);
        }
      }
      this.$proxyManager.renderAllViews();
    },

image

image

image

image

@linhuanfeng
Copy link
Author

37309fd9745730bf2f8df47d098cd823.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant