Advance Blender 5.2 web parity through M12-03D
This commit is contained in:
@@ -30,7 +30,7 @@ if(WEB_ENGINE_THREADS)
|
||||
set(WEB_ENGINE_EXPORTED_RUNTIME_METHODS "['ccall','cwrap','PThread']")
|
||||
endif()
|
||||
target_link_options(web_engine PRIVATE
|
||||
"-sEXPORTED_FUNCTIONS=['_malloc','_free','_web_engine_create','_web_engine_destroy','_web_engine_get_memory_stats','_web_engine_get_live_handles','_web_engine_get_allocated_bytes','_web_engine_open_blend','_web_engine_apply_command','_web_engine_get_scene_snapshot','_web_engine_save_blend','_web_engine_free_buffer','_web_engine_last_error_code','_web_engine_last_error_message']"
|
||||
"-sEXPORTED_FUNCTIONS=['_malloc','_free','_web_engine_create','_web_engine_destroy','_web_engine_get_memory_stats','_web_engine_get_live_handles','_web_engine_get_allocated_bytes','_web_engine_open_blend','_web_engine_apply_command','_web_engine_append_library_object','_web_engine_get_scene_snapshot','_web_engine_save_blend','_web_engine_free_buffer','_web_engine_last_error_code','_web_engine_last_error_message']"
|
||||
"-sEXPORTED_RUNTIME_METHODS=${WEB_ENGINE_EXPORTED_RUNTIME_METHODS}"
|
||||
)
|
||||
set_target_properties(web_engine PROPERTIES OUTPUT_NAME "web_engine")
|
||||
|
||||
@@ -61,6 +61,21 @@ bool web_engine_blend_main_create_primitive(WebBlendMainState *,
|
||||
return false;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_append_object(WebBlendMainState *,
|
||||
const uint8_t *,
|
||||
uint32_t,
|
||||
const char *,
|
||||
const char *,
|
||||
const char *,
|
||||
const char *,
|
||||
const char *,
|
||||
std::string &,
|
||||
std::string &error)
|
||||
{
|
||||
error = "native smoke Main stub";
|
||||
return false;
|
||||
}
|
||||
|
||||
bool web_engine_blend_main_duplicate_object(WebBlendMainState *,
|
||||
const char *,
|
||||
const std::vector<float> &,
|
||||
|
||||
Reference in New Issue
Block a user