Skip to content

Commit

Permalink
Ready for v1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
david-c14 committed Jun 15, 2019
1 parent 38f3448 commit a70be4b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
24 changes: 13 additions & 11 deletions plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,71 @@
"name": "Modular Fungi",
"author": "Omri Cohen",
"license": "BSD-3",
"authorUrl": "https://vcvrack.submarine.org.uk",
"authorUrl": "https://www.youtube.com/channel/UCuWKHSHTHMV_nVSeNH4gYAg",
"pluginUrl": "https://vcvrack.submarine.org.uk/ModularFungi",
"sourceUrl": "https://github.com/david-c14/ModularFungi",
"donateUrl": "https://paypal.me/omricohencomposer",
"version": "1.0.0",
"modules": [
{
"slug":"Blank 1HP",
"name":"Blank 1HP",
"description":"1 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 3HP",
"name":"Blank 3HP",
"description":"3 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 4HP",
"name":"Blank 4HP",
"description":"4 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 6HP",
"name":"Blank 6HP",
"description":"6 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 10HP",
"name":"Blank 10HP",
"description":"10 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 12HP",
"name":"Blank 12HP",
"description":"12 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 16HP",
"name":"Blank 16HP",
"description":"16 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 20HP",
"name":"Blank 20HP",
"description":"20 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 26HP",
"name":"Blank 26HP",
"description":"26 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
},
{
"slug":"Blank 32HP",
"name":"Blank 32HP",
"description":"32 HP Blanking Plate",
"tags":["BLANK_TAG"]
"tags":["Blank"]
}
]
}
4 changes: 1 addition & 3 deletions src/Bitmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ void MFTexture::release() {
if (image)
nvgDeleteImage(context, image);
image = 0;
debug("Image Released %s", name.c_str());
}

std::shared_ptr<MFTexture> MFTextureList::load(NVGcontext *vg, std::string fileName, int imageFlags) {
Expand All @@ -35,7 +34,6 @@ std::shared_ptr<MFTexture> MFTextureList::load(NVGcontext *vg, std::string fileN
}
std::shared_ptr<MFTexture> tex = std::make_shared<MFTexture>(vg, fileName, imageFlags);
list.push_back(tex);
debug("Image loaded %s", fileName.c_str());
return tex;
}

Expand All @@ -46,7 +44,7 @@ void BitMap::DrawImage(NVGcontext *vg) {
loaded = true;
bitmap = gTextureList.load(vg, path, 0);
if (!bitmap->image)
warn("ModularFungi: Unable to load %s", path.c_str());
WARN("ModularFungi: Unable to load %s", path.c_str());
}
if (!bitmap->image)
return;
Expand Down
2 changes: 1 addition & 1 deletion src/Bitmap.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "rack0.hpp"
#include "rack.hpp"

using namespace rack;

Expand Down

0 comments on commit a70be4b

Please sign in to comment.