Skip to content

Commit e18938a

Browse files
committed
Minor improvements
Signed-off-by: Doug Walker <[email protected]>
1 parent 3e7f95a commit e18938a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/OpenColorIO/Config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ void Config::validate() const
14611461
os << "Config failed color space validation. ";
14621462
os << "The color space '" << name << "' ";
14631463
os << "refers to an interop ID, '" << interop << "', ";
1464-
os << "which is not defined in this config.";
1464+
os << "which is not a color space name or alias.";
14651465
getImpl()->m_validationtext = os.str();
14661466
throw Exception(getImpl()->m_validationtext.c_str());
14671467
}

src/OpenColorIO/ViewingRules.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class ViewingRule
9191
os << "The rule '" << m_name << "' ";
9292
os << "refers to encoding '" << std::string(encName);
9393
os << "' that is not used by any of the color spaces.";
94-
LogWarning(os.str());
94+
LogInfo(os.str());
9595
}
9696
}
9797
if (numCS + numEnc == 0)

src/apps/ociocheck/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,11 +641,11 @@ int main(int argc, const char **argv)
641641
StringUtils::StringVec svec = StringUtils::SplitByLines(logGuard.output());
642642
if (!StringUtils::Contain(svec, "[OpenColorIO Error]"))
643643
{
644-
std::cout << "passed" << std::endl;
644+
std::cout << "Validation: passed" << std::endl;
645645
}
646646
else
647647
{
648-
std::cout << "failed" << std::endl;
648+
std::cout << "Validation: failed" << std::endl;
649649
errorcount += 1;
650650
}
651651
}
@@ -654,7 +654,7 @@ int main(int argc, const char **argv)
654654
std::cout << "ERROR:" << std::endl;
655655
errorcount += 1;
656656
std::cout << exception.what() << std::endl;
657-
std::cout << "failed" << std::endl;
657+
std::cout << "Validation: failed" << std::endl;
658658
}
659659

660660
std::cout << std::endl;

tests/cpu/ColorSpace_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ active_views: []
715715
OCIO_CHECK_THROW_WHAT(config->validate(),
716716
OCIO::Exception,
717717
"Config failed color space validation. The color space 'raw' refers "
718-
"to an interop ID, 'data', which is not defined in this config.");
718+
"to an interop ID, 'data', which is not a color space name or alias.");
719719
}
720720

721721
// Test that the interop id can be found in another color space.

0 commit comments

Comments
 (0)