Add color sliders to sketch3d

This commit is contained in:
elushaX 2024-03-20 20:00:52 -07:00
parent 70daeeea54
commit 5f0ce77fca
5 changed files with 127 additions and 5 deletions

View file

@ -315,10 +315,6 @@ void Project::sample(halnf pressure, halnf cameraRatio, Vec2F relativeCameraPos)
if (idx) {
auto brush = mBrushes.getSlotVal(idx);
if (brush->mType == "pencil") {
((tp::PencilBrush*) brush)->mCol = RGBA(1.f);
}
brush->sample(this, relativeCameraPos, pressure);
}
}