Open AndreyZhukov opened 4 years ago
Makes sense. We'll put it in the backlog
On the second though, this is actually already in the backlog, but we haven't had the time to implement it yet. #44
And actually, when you check "Auto Sync", it will only send the diffs of the objects that changed since the last sync happened. Have you tried this to make it lighter ?
Oh, nice then :)
Yeah, I know, in my case, I don't even need to sync meshes later, so I just leave bones sync (just to pose, having preview in realtime in Unity), but the first sync (with meshes) is pretty heavy. Yeah, I could prepare a super-light rig versions, having only few meshes attached, but this itself, plus switching between references is a bit time-consuming and inconvenient. Though I guess I will need to do that before this feature gets implemented.
hello hello it's been a year since this request, can you orient me in the code where is the fonction that select all meshes, for me to be able to make it "selected only" thanks by advance :)
It depends on the particular plugin that you want to add this feature to. The plugin code itself has been moved to https://github.com/Unity-Technologies/MeshSyncDCCPlugins
As an example, for Blender, please search for self.sendObjects(MeshSyncClient::ObjectScope::All, true);
It depends on the particular plugin that you want to add this feature to. The plugin code itself has been moved to https://github.com/Unity-Technologies/MeshSyncDCCPlugins
As an example, for Blender, please search for
self.sendObjects(MeshSyncClient::ObjectScope::All, true);
how thank you, sorry i wasn't specific enough, i'm looking for maya version
It's
msmayaGetContext().sendObjects(MeshSyncClient::ObjectScope::All, false);
under msmayaCommand.cpp
Thank you for the link ! i have modified the code for a "selected geo only" feature but i have trouble compiling the plugin for maya 2020 i have followed the step by step walk through and launch the sentence make_meshsync_dcc_plugin.bat MeshSync-0.7.1 but ended on this error
**C:\Users\jerome.desvignes\source\repos\MeshSyncDCCPlugins\Plugins~\Build>make_meshsync_dcc_plugin.bat MeshSync-0.7.1 cmake build Arguments: -DBUILD_MAYA_ALL=ON -- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.19042. Downloading MeshSync MeshSync-0.7.1 -- [download 100% complete] -- [download 0% complete] CMake Error at Build/cmake_modules/Utilities.cmake:18 (message): Could not download MeshSync MeshSync-0.7.1 ! Call Stack (most recent call first): Build/cmake_modules/MeshSync.cmake:12 (download_and_extract) CMakeLists.txt:74 (get_meshsync)
-- Configuring incomplete, errors occurred!**
any idea ?
For some reason, I missed reading this last comment and I apologize for that. All MeshSync packages are currently still in preview, and therefore, it should be "MeshSync-0.7.1-preview"
@JexD Excuse me, has your problem been resolved? Can you share some methods? Thank you very much!!!
I'd like to propose a feature. It would be great to have "Selected only" (for now I think about meshes, but can also include bones, cameras, lights, or just anything selected), checkbox. If it's checked, only selected stuff will be synced. It would help a lot (at least in my case), when you have a looot of meshes skinned to one rig, an if you have few of these rigs in a scene even manual sync is very heavy, slow. Then I just delete hidden meshes and disable Sync meshes to pose only visible ones.