Skip to content
This repository was archived by the owner on Sep 17, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wikihouse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@ def wikihouse_error_callback(dialog, download_id)
def wikihouse_process_upload(dialog, model, model_path)

if File.size(model_path) > 12582912
reply = UI.messagebox "The model file is larger than 12MB. Would you like to purge unused objects, materials and styles?", MB_OKCANCEL
reply = UI.messagebox "The model file is larger than 12MB. Would you like to purge unused layers, objects, materials and styles?", MB_OKCANCEL
if reply == REPLY_OK
model.layers.purge_unused
model.styles.purge_unused
Expand Down