Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picture caching support, part 1 (of 2). #3332

Merged
merged 10 commits into from Nov 23, 2018

Support using the instance rect as the source for stretch size.

  • Loading branch information
gw3583 committed Nov 22, 2018
commit a521a1dd3d4d1834a40476015449f1ff62922408
@@ -73,6 +73,9 @@ void brush_vs(

RectWithSize local_rect = prim_rect;
vec2 stretch_size = image_data.stretch_size;
if (stretch_size.x < 0.0) {
stretch_size = local_rect.size;
}

// If this segment should interpolate relative to the
// segment, modify the parameters for that.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.