summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJ08nY <johny@neuromancer.sk>2016-06-07 11:46:07 +0200
committerJ08nY <johny@neuromancer.sk>2016-06-07 11:46:07 +0200
commit8a4eca8aa84ae79feba4c73f45af77b3dfde0e65 (patch)
tree480e9bcb8eb25386631825a49f0f64cdada39985 /core
parentdb5ea849d8f20296700e9f9d368dc41f6609ce5a (diff)
Exposed Image.INTERPOLATE_*
Diffstat (limited to 'core')
-rw-r--r--core/variant_call.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp
index eb3ab65f40..d427a80541 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() {