Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / render / render_shading.c
index 016013ab4927bdc0bf5f0fa0fca411234ee4f711..58dd67f4923b830092ceccdfd391752279c32d9e 100644 (file)
@@ -1785,6 +1785,8 @@ static void copy_mtex_copybuf(ID *id)
                case ID_LS:
                        mtex = &(((FreestyleLineStyle *)id)->mtex[(int)((FreestyleLineStyle *)id)->texact]);
                        break;
+               default:
+                       break;
        }
        
        if (mtex && *mtex) {