forked from powroupi/blender_mmd_tools
-
Notifications
You must be signed in to change notification settings - Fork 96
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
MMD model type conversion #142
Labels
enhancement
New feature or request
Comments
@rgxa Thank you for the feature suggestion 😀 Blender's general operators add new objects to the currently selected collection. Any way, it is better to make a decision based on user comfort after developing the feature. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When converting an MMD model using the Convert Model button under the Model Production panel, it would probably usually be desirable if the user did not manually have to add the MMD model root object to the collection the rest of the objects are in. However, currently the operator does not search for the collection the model being converted is a part of, and instead simply adds it to the root collection of the active scene.
I've never done this before, but as a simple solution I'd propose searching bpy.data.collections(or the active scene's root collection and its children recursively) for a collection that contains the active object, and adding the new MMD model to the collection.
I'm going to write it myself and push a solution, but I'd appreciate feedback on it, critical or not. I will keep it as simple as possible since it is my first time. In case the feature is not desired, I'll add an option for it in the conversion operator.
The text was updated successfully, but these errors were encountered: