EggTexture not recognizing mirror(_once) ?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I (by accident) stumbled on this piece of code in the Panda3D cvs:
///////
// Function: EggTexture:
// Access: Published, Static
// Description: Returns the WrapMode value associated with the given
// string representation, or WM_unspecified if the string
// does not match any known WrapMode value.
///////
EggTexture:
string_
if (cmp_nocase_
return WM_repeat;
} else if (cmp_nocase_
return WM_clamp;
} else if (cmp_nocase_
return WM_clamp;
} else if (cmp_nocase_
return WM_clamp;
} else if (cmp_nocase_
return WM_border_color;
} else {
return WM_unspecified;
}
}
Shouldn't it be WM_mirror when it's "mirror" and WM_mirror_once when it's "mirror_once", or was this done intentionally?
Changed in panda3d: | |
milestone: | none → 1.5.4 |
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
Fixed by drwr: panda3d. org/phpbb2/ viewtopic. php?p=27042# 27042
http://
Probably will be in 1.6.0.