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

Create drivers gets python traceback error when importing some models. #198

Closed
SolidVault opened this issue Apr 28, 2023 · 6 comments
Closed

Comments

@SolidVault
Copy link

Python: Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\SourceIO\blender_bindings\operators\source1_operators.py", line 49, in execute
model_container = import_model_from_full_path(mdl_path, self.scale, self.create_flex_drivers,
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\SourceIO\blender_bindings\source1\mdl\model_loader.py", line 55, in import_model_from_full_path
return import_model_from_files(str(name), file_list, scale,
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\SourceIO\blender_bindings\source1\mdl\model_loader.py", line 92, in import_model_from_files
container = import_model_v49(file_list, scale, create_drives, re_use_meshes, unique_material_names,
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\SourceIO\blender_bindings\source1\mdl\v49\import_mdl.py", line 199, in import_model
create_flex_drivers(mesh_obj, mdl)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\SourceIO\blender_bindings\source1\mdl\v49\import_mdl.py", line 235, in create_flex_drivers
left_controller = next(
StopIteration

Im getting this error when importing some mdl models.

@REDxEYE
Copy link
Owner

REDxEYE commented Apr 28, 2023

Disable drivers import

@SolidVault
Copy link
Author

When i do disable create drivers import i get a messed up model, on the old versions it used to import quite fine, but now it doesnt for some reason, im trying to import smugs trilla model.

@REDxEYE
Copy link
Owner

REDxEYE commented Apr 28, 2023

Disabling drivers only affects generation of flex rules in blender. I should not affect model

@SolidVault
Copy link
Author

image

this is what i get when i import without drivers.

@REDxEYE
Copy link
Owner

REDxEYE commented Apr 28, 2023

That's expected, read model description

@SolidVault
Copy link
Author

SolidVault commented Apr 28, 2023

Well i couldnt find the description but your help on discord about the shape keys saved me thank you very much!

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

2 participants