File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ class CppExporter final : public ExporterBase {
2424 void setState (DynamicObject::Ptr globalState) override
2525 {
2626 auto const state = globalState->getProperty (" cpp" ).getDynamicObject ();
27+ if (!state) return ;
2728 inputPatchValue = state->getProperty (" input_patch_value" );
2829 projectNameValue = state->getProperty (" project_name_value" );
2930 projectCopyrightValue = state->getProperty (" project_copyright_value" );
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ class DPFExporter final : public ExporterBase {
9696 void setState (DynamicObject::Ptr globalState) override
9797 {
9898 auto const state = globalState->getProperty (" dpf" ).getDynamicObject ();
99+ if (!state) return ;
99100 inputPatchValue = state->getProperty (" input_patch_value" );
100101 projectNameValue = state->getProperty (" project_name_value" );
101102 projectCopyrightValue = state->getProperty (" project_copyright_value" );
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ class DaisyExporter final : public ExporterBase {
121121 void setState (DynamicObject::Ptr globalState) override
122122 {
123123 auto const state = globalState->getProperty (" daisy" ).getDynamicObject ();
124+ if (!state) return ;
124125 inputPatchValue = state->getProperty (" input_patch_value" );
125126 projectNameValue = state->getProperty (" project_name_value" );
126127 projectCopyrightValue = state->getProperty (" project_copyright_value" );
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ class OWLExporter final : public ExporterBase {
6565 void setState (DynamicObject::Ptr globalState) override
6666 {
6767 auto const state = globalState->getProperty (" owl" ).getDynamicObject ();
68+ if (!state) return ;
6869 inputPatchValue = state->getProperty (" input_patch_value" );
6970 projectNameValue = state->getProperty (" project_name_value" );
7071 projectCopyrightValue = state->getProperty (" project_copyright_value" );
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ class PdExporter final : public ExporterBase {
4040 void setState (DynamicObject::Ptr globalState) override
4141 {
4242 auto const state = globalState->getProperty (" pdext" ).getDynamicObject ();
43+ if (!state) return ;
4344 inputPatchValue = state->getProperty (" input_patch_value" );
4445 projectNameValue = state->getProperty (" project_name_value" );
4546 projectCopyrightValue = state->getProperty (" project_copyright_value" );
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ class WASMExporter final : public ExporterBase {
3737 void setState (DynamicObject::Ptr globalState) override
3838 {
3939 auto const state = globalState->getProperty (" wasm" ).getDynamicObject ();
40+ if (!state) return ;
4041 inputPatchValue = state->getProperty (" input_patch_value" );
4142 projectNameValue = state->getProperty (" project_name_value" );
4243 projectCopyrightValue = state->getProperty (" project_copyright_value" );
You can’t perform that action at this time.
0 commit comments