more asChar() fixes

This commit is contained in:
David Rose 2005-01-14 22:48:57 +00:00
parent 98aabb1568
commit 8721524b7d
2 changed files with 8 additions and 5 deletions

View File

@ -64,7 +64,7 @@ find_shader_for_node(MObject node) {
if (!status) {
// The node is not renderable. What are you thinking?
maya_cat.error()
<< node_fn.name() << " : not a renderable object.\n";
<< node_fn.name().asChar() << " : not a renderable object.\n";
return (MayaShader *)NULL;
}
@ -78,7 +78,7 @@ find_shader_for_node(MObject node) {
if (!status) {
// No shading group defined for this object.
maya_cat.error()
<< node_fn.name() << " : no shading group defined.\n";
<< node_fn.name().asChar() << " : no shading group defined.\n";
return (MayaShader *)NULL;
}
@ -96,7 +96,7 @@ find_shader_for_node(MObject node) {
// Well, we didn't find a ShadingEngine after all. Huh.
maya_cat.debug()
<< node_fn.name() << " : no shading engine found.\n";
<< node_fn.name().asChar() << " : no shading engine found.\n";
return (MayaShader *)NULL;
}

View File

@ -988,9 +988,12 @@ get_joint_transform(const MDagPath &dag_path, EggGroup *egg_group) {
MTransformationMatrix matrix(transform.transformationMatrix());
if (mayaegg_cat.is_spam()) {
MVector t = matrix.translation(MSpace::kWorld);
mayaegg_cat.spam()
<< " translation: " << matrix.translation(MSpace::kWorld)
<< "\n";
<< " translation: ["
<< t[0] << ", "
<< t[1] << ", "
<< t[2] << "]\n";
double d[3];
MTransformationMatrix::RotationOrder rOrder;