mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
more asChar() fixes
This commit is contained in:
parent
98aabb1568
commit
8721524b7d
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user