[Bf-extensions-cvs] [44bd5400] master: PLY Cleanup: redundant comments

Mikhail Rachinskiy noreply at git.blender.org
Wed Jul 15 03:54:41 CEST 2020


Commit: 44bd5400357ff8dc2baa30dc2d1836196f900c1a
Author: Mikhail Rachinskiy
Date:   Wed Jul 15 05:53:53 2020 +0400
Branches: master
https://developer.blender.org/rBA44bd5400357ff8dc2baa30dc2d1836196f900c1a

PLY Cleanup: redundant comments

===================================================================

M	io_mesh_ply/__init__.py
M	io_mesh_ply/import_ply.py

===================================================================

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



More information about the Bf-extensions-cvs mailing list