def saveGeo(): # this is not a model asset. don't save objs if not isModelAsset(): return True print 'we have a model' # if we can export the objs, export the objs to the asset folder if geo.generateGeometry(): print 'generateGeometry done' geo.installGeometry() return True # copy was successful else: return False
def saveGeo(): print 'saving geo...' # this is not a model asset. don't save objs if not isModelAsset(): return True print 'we have a model' # if we can export the objs, export the objs to the asset folder if geo.generateGeometry(): print 'generateGeometry done' geo.installGeometry() return True # copy was successful else: return False
def saveGeo(): print 'saving geo to .obj, .bjson' # this is not a model asset, don't save objs! if not checkAssetType('model'): return True #print 'we have a model' # if we can export the objs, export the objs to the asset folder if geo.generateGeometry(): print 'geo was exported to files.' geo.installGeometry() return True # copy was successful else: print 'geo was NOT exported to files.' return False