Skip to content

Commit bb265d4

Browse files
committed
Fix prop types for RoD and RoI (should be double)
Signed-off-by: Gary Oberbrunner <[email protected]>
1 parent f62c4be commit bb265d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/ofx-props.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,10 +1001,10 @@ properties:
10011001
type: double
10021002
dimension: 2
10031003
OfxImageEffectPropRegionOfDefinition:
1004-
type: int
1004+
type: double
10051005
dimension: 4
10061006
OfxImageEffectPropRegionOfInterest:
1007-
type: int
1007+
type: double
10081008
dimension: 4
10091009
OfxImageEffectPropRenderQualityDraft:
10101010
type: bool

openfx-cpp/include/openfx/ofxPropsMetadata.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,9 @@ static inline constexpr PropDefsArray<PropDef> prop_defs = {
432432
{ "OfxImageEffectPropProjectSize", PropId::OfxImageEffectPropProjectSize,
433433
{PropType::Double}, 1, 2, nullptr, 0},
434434
{ "OfxImageEffectPropRegionOfDefinition", PropId::OfxImageEffectPropRegionOfDefinition,
435-
{PropType::Int}, 1, 4, nullptr, 0},
435+
{PropType::Double}, 1, 4, nullptr, 0},
436436
{ "OfxImageEffectPropRegionOfInterest", PropId::OfxImageEffectPropRegionOfInterest,
437-
{PropType::Int}, 1, 4, nullptr, 0},
437+
{PropType::Double}, 1, 4, nullptr, 0},
438438
{ "OfxImageEffectPropRenderQualityDraft", PropId::OfxImageEffectPropRenderQualityDraft,
439439
{PropType::Bool}, 1, 1, nullptr, 0},
440440
{ "OfxImageEffectPropRenderScale", PropId::OfxImageEffectPropRenderScale,
@@ -746,8 +746,8 @@ DEFINE_PROP_TRAITS(OfxImageEffectPropPreMultiplication, const char *, false);
746746
DEFINE_PROP_TRAITS(OfxImageEffectPropProjectExtent, double, false);
747747
DEFINE_PROP_TRAITS(OfxImageEffectPropProjectOffset, double, false);
748748
DEFINE_PROP_TRAITS(OfxImageEffectPropProjectSize, double, false);
749-
DEFINE_PROP_TRAITS(OfxImageEffectPropRegionOfDefinition, int, false);
750-
DEFINE_PROP_TRAITS(OfxImageEffectPropRegionOfInterest, int, false);
749+
DEFINE_PROP_TRAITS(OfxImageEffectPropRegionOfDefinition, double, false);
750+
DEFINE_PROP_TRAITS(OfxImageEffectPropRegionOfInterest, double, false);
751751
DEFINE_PROP_TRAITS(OfxImageEffectPropRenderQualityDraft, bool, false);
752752
DEFINE_PROP_TRAITS(OfxImageEffectPropRenderScale, double, false);
753753
DEFINE_PROP_TRAITS(OfxImageEffectPropRenderWindow, int, false);

0 commit comments

Comments
 (0)