-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Blender version: 4.0 release
Platform: Windows 10
SourceIO version: 5.4.0
Issue: When attempting to import custom goldsrc maps for cstrike 1.6, I get an error and the import fails.
Expectation: I hoped the map would load normally like other official maps
The log while importing de_dust_2_2020:
Traceback (most recent call last):
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\operators\goldsrc_operators.py", line 47, in execute
bsp.load_map()
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\import_bsp.py", line 106, in load_map
self.load_entities()
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\import_bsp.py", line 241, in load_entities
entity_handlers[entity_class](entity, self.scale, self.bsp_collection, self.fix_rotation,
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\entity_handlers.py", line 18, in handle_generic_model_prop
return handle_model_prop(model_name, entity_data, scale, parent_collection,
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\goldsrc\bsp\entity_handlers.py", line 56, in handle_model_prop
model_container = import_model(model_name, mdl_buffer, content_manager, opts, None)
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\models\__init__.py", line 29, in import_model
container = handler(model_path, buffer, content_manager, options)
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\models\mdl10\__init__.py", line 17, in import_mdl10
return import_model(buffer, texture_mdl, options)
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\models\mdl10\import_mdl.py", line 129, in import_model
process(mesh_triverts[0],
File "C:\Users\subha\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\SourceIO\blender_bindings\models\mdl10\import_mdl.py", line 116, in process
transform = bone_transforms[body_part_model.bone_normal_info[v0.vertex_index]].to_3x3()
IndexError: list index out of range
more log:

only half of the models get imported:

Import settings:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels