Cycles: svn merge -r41205:41225 ^/trunk/blender
[blender.git] / source / blender / editors / render / render_preview.c
index 7b0a056bb53a7603d9c7d94b4275736e0303decd..865d95d07ed18e7b8f5bbd9c17a3c0e58147d0c3 100644 (file)
@@ -123,8 +123,6 @@ ImBuf* get_brush_icon(Brush *brush)
                                if (!(brush->icon_imbuf)) {
                                        folder= BLI_get_folder(BLENDER_DATAFILES, "brushicons");
 
-                                       path[0]= 0;
-
                                        BLI_make_file_string(G.main->name, path, folder, brush->icon_filepath);
 
                                        if (path[0])