GRUPO DE STEAM
Blender Source Tools BleST
GRUPO DE STEAM
Blender Source Tools BleST
225
JUGANDO
1,586
ONLINE
Fundado
8 de noviembre de 2013
Todas las discusiones > Bug Reports > Detalles del tema
xdshot 14 JUN 2020 a las 6:22
DMX duration keyword
https://github.com/Artfunkel/BlenderSourceTools/blob/c1bf515aeda44ad9704870bdd16b8e144f6ff530/io_scene_valvesource/import_smd.py#L1657

Some dmx happen to have "duration" key word exported, despite not meeting version condition in code. Ex. L4D2 animations DMXs included in starter kit.
< >
Mostrando 1-6 de 6 comentarios
xdshot 14 JUN 2020 a las 6:24 
Importing DMX animation "coach_idle_standing_calm_rifle" Traceback (most recent call last): File "/home/xdshot/.config/blender/2.83/scripts/addons/io_scene_valvesource/datamodel.py", line 319, in __getitem__ return super().__getitem__(item) KeyError: 'durationTime' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/xdshot/.config/blender/2.83/scripts/addons/io_scene_valvesource/import_smd.py", line 75, in execute self.num_files_imported = self.readDMX(filepath, self.properties.upAxis, self.properties.rotMode) File "/home/xdshot/.config/blender/2.83/scripts/addons/io_scene_valvesource/import_smd.py", line 1622, in readDMX duration = timeFrame["duration" if dm.format_ver >= 11 else "durationTime"] File "/home/xdshot/.config/blender/2.83/scripts/addons/io_scene_valvesource/datamodel.py", line 321, in __getitem__ raise AttributeError("No attribute \"{}\" on {}".format(item,self)) from e io_scene_valvesource.datamodel.AttributeError: 'Invalid DMX file: No attribute "durationTime" on <Datamodel element "unnamed" (DmeTimeFrame)>'
Artfunkel 15 JUN 2020 a las 10:01 
What format version is the file in question?
xdshot 15 JUN 2020 a las 15:14 
<!-- dmx encoding binary 3 format model 9 --
xdshot 31 ENE 2022 a las 5:46 
Bump. Would be nice if there's a code condition to see both parameters instead of relying on version detection.
Un moderador de este foro ha indicado que este mensaje responde al tema original.
Artfunkel 20 FEB 2022 a las 8:31 
Fixed in 3.2.
xdshot 20 FEB 2022 a las 8:34 
Thank you!
< >
Mostrando 1-6 de 6 comentarios
Por página: 1530 50

Todas las discusiones > Bug Reports > Detalles del tema