FIX : wrong var reference in Mesh class

Signed-off-by: liamviney <liam.viney@b-reel.com>