*/}}
YimingWu 1 month ago
parent
commit
c4e6a87b1e
2 changed files with 2 additions and 1 deletions
  1. 1 1
      CMakeLists.txt
  2. 1 0
      ouroperations.c

+ 1 - 1
CMakeLists.txt

@@ -80,7 +80,7 @@ target_link_libraries(OurPaint
 )
 
 SET(INSTALL_EXTRAS
-    README.md default_brushes.udf COPYING COPYING_CC_BY_NC)
+    README.md default_brushes.udf default_pallettes.udf COPYING COPYING_CC_BY_NC)
 
 SET(LAGUI_FONT_CUSTOM_PATH  $ENV{HOME}/.local/share/fonts/lagui CACHE STRING "Where to find lagui fonts")
 

+ 1 - 0
ouroperations.c

@@ -984,6 +984,7 @@ int our_LayerEnsureImageBuffer(OurLayer* ol, int OnlyCalculate){
     }
     return 1;
 }
+void our_LayerClearEmptyTiles(OurLayer* ol);
 int our_CanvasEnsureImageBuffer(){
     int x=INT_MAX,y=INT_MAX,w=-INT_MAX,h=-INT_MAX;
     for(OurLayer* l=Our->Layers.pFirst;l;l=l->Item.pNext){