Skip to content

Commit

Permalink
removed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jj b committed Apr 29, 2021
1 parent 011f8aa commit 28a1df4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions resources/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from kivy3.loaders.objloader import WaveObject as kv3WaveObject, folder as objLoader_folder

from lib.betterLogger import BetterLogger
from pprint import pprint

from resources.textures import Textures

Expand Down Expand Up @@ -69,7 +68,6 @@ def convert_to_mesh(self, vertex_format=None): # Ripped from kivy3/loaders/objl
zeros = ['0', '0.0', '0.00', '0.000', '0.0000',
'0.00000', '0.000000']
for k, v in raw_material.items():
print("hihihi", v)
_k = self._mtl_map.get(k, None)
if k in ["map_Kd", ]:
self.log_warning("the tag map_kd should not be used as a material, use map_id and give the texture"
Expand Down Expand Up @@ -198,8 +196,6 @@ def load_materials(self, path: str):

def load_model(self, path: str) -> Object3D:
self.log_trace("Loading model -", path)
print(self.loader.mtl_source)
pprint(self.loader.mtl_contents)

if not self.mtl_file_loaded:
self.log_warning("Loading model before materials!")
Expand All @@ -209,9 +205,7 @@ def load_model(self, path: str) -> Object3D:
return obj

def register_model(self, option: str, model: Object3D):
print("hi", option, model)
self._models[option] = model
print(self._models)

def get(self, section: str) -> Object3D:
return self._models[section]
Expand Down

0 comments on commit 28a1df4

Please sign in to comment.