# HG changeset patch # User František Kučera # Date 1704214163 -3600 # Node ID 22827574296ea2624599c940432c7176cc9c6d07 # Parent e15d04d98fca531a355f92388491486d067de72b reset texture scale back to 1:1, if xattr is missing diff -r e15d04d98fca -r 22827574296e Shark.cpp --- a/Shark.cpp Sat Dec 30 01:18:32 2023 +0100 +++ b/Shark.cpp Tue Jan 02 17:49:23 2024 +0100 @@ -570,6 +570,8 @@ == std::errc{}) tex->setScale(sc); else std::cerr << "Invalid texture scale value - expecting float\n"; // tex->setScale(std::stof(scale)); // locale-dependent (. vs ,) + } else { + tex->setScale(1.); } }