mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 05:06:25 -04:00
turning off a camera spam
This commit is contained in:
parent
9e6fd852e3
commit
8cafde83f5
@ -859,17 +859,19 @@ process_model_node(MayaNodeDesc *node_desc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Extract some interesting Camera data
|
// Extract some interesting Camera data
|
||||||
mayaegg_cat.info() << " eyePoint: "
|
if (mayaegg_cat.is_spam()) {
|
||||||
<< camera.eyePoint(MSpace::kWorld) << endl;
|
mayaegg_cat.info() << " eyePoint: "
|
||||||
mayaegg_cat.info() << " upDirection: "
|
<< camera.eyePoint(MSpace::kWorld) << endl;
|
||||||
<< camera.upDirection(MSpace::kWorld) << endl;
|
mayaegg_cat.info() << " upDirection: "
|
||||||
mayaegg_cat.info() << " viewDirection: "
|
<< camera.upDirection(MSpace::kWorld) << endl;
|
||||||
<< camera.viewDirection(MSpace::kWorld) << endl;
|
mayaegg_cat.info() << " viewDirection: "
|
||||||
mayaegg_cat.info() << " aspectRatio: " << camera.aspectRatio() << endl;
|
<< camera.viewDirection(MSpace::kWorld) << endl;
|
||||||
mayaegg_cat.info() << " horizontalFilmAperture: "
|
mayaegg_cat.info() << " aspectRatio: " << camera.aspectRatio() << endl;
|
||||||
<< camera.horizontalFilmAperture() << endl;
|
mayaegg_cat.info() << " horizontalFilmAperture: "
|
||||||
mayaegg_cat.info() << " verticalFilmAperture: "
|
<< camera.horizontalFilmAperture() << endl;
|
||||||
<< camera.verticalFilmAperture() << endl;
|
mayaegg_cat.info() << " verticalFilmAperture: "
|
||||||
|
<< camera.verticalFilmAperture() << endl;
|
||||||
|
}
|
||||||
|
|
||||||
} else if (dag_path.hasFn(MFn::kLight)) {
|
} else if (dag_path.hasFn(MFn::kLight)) {
|
||||||
if (mayaegg_cat.is_debug()) {
|
if (mayaegg_cat.is_debug()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user