Skip to content

Commit

Permalink
Added forgotten condition for QQSpeed-specific field on NiPSysEmitter…
Browse files Browse the repository at this point in the history
  • Loading branch information
Candoran2 committed Aug 21, 2023
1 parent 4f5fe85 commit 0f8c040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nif.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3589,7 +3589,7 @@
<field name="Radius Variation" type="float" since="10.4.0.1">Particle Radius randomness.</field>
<field name="Life Span" type="float">Duration until a particle dies.</field>
<field name="Life Span Variation" type="float">Adds randomness to Life Span.</field>
<field name="Unknown QQSpeed Floats" type="float" length="2">Both 1.0 in example nif.</field>
<field name="Unknown QQSpeed Floats" type="float" length="2" since="20.2.4.7" until="20.2.4.7" >Both 1.0 in example nif.</field>
</niobject>

<niobject name="NiPSysVolumeEmitter" abstract="true" inherit="NiPSysEmitter" module="NiParticle">
Expand Down

4 comments on commit 0f8c040

@mirkiss
Copy link

Choose a reason for hiding this comment

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

Python: Traceback (most recent call last):
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\operators\nif_import_op.py", line 134, in execute
return NifImport(self, context).execute()
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\nif_import.py", line 74, in execute
self.load_files() # needs to be first to provide version info.
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\nif_import.py", line 140, in load_files
NifData.init(NifFile.load_nif(NifOp.props.filepath))
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\file_io\nif.py", line 65, in load_nif
data = NifFormat.NifFile.from_stream(nif_stream)
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\dependencies\generated\formats\nif_init_.py", line 533, in from_stream
instance.resolve_references()
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\dependencies\generated\formats\nif_init_.py", line 423, in resolve_references
resolved_ref = self.blocks[block_index]
IndexError: list index out of range

Still reporting the error above

@Candoran2
Copy link
Owner Author

Choose a reason for hiding this comment

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

resolved_ref = self.blocks[block_index]
IndexError: list index out of range
Still reporting the error above

Did you re-generate the generated library?

@mirkiss
Copy link

Choose a reason for hiding this comment

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

I just modified the XML file. How to generate a library?

@Candoran2
Copy link
Owner Author

Choose a reason for hiding this comment

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

I just modified the XML file. How to generate a library?

That is explained in this comment:
niftools/blender_niftools_addon#566 (comment)

Please sign in to comment.