| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index 0c2bedb14fc9967f5e26b20976f8f30a1b297742..b4a96e35a4770053af4b541d526cd1bd050660f6 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -6,7 +6,8 @@
|
| {% set getter_callback =
|
| '%sV8Internal::%sAttributeGetterCallback' %
|
| (cpp_class, attribute.name)
|
| - if not attribute.constructor_type else
|
| + if not attribute.constructor_type or
|
| + attribute.needs_constructor_callback else
|
| '{0}V8Internal::{0}ConstructorGetter'.format(cpp_class) %}
|
| {% set getter_callback_for_main_world =
|
| '%sV8Internal::%sAttributeGetterCallbackForMainWorld' %
|
|
|