From 44bd5400357ff8dc2baa30dc2d1836196f900c1a Mon Sep 17 00:00:00 2001 From: Mikhail Rachinskiy Date: Wed, 15 Jul 2020 05:53:53 +0400 Subject: PLY Cleanup: redundant comments --- io_mesh_ply/__init__.py | 6 +++--- io_mesh_ply/import_ply.py | 12 ------------ 2 files changed, 3 insertions(+), 15 deletions(-) (limited to 'io_mesh_ply') diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py index 5e12bfce..79b8dc38 100644 --- a/io_mesh_ply/__init__.py +++ b/io_mesh_ply/__init__.py @@ -189,7 +189,7 @@ class PLY_PT_export_include(bpy.types.Panel): def draw(self, context): layout = self.layout layout.use_property_split = True - layout.use_property_decorate = False # No animation. + layout.use_property_decorate = False sfile = context.space_data operator = sfile.active_operator @@ -213,7 +213,7 @@ class PLY_PT_export_transform(bpy.types.Panel): def draw(self, context): layout = self.layout layout.use_property_split = True - layout.use_property_decorate = False # No animation. + layout.use_property_decorate = False sfile = context.space_data operator = sfile.active_operator @@ -239,7 +239,7 @@ class PLY_PT_export_geometry(bpy.types.Panel): def draw(self, context): layout = self.layout layout.use_property_split = True - layout.use_property_decorate = False # No animation. + layout.use_property_decorate = False sfile = context.space_data operator = sfile.active_operator diff --git a/io_mesh_ply/import_ply.py b/io_mesh_ply/import_ply.py index 915368d7..c7981cc3 100644 --- a/io_mesh_ply/import_ply.py +++ b/io_mesh_ply/import_ply.py @@ -117,18 +117,6 @@ class ObjectSpec: for i in self.specs } - # Longhand for above LC - """ - answer = {} - for i in self.specs: - answer[i.name] = [] - for j in range(i.count): - if not j % 100 and meshtools.show_progress: - Blender.Window.DrawProgressBar(float(j) / i.count, 'Loading ' + i.name) - answer[i.name].append(i.load(format, stream)) - return answer - """ - def read(filepath): import re -- cgit v1.2.3