It seems obvious, the compiler told you. Use
    
    
    proc loadmesh(this: var object3d, filename: string) =
    
    
    Run

So this variable is mutable inside of your proc. Or you may create a local 
mutable copy inside the proc with something like
    
    
    var this = this
    
    
    Run

Reply via email to