Skip to content

add_object method missing #2

@ManuelTraub

Description

@ManuelTraub

In main.py an add_object method for the controller seems to be missing:

the following code fixed it for me:

def add_object(self, *args, **kwargs):
object_id = self.get_unique_id()
object = self.get_add_object(
*args,
object_id = object_id,
**kwargs
)
self.communicate(object)
return object_id

My setup:
Ubuntu 18.04.5 LTS
Python 3.9.7

Output for (python main.py --out-dir data --config-file configuration_files.json --config-start 0 --config-end 1 --scene-type scene_1):
Build version 1.9.10
Unity Engine 2020.3.24f1
Python tdw module version 1.9.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions