Browse Source

Fixes for POD string format

Josh Engebretson 9 years ago
parent
commit
987b9bab92
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/AtomicEditor/Editors/SceneEditor3D/SceneSelection.cpp

+ 2 - 2
Source/AtomicEditor/Editors/SceneEditor3D/SceneSelection.cpp

@@ -437,7 +437,7 @@ void SceneSelection::HandleSceneEditComponentCopy(StringHash eventType, VariantM
 
     if (!component)
     {
-        LOGERRORF("Component Copy: Unable to copy component from node: %s", component->GetAttribute("type").ToString());
+        LOGERRORF("Component Copy: Unable to copy component from node: %s", component->GetAttribute("type").ToString().CString());
         return;
     }
 
@@ -462,7 +462,7 @@ void SceneSelection::HandleSceneEditComponentPaste(StringHash eventType, Variant
 
     if (!component)
     {
-        LOGERRORF("Component Paste: Unable to paste component to node: %s", component->GetAttribute("type").ToString());
+        LOGERRORF("Component Paste: Unable to paste component to node: %s", component->GetAttribute("type").ToString().CString());
         return;
     }