X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmaskauto.h;h=6af17c3ab34f8e1ddb4a23f21da4513b0b83a097;hb=bd7011a86f60b4ef1abf11e2667373eba3a98c99;hp=7ebb15672a9816a94a97834442678dc271b22992;hpb=fb661e853152fd63537629a20f493a4cdcd4f019;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/maskauto.h b/cinelerra-5.1/cinelerra/maskauto.h index 7ebb1567..6af17c3a 100644 --- a/cinelerra-5.1/cinelerra/maskauto.h +++ b/cinelerra-5.1/cinelerra/maskauto.h @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -49,9 +50,8 @@ class MaskCoord { public: double x, y, z; }; class MaskEdge : public ArrayList { public: - MaskCoord &append() { return ArrayList::append(); } MaskCoord &append(double x, double y, double z=0) { - MaskCoord &c = append(); + MaskCoord &c = ArrayList::append(); c.x = x; c.y = y; c.z = z; return c; } @@ -81,6 +81,8 @@ public: }; #define FEATHER_MAX 100 +// GL reg limit 1024 incls shader param list +#define MAX_FEATHER 1000 class SubMask { @@ -96,8 +98,8 @@ public: void dump(FILE *fp); char name[BCSTRLEN]; - float fader; // -100 - 100 - float feather; // -100 - 100 + float fader; + float feather; MaskPoints points; MaskAuto *keyframe; };