MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / logConversionError

Function logConversionError

plugins/base/utils/transform-setting.cpp:87–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86template<class T>
87static void logConversionError(T, const char *func, const char *target,
88 const char *value)
89{
90 if (std::is_same<T, std::invalid_argument>::value) {
91 blog(LOG_WARNING, "%s invalid %s value (%s)", func, target,
92 value);
93 } else {
94 blog(LOG_WARNING, "%s value out of range for %s (%s)", func,
95 target, value);
96 }
97}
98
99static void handleCrop(struct obs_sceneitem_crop &crop, const std::string &id,
100 const std::string &value)

Callers 4

handleCropFunction · 0.85
handlePosOrScaleOrBoundsFunction · 0.85
handleRotFunction · 0.85
SetTransformSettingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected