diff --git a/pythontuio/tuio.py b/pythontuio/tuio.py index fce48e1..0195fe8 100644 --- a/pythontuio/tuio.py +++ b/pythontuio/tuio.py @@ -87,12 +87,12 @@ def send_bundle(self): bundle_builder = OscBundleBuilder(0) # build alive message - if len(self.cursors) != 0: - bundle_builder.add_content(TuioServer._build_alive(TUIO_CURSOR,self.cursors)) - if len(self.blobs) != 0: - bundle_builder.add_content(TuioServer._build_alive(TUIO_BLOB,self.blobs)) - if len(self.objects) != 0: - bundle_builder.add_content(TuioServer._build_alive(TUIO_OBJECT,self.objects)) + + bundle_builder.add_content(TuioServer._build_alive(TUIO_CURSOR,self.cursors)) + + bundle_builder.add_content(TuioServer._build_alive(TUIO_BLOB,self.blobs)) + + bundle_builder.add_content(TuioServer._build_alive(TUIO_OBJECT,self.objects)) # set message of cursor diff --git a/setup.py b/setup.py index c27b2fd..e1a5015 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="python-tuio", - version="0.0.8", + version="0.0.9", author="tweigel-dev", author_email="weigel-thomas@outlook.de", description="python3 implementation of the TUIO protocol",