Add coment about design choices

This commit is contained in:
CoolCat467 2021-03-11 12:12:28 -06:00 committed by GitHub
parent 725e74d126
commit 1dfb80ea0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,6 +309,8 @@ local function updateProxies()
--Update shape limit if we have a printer connected.
--Probably halfway laggy because it's updating colors now too though,
--but necessary if we want things to work right with no unintended consequences.
--I would have this update in the component add remove part, but updateProxy is
--awesome and tells us if a component is present or not.
if hasPrinter then
local printer3d = component.get("printer3d")
updateShapeLimit(printer3d.getMaxShapeCount())