mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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 {
|
safe_to_flatten() const {
|
||||||
return false;
|
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:
|
public:
|
||||||
virtual PandaNode *make_copy() const;
|
virtual PandaNode *make_copy() const;
|
||||||
virtual bool safe_to_flatten() const;
|
virtual bool safe_to_flatten() const;
|
||||||
|
virtual bool safe_to_combine() const;
|
||||||
virtual bool cull_callback(CullTraverser *trav, CullTraverserData &data);
|
virtual bool cull_callback(CullTraverser *trav, CullTraverserData &data);
|
||||||
|
|
||||||
PUBLISHED:
|
PUBLISHED:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user