ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra/Deliantra.pm
(Generate patch)

Comparing deliantra/Deliantra/Deliantra.pm (file contents):
Revision 1.134 by root, Wed Oct 28 10:17:01 2009 UTC vs.
Revision 1.135 by root, Tue Nov 3 14:56:58 2009 UTC

339 339
340# object as in "Object xxx", i.e. archetypes 340# object as in "Object xxx", i.e. archetypes
341sub normalize_object($) { 341sub normalize_object($) {
342 my ($ob) = @_; 342 my ($ob) = @_;
343 343
344 delete $ob->{editable}; # deprecated
345
344 # convert material bitset to materialname, if possible 346 # convert material bitset to materialname, if possible
345 if (exists $ob->{material}) { 347 if (exists $ob->{material}) {
346 if (!$ob->{material}) { 348 if (!$ob->{material}) {
347 delete $ob->{material}; 349 delete $ob->{material};
348 } elsif (exists $ob->{materialname}) { 350 } elsif (exists $ob->{materialname}) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines