Blenderproc: Can't import .blend with cp_physics

Created on 12 May 2021  路  2Comments  路  Source: DLR-RM/BlenderProc

When I import a scene in blend format and set a cp_physics bool in debug mode, like this:
bug.txt

I receive the following error:

(...)
Imported 5 objects
Selected 5 of the loaded objects by type

Finished - Running module BlendLoaderModule (took 0.006 seconds)

Finished - Running blender pipeline (took 0.013 seconds)

Traceback (most recent call last):
File "/home/rafael/Documents/Projects/copel-Inv/synthetic_dataset/objects/scene.blend/debug.py", line 51, in
File "/home/rafael/Documents/Projects/copel-Inv/synthetic_dataset/BlenderProc/src/../src/main/Pipeline.py", line 43, in run
module.run()
File "/home/rafael/Documents/Projects/copel-Inv/synthetic_dataset/BlenderProc/src/../src/loader/BlendLoaderModule.py", line 67, in run
self._set_properties(newly_loaded_objects)
File "/home/rafael/Documents/Projects/copel-Inv/synthetic_dataset/BlenderProc/src/../src/loader/LoaderInterface.py", line 73, in _set_properties
obj.set_cp(key, value)
AttributeError: 'Object' object has no attribute 'set_cp'

bug first answer provided

All 2 comments

Thanks for reporting this issue! The bug should now be fixed. Can you please update your local copy and test if now everything works nominal?

The physics module works fine now.
Thank you. :D

Was this page helpful?
0 / 5 - 0 ratings

Related issues

soans1994 picture soans1994  路  3Comments

albertotono picture albertotono  路  3Comments

b-yogesh picture b-yogesh  路  5Comments

manuelli picture manuelli  路  3Comments

elientumba2019 picture elientumba2019  路  4Comments