mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
workaround compile bug in VC++
This commit is contained in:
parent
11b51badff
commit
31c4c28637
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include "lightAttrib.h"
|
#include "lightAttrib.h"
|
||||||
#include "pandaNode.h"
|
#include "pandaNode.h"
|
||||||
|
#include "nodePath.h"
|
||||||
#include "graphicsStateGuardianBase.h"
|
#include "graphicsStateGuardianBase.h"
|
||||||
#include "bamReader.h"
|
#include "bamReader.h"
|
||||||
#include "bamWriter.h"
|
#include "bamWriter.h"
|
||||||
@ -777,7 +778,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
|
|||||||
while (ci != _off_lights.end()) {
|
while (ci != _off_lights.end()) {
|
||||||
PandaNode *node;
|
PandaNode *node;
|
||||||
DCAST_INTO_R(node, p_list[pi++], pi);
|
DCAST_INTO_R(node, p_list[pi++], pi);
|
||||||
(*ci) = NodePath(node);
|
NodePath np(node);
|
||||||
|
(*ci) = np;
|
||||||
++ci;
|
++ci;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -785,7 +787,8 @@ complete_pointers(TypedWritable **p_list, BamReader *manager) {
|
|||||||
while (ci != _on_lights.end()) {
|
while (ci != _on_lights.end()) {
|
||||||
PandaNode *node;
|
PandaNode *node;
|
||||||
DCAST_INTO_R(node, p_list[pi++], pi);
|
DCAST_INTO_R(node, p_list[pi++], pi);
|
||||||
(*ci) = NodePath(node);
|
NodePath np(node);
|
||||||
|
(*ci) = np;
|
||||||
++ci;
|
++ci;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user