From 8a4eca8aa84ae79feba4c73f45af77b3dfde0e65 Mon Sep 17 00:00:00 2001 From: J08nY Date: Tue, 7 Jun 2016 11:46:07 +0200 Subject: [PATCH] Exposed Image.INTERPOLATE_* --- core/variant_call.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/variant_call.cpp b/core/variant_call.cpp index eb3ab65f403..d427a805415 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -1663,6 +1663,9 @@ _VariantCall::addfunc(Variant::m_vtype,Variant::m_ret,_SCS(#m_method),VCALL(m_cl _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_ATC_ALPHA_INTERPOLATED"]=Image::FORMAT_ATC_ALPHA_INTERPOLATED; _VariantCall::constant_data[Variant::IMAGE].value["FORMAT_CUSTOM"]=Image::FORMAT_CUSTOM; + _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_NEAREST"]=Image::INTERPOLATE_NEAREST; + _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_BILINEAR"]=Image::INTERPOLATE_BILINEAR; + _VariantCall::constant_data[Variant::IMAGE].value["INTERPOLATE_CUBIC"]=Image::INTERPOLATE_CUBIC; } void unregister_variant_methods() {