mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix uninitialized usage_hint
This commit is contained in:
parent
ae5d6d0bb8
commit
32bbe5f8fe
@ -108,6 +108,7 @@ TextNode(const string &name, const TextProperties ©) :
|
||||
{
|
||||
_flags = 0;
|
||||
_max_rows = 0;
|
||||
_usage_hint = GeomEnums::UH_static;
|
||||
|
||||
_frame_color.set(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
_card_color.set(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
@ -141,6 +142,7 @@ TextNode(const TextNode ©) :
|
||||
_card_color(copy._card_color),
|
||||
_flags(copy._flags),
|
||||
_max_rows(copy._max_rows),
|
||||
_usage_hint(GeomEnums::UH_static),
|
||||
_frame_width(copy._frame_width),
|
||||
_card_border_size(copy._card_border_size),
|
||||
_card_border_uv_portion(copy._card_border_uv_portion),
|
||||
|
Loading…
x
Reference in New Issue
Block a user