Commit Graph

4 Commits

Author SHA1 Message Date
ganovelli 8c998ccd11 vcg::tri::Allocate<MESH>::Get*Attribute(m,name);
has CHANGED!

Before it was returning a valid handle to the attribute
IF it existed, otherwise the handle was invalid.
 
Now it always returns a valid handle to the attribute,
by creating the attribute name if it did not exist or returning
the handle to it if it was already there.

ALl the code using Get*Attribute  has been changed accordingly.
2013-01-30 17:18:55 +00:00
Paolo Cignoni ffcdfa9f88 Added a couple of throw vcg::MissingComponentException and refactored a bit 2013-01-28 16:03:57 +00:00
Nico Pietroni f11ad65f14 minor changes 2012-10-17 11:20:44 +00:00
Nico Pietroni fcf300015c first release version 2012-10-16 10:06:14 +00:00