From: Aeva Ntsc Date: Tue, 16 Oct 2012 06:54:27 +0000 (-0500) Subject: Fixed the binary stl loader. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de69f43aab86ac0005b9e1abc51b37c3035f3d63;p=mediagoblin.git Fixed the binary stl loader. --- 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 = "