Skip to content
  • Dmitry Kazakov's avatar
    Fix slowdown of animation playback in Krita · 9fa0c213
    Dmitry Kazakov authored
    There were two reasons for it:
    
    1) KisImageAnimationInterface::totalLength() used to recursively
       recalculate the length of the shot on every call to columnCount(),
       which is called from hasIndex() and as a consequence from everywhere.
    
    2) Layer properties icons and i18n in KisBaseNode::sectionModelProperties()
       were loaded every time from the resource files.
    
    Conflicts:
    	krita/image/kis_base_node.cpp
    	krita/image/kis_group_layer.cc
    	krita/image/kis_layer.cc
    	krita/image/kis_paint_layer.cc
    	krita/image/kis_selection_mask.cpp
    	krita/ui/canvas/kis_animation_player.cpp
    9fa0c213