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