PhotoshopAPI icon indicating copy to clipboard operation
PhotoshopAPI copied to clipboard

findLayerAs() should return nullptr if layer cannot be found like findLayer()

Open EmilDohne opened this issue 3 months ago • 0 comments

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"))

EmilDohne avatar Mar 15 '24 19:03 EmilDohne