mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
more includes, better hash fix
This commit is contained in:
parent
22d9be67dd
commit
fab56fbd65
@ -216,5 +216,7 @@ generate_hash(HashGenerator &hashgen) const {
|
||||
// We specifically don't call up to DCField::generate_hash(), since
|
||||
// the parameter name is not actually significant to the hash.
|
||||
|
||||
// hashgen.add_int(get_flags());
|
||||
if (get_flags() != 0) {
|
||||
hashgen.add_int(get_flags());
|
||||
}
|
||||
}
|
||||
|
@ -21,6 +21,11 @@
|
||||
|
||||
#include "dcbase.h"
|
||||
#include "dcDeclaration.h"
|
||||
#include "dcPackerInterface.h"
|
||||
|
||||
class DCParameter;
|
||||
class HashGenerator;
|
||||
class DCField;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : DCSwitch
|
||||
|
Loading…
x
Reference in New Issue
Block a user