Closed EmilDohne closed 3 months ago
Currently if a layer cannot be found it actually throws an error but instead it should just return a nullptr. That way users can check if (auto lr = findLayerAs<T, GroupLayer>("path"))
nullptr
if (auto lr = findLayerAs<T, GroupLayer>("path"))
Currently if a layer cannot be found it actually throws an error but instead it should just return a
nullptr
. That way users can checkif (auto lr = findLayerAs<T, GroupLayer>("path"))