2
0
Эх сурвалжийг харах

migrate UvScrollNode -> pgraphnodes

David Rose 15 жил өмнө
parent
commit
31fd59476a

+ 0 - 3
panda/src/pgraph/Sources.pp

@@ -106,7 +106,6 @@
     textureStageCollection.I textureStageCollection.h \
     transformState.I transformState.h \
     transparencyAttrib.I transparencyAttrib.h \
-    uvScrollNode.I uvScrollNode.h \
     weakNodePath.I weakNodePath.h \
     workingNodePath.I workingNodePath.h
 
@@ -204,7 +203,6 @@
     textureStageCollection.cxx \
     transformState.cxx \
     transparencyAttrib.cxx \
-    uvScrollNode.cxx \
     weakNodePath.cxx \
     workingNodePath.cxx
 
@@ -300,7 +298,6 @@
     textureStageCollection.I textureStageCollection.h \
     transformState.I transformState.h \
     transparencyAttrib.I transparencyAttrib.h \
-    uvScrollNode.I uvScrollNode.h \
     weakNodePath.I weakNodePath.h \
     workingNodePath.I workingNodePath.h
 

+ 0 - 3
panda/src/pgraph/config_pgraph.cxx

@@ -86,7 +86,6 @@
 #include "transformState.h"
 #include "transparencyAttrib.h"
 #include "nodePathLerps.h"
-#include "uvScrollNode.h"
 
 #include "dconfig.h"
 
@@ -484,7 +483,6 @@ init_libpgraph() {
   PosHprScaleLerpFunctor::init_type();
   ColorLerpFunctor::init_type();
   ColorScaleLerpFunctor::init_type();
-  UvScrollNode::init_type();
 
   AlphaTestAttrib::register_with_read_factory();
   AntialiasAttrib::register_with_read_factory();
@@ -534,7 +532,6 @@ init_libpgraph() {
   TexGenAttrib::register_with_read_factory();
   TransformState::register_with_read_factory();
   TransparencyAttrib::register_with_read_factory();
-  UvScrollNode::register_with_read_factory();
 
   // By initializing the _states map up front, we also guarantee that
   // the _states_lock mutex gets created before we spawn any threads

+ 6 - 3
panda/src/pgraphnodes/Sources.pp

@@ -27,7 +27,8 @@
     sequenceNode.h sequenceNode.I \
     shaderGenerator.h shaderGenerator.I \
     spotlight.h spotlight.I \
-    switchNode.h switchNode.I
+    switchNode.h switchNode.I \
+    uvScrollNode.I uvScrollNode.h
 
   #define INCLUDED_SOURCES \
     ambientLight.cxx \
@@ -45,7 +46,8 @@
     sequenceNode.cxx \
     shaderGenerator.cxx \
     spotlight.cxx \
-    switchNode.cxx
+    switchNode.cxx \
+    uvScrollNode.cxx
 
   #define INSTALL_HEADERS \
     ambientLight.h ambientLight.I \
@@ -63,7 +65,8 @@
     sequenceNode.h sequenceNode.I \
     shaderGenerator.h shaderGenerator.I \
     spotlight.h spotlight.I \
-    switchNode.h switchNode.I
+    switchNode.h switchNode.I \
+    uvScrollNode.I uvScrollNode.h
 
   #define IGATESCAN all
 

+ 3 - 0
panda/src/pgraphnodes/config_pgraphnodes.cxx

@@ -31,6 +31,7 @@
 #include "shaderGenerator.h"
 #include "spotlight.h"
 #include "switchNode.h"
+#include "uvScrollNode.h"
 
 #include "dconfig.h"
 
@@ -90,6 +91,7 @@ init_libpgraphnodes() {
   ShaderGenerator::init_type();
   Spotlight::init_type();
   SwitchNode::init_type();
+  UvScrollNode::init_type();
 
   AmbientLight::register_with_read_factory();
   CallbackNode::register_with_read_factory();
@@ -103,4 +105,5 @@ init_libpgraphnodes() {
   SequenceNode::register_with_read_factory();
   Spotlight::register_with_read_factory();
   SwitchNode::register_with_read_factory();
+  UvScrollNode::register_with_read_factory();
 }

+ 0 - 0
panda/src/pgraph/uvScrollNode.I → panda/src/pgraphnodes/uvScrollNode.I


+ 0 - 0
panda/src/pgraph/uvScrollNode.cxx → panda/src/pgraphnodes/uvScrollNode.cxx


+ 0 - 0
panda/src/pgraph/uvScrollNode.h → panda/src/pgraphnodes/uvScrollNode.h