mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
texGenAttrib.cxx hardcoded texture corrected
This commit is contained in:
parent
836cc8224d
commit
e0245577d8
@ -78,6 +78,7 @@
|
||||
renderEffects.I renderEffects.h \
|
||||
renderModeAttrib.I renderModeAttrib.h \
|
||||
renderState.I renderState.h \
|
||||
seaPatchNode.I seaPatchNode.h \
|
||||
sceneGraphAnalyzer.h \
|
||||
sceneGraphReducer.I sceneGraphReducer.h \
|
||||
sceneSetup.I sceneSetup.h \
|
||||
@ -167,6 +168,7 @@
|
||||
renderEffects.cxx \
|
||||
renderModeAttrib.cxx \
|
||||
renderState.cxx \
|
||||
seaPatchNode.cxx \
|
||||
sceneGraphAnalyzer.cxx \
|
||||
sceneGraphReducer.cxx \
|
||||
sceneSetup.cxx \
|
||||
@ -253,6 +255,7 @@
|
||||
renderEffects.I renderEffects.h \
|
||||
renderModeAttrib.I renderModeAttrib.h \
|
||||
renderState.I renderState.h \
|
||||
seaPatchNode.I seaPatchNode.h \
|
||||
sceneGraphAnalyzer.h \
|
||||
sceneGraphReducer.I sceneGraphReducer.h \
|
||||
sceneSetup.I sceneSetup.h \
|
||||
|
@ -72,8 +72,10 @@
|
||||
#include "renderEffects.h"
|
||||
#include "renderModeAttrib.h"
|
||||
#include "renderState.h"
|
||||
#include "seaPatchNode.h"
|
||||
#include "selectiveChildNode.h"
|
||||
#include "sequenceNode.h"
|
||||
//#include "shaderNode.h"
|
||||
#include "showBoundsEffect.h"
|
||||
#include "spotlight.h"
|
||||
#include "switchNode.h"
|
||||
@ -224,8 +226,10 @@ init_libpgraph() {
|
||||
RenderEffects::init_type();
|
||||
RenderModeAttrib::init_type();
|
||||
RenderState::init_type();
|
||||
SeaPatchNode::init_type();
|
||||
SelectiveChildNode::init_type();
|
||||
SequenceNode::init_type();
|
||||
// ShaderNode::init_type();
|
||||
ShowBoundsEffect::init_type();
|
||||
Spotlight::init_type();
|
||||
SwitchNode::init_type();
|
||||
|
@ -27,10 +27,12 @@
|
||||
#include "renderEffects.cxx"
|
||||
#include "renderModeAttrib.cxx"
|
||||
#include "renderState.cxx"
|
||||
#include "seaPatchNode.cxx"
|
||||
#include "sceneGraphAnalyzer.cxx"
|
||||
#include "sceneGraphReducer.cxx"
|
||||
#include "selectiveChildNode.cxx"
|
||||
#include "sequenceNode.cxx"
|
||||
//#include "shaderNode.cxx"
|
||||
#include "showBoundsEffect.cxx"
|
||||
#include "spotlight.cxx"
|
||||
#include "switchNode.cxx"
|
||||
|
@ -35,11 +35,13 @@ TypeHandle TexGenAttrib::_type_handle;
|
||||
CPT(RenderAttrib) TexGenAttrib::
|
||||
make(Mode mode) {
|
||||
TexGenAttrib *attrib = new TexGenAttrib(mode);
|
||||
#if 0
|
||||
attrib->_texture = TexturePool::load_texture("/usr/masad/player/pmockup/maps/moon-card.rgb", 1);
|
||||
if (attrib->_texture)
|
||||
pgraph_cat.debug() << *(attrib->_texture) << endl;
|
||||
else
|
||||
return (TexGenAttrib *)NULL;
|
||||
#endif
|
||||
return return_new(attrib);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user