mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
fix flatten
This commit is contained in:
parent
257272aad7
commit
f78419ceed
@ -458,6 +458,18 @@ decode_text(const string &text) const {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: TextNode::xform
|
||||||
|
// Access: Public, Virtual
|
||||||
|
// Description: Transforms the contents of this PandaNode by the
|
||||||
|
// indicated matrix, if it means anything to do so. For
|
||||||
|
// most kinds of PandaNodes, this does nothing.
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
void TextNode::
|
||||||
|
xform(const LMatrix4f &mat) {
|
||||||
|
_transform *= mat;
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: TextNode::decode_text_impl
|
// Function: TextNode::decode_text_impl
|
||||||
// Access: Private
|
// Access: Private
|
||||||
|
@ -216,6 +216,9 @@ public:
|
|||||||
string encode_wtext(const wstring &wtext) const;
|
string encode_wtext(const wstring &wtext) const;
|
||||||
wstring decode_text(const string &text) const;
|
wstring decode_text(const string &text) const;
|
||||||
|
|
||||||
|
// From parent class PandaNode
|
||||||
|
virtual void xform(const LMatrix4f &mat);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wstring decode_text_impl(StringDecoder &decoder) const;
|
wstring decode_text_impl(StringDecoder &decoder) const;
|
||||||
int expand_amp_sequence(StringDecoder &decoder) const;
|
int expand_amp_sequence(StringDecoder &decoder) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user