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

Remove submodels in favor of proper instances support #396

Merged
merged 1 commit into from May 29, 2018

Conversation

tribal-tec
Copy link
Contributor

No description provided.

- one level of models in the scene; don't get too crazy adding tons of models,
  as the models are part of the scene JSON
- list of instances in ModelDescriptor; default instance for added model is
  created; instances are created via addInstance()
- add get-instances and update-instance as a first exposure to clients
auto instance = model->getInstance(newDesc.getInstanceID());
if (!instance)
throw rockets::jsonrpc::response_error("Instance not found",
-12346);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably store those error ids as globals into a single file, and expose them in the documentation for the JS and Python SDKs to use them accordingly.

@tribal-tec tribal-tec merged commit e934f99 into BlueBrain:master May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants