| Index: Source/bindings/templates/conversions.cpp
|
| diff --git a/Source/bindings/templates/conversions.cpp b/Source/bindings/templates/conversions.cpp
|
| index fdf9d7815aed9abea7f9c0e074b5894594c9be78..8747d9a4dad46d5c2056646f7dddb1fe19efe02c 100644
|
| --- a/Source/bindings/templates/conversions.cpp
|
| +++ b/Source/bindings/templates/conversions.cpp
|
| @@ -17,8 +17,13 @@
|
| {% endif %}
|
| {% else %}{# item.declare_variable #}
|
| {% if item.assign_expression %}
|
| +{% if thing.is_raw_primitive %}
|
| +{{item.cpp_name}}Value = {{item.assign_expression}};
|
| +{{item.cpp_name}} = &{{item.cpp_name}}Value;
|
| +{% else %}
|
| {{item.cpp_name}} = {{item.assign_expression}};
|
| {% endif %}
|
| +{% endif %}
|
| {% endif %}{# item.declare_variable #}
|
| {% if item.set_expression %}
|
| {{item.set_expression}};
|
|
|