mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
prevent uv scroll combining
This commit is contained in:
parent
5d77dca8a5
commit
c93ddf0346
@ -148,3 +148,14 @@ bool UvScrollNode::
|
||||
safe_to_flatten() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: UvScrollNode::safe_to_combine
|
||||
// Access: Public, Virtual
|
||||
// Description: Returns true if it is generally safe to combine this
|
||||
// with other nodes, which it isn't, so don't. Ever.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
bool UvScrollNode::
|
||||
safe_to_combine() const {
|
||||
return false;
|
||||
}
|
||||
|
@ -36,6 +36,7 @@ protected:
|
||||
public:
|
||||
virtual PandaNode *make_copy() const;
|
||||
virtual bool safe_to_flatten() const;
|
||||
virtual bool safe_to_combine() const;
|
||||
virtual bool cull_callback(CullTraverser *trav, CullTraverserData &data);
|
||||
|
||||
PUBLISHED:
|
||||
|
Loading…
x
Reference in New Issue
Block a user