diff --git a/SpeckleConnector/Connector/Interface/Browser/Bridge/Base/GetDocumentState.cpp b/SpeckleConnector/Connector/Interface/Browser/Bridge/Base/GetDocumentState.cpp index 04d0f6c..ed812b5 100644 --- a/SpeckleConnector/Connector/Interface/Browser/Bridge/Base/GetDocumentState.cpp +++ b/SpeckleConnector/Connector/Interface/Browser/Bridge/Base/GetDocumentState.cpp @@ -13,12 +13,6 @@ using namespace connector::database; using namespace connector::record; using namespace speckle::utility; -namespace { - - using WrappedValue = active::serialise::CargoHold>, Vector>; - -} - /*-------------------------------------------------------------------- Default constructor --------------------------------------------------------------------*/ diff --git a/SpeckleConnector/RFIX.WIN/Connector.rc b/SpeckleConnector/RFIX.WIN/Connector.rc index 8a453da..4a82144 100644 --- a/SpeckleConnector/RFIX.WIN/Connector.rc +++ b/SpeckleConnector/RFIX.WIN/Connector.rc @@ -8,6 +8,7 @@ #include "Connector.grc.rc2" #include "ConnectorMenu.grc.rc2" #include "SpecklePalette.grc.rc2" +#include "Speckle.grc.rc2" #include "ConnectorFix.grc.rc2" diff --git a/SpeckleLib/Make.win/buildResAC.bat b/SpeckleLib/Make.win/buildResAC.bat index 622e09d..cfb508f 100644 --- a/SpeckleLib/Make.win/buildResAC.bat +++ b/SpeckleLib/Make.win/buildResAC.bat @@ -3,6 +3,7 @@ REM AC Resource build script ECHO "Building AC Resources" if not exist "%RES_OUTPUT%" MD "%RES_OUTPUT%" -python "%HEADER_PATH_5%\Tools\CompileResources.py" "INT" "%HEADER_PATH_5%\.." "%HEADER_PATH_6%Source" "%SYMROOT%\" "%RES_OUTPUT%" "%RES_SOURCE%\CodesignImport.apx.mui" +python "%HEADER_PATH_5%\Tools\CompileResources.py" "INT" "%HEADER_PATH_5%\.." "%HEADER_PATH_6%\Connector" "%SYMROOT%\" "%RES_OUTPUT%" "%RES_SOURCE%\Speckle Connector.apx.mui" +python "%HEADER_PATH_5%\Tools\CompileResources.py" "INT" "%HEADER_PATH_5%\.." "%HEADER_PATH_4%\Speckle" "%HEADER_PATH_4%" "%RES_OUTPUT%" "%RES_SOURCE%\Speckle Connector.apx.mui" ECHO "Finished AC Resource" diff --git a/SpeckleLib/Speckle/Environment/Project.cpp b/SpeckleLib/Speckle/Environment/Project.cpp index ead4930..69722ed 100644 --- a/SpeckleLib/Speckle/Environment/Project.cpp +++ b/SpeckleLib/Speckle/Environment/Project.cpp @@ -41,25 +41,21 @@ Project::Info Project::getInfo() const { #ifdef ARCHICAD API_ProjectInfo projectInfo; if (ACAPI_ProjectOperation_Project(&projectInfo) == NoError) { - if (projectInfo.projectName != nullptr) + if ((projectInfo.projectName != nullptr) && !projectInfo.projectName->IsEmpty()) result.name = *projectInfo.projectName; result.isShared = projectInfo.teamwork; - if (projectInfo.teamwork) { - if (projectInfo.projectPath != nullptr) - result.path = String{*projectInfo.projectPath}; - else if (projectInfo.location_team != nullptr) { + if ((projectInfo.projectPath != nullptr) && !projectInfo.projectPath->IsEmpty()) + result.path = String{*projectInfo.projectPath}; + else if (projectInfo.teamwork) { + if (projectInfo.location_team != nullptr) { GS::UniString path; if (projectInfo.location_team->ToPath(&path) == NoError) result.path = String{path}; } - } else { - if (projectInfo.projectPath != nullptr) - result.path = String{*projectInfo.projectPath}; - else if (projectInfo.location != nullptr) { - GS::UniString path; - if (projectInfo.location->ToPath(&path) == NoError) - result.path = String{path}; - } + } else if (projectInfo.location != nullptr) { + GS::UniString path; + if (projectInfo.location->ToPath(&path) == NoError) + result.path = String{path}; } } #endif diff --git a/SpeckleLib/SpeckleLib17.vcxproj b/SpeckleLib/SpeckleLib17.vcxproj index e79772c..3c8e9f8 100644 --- a/SpeckleLib/SpeckleLib17.vcxproj +++ b/SpeckleLib/SpeckleLib17.vcxproj @@ -27,6 +27,7 @@ + @@ -58,10 +59,12 @@ + + @@ -70,10 +73,12 @@ + + @@ -97,6 +102,7 @@ + diff --git a/SpeckleLib/SpeckleLib17.vcxproj.filters b/SpeckleLib/SpeckleLib17.vcxproj.filters index 078a9b6..c2784c1 100644 --- a/SpeckleLib/SpeckleLib17.vcxproj.filters +++ b/SpeckleLib/SpeckleLib17.vcxproj.filters @@ -193,6 +193,15 @@ Speckle\Database\Storage\DocumentStore + + Speckle\Environment + + + Speckle + + + Speckle + @@ -270,6 +279,12 @@ Speckle\Database\Storage\DocumentStore + + Speckle\Environment + + + Speckle\Event\Type + @@ -295,5 +310,8 @@ Speckle\Serialise + + Resource Files + \ No newline at end of file