SpoutDev/Vanilla — pull request #97 by bergerkiller (2012-03-20 23:15:15+00:00)
Title: Fix circular reference issues

Signed-off-by: berger killer

There were some circular reference (actually, constructor called in constructor) in the Dye and other classes. For simplicity; all sub-mats now have on separate Main class extending it, to prevent this. I noticed you used the static 'PARENT' before, but couldn't figure out why that would be useful.

You can always turn the separate 'constants' into an ' = this' assignment if that is better.