From de69f43aab86ac0005b9e1abc51b37c3035f3d63 Mon Sep 17 00:00:00 2001 From: Aeva Ntsc Date: Tue, 16 Oct 2012 01:54:27 -0500 Subject: [PATCH] Fixed the binary stl loader. --- mediagoblin/media_types/stl/model_loader.py | 31 ++++----------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/mediagoblin/media_types/stl/model_loader.py b/mediagoblin/media_types/stl/model_loader.py index a417b04c..b9fbbb06 100644 --- a/mediagoblin/media_types/stl/model_loader.py +++ b/mediagoblin/media_types/stl/model_loader.py @@ -90,35 +90,14 @@ class BinaryStlModel(ThreeDee): http://en.wikipedia.org/wiki/STL_%28file_format%29#Binary_STL """ - def __num(self, fileob, hint): - assert hint == "uint" or hint == "real" or hint == "short" - form = None - bits = 0 - if hint == "uint": - form = "