Just double checking, but are you saying more clicks would not un-ravel the arms incrementally, until the poses match? Try clicking multiple times until an additional click does not change anything more. Either the data needs to be either:
- sorted in MH,
- applied in a specific order in Blender, or
- call some Blender API call which recomputes all bones.
I got your invitation, thanks. Will still PR, but then merge myself. I am set up this way already, and doing PR sends email notifications where direct merges do not on Github. As I am on East coast US time, just doing PR at my end of day & you doing a merge at 3AM was not a problem.
Will implement one of the above, but also think there needs to be a little more heft to the exchange to happen. Now that errors can be passed back, the client should also pass the version in every call. The ability to pass args might be useful, e.g. the position for detecting feet on ground. Think all calls should be:
'version-command-args'
Should probably also nest the "source" code under a directory called source. Reason is so that the client can be put in a zip file, "client.zip". I already have a xml build script that I used to great productivity advantage yesterday. Eclipse is my ide, so I just do a save / build. MH needs just needs to be restarted, & preference re-add with a uncheck - check sequence in Blender.
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<project name="deploy">
<property name="mountPoint" value= "/js-dev"/>
<property name="project" value= "${mountPoint}/community-plugins"/>
<property name="client_src" value= "${project}/mh_sync_mesh"/>
<property name="temp-dir" value= "${project}/temp"/>
<property name="temp-sub-dir" value= "${temp-dir}/mh_sync_mesh"/>
<property name="server_src" value= "${project}/8_server_socket"/>
<property name="server-dir" value= "/usr/share/makehuman/plugins/8_server_socket"/>
<!-- ===================== Client Section ============================ -->
<target name="make-zip">
<delete dir="${temp-sub-dir}" quiet="true"/>
<delete dir="${temp-dir}" quiet="true"/>
<mkdir dir="${temp-dir}"/>
<mkdir dir="${temp-sub-dir}"/>
<copy todir="${temp-sub-dir}">
<fileset dir="${client_src}"/>
</copy>
<zip destfile="${project}/client.zip" basedir="${temp-dir}" level="9"></zip>
<delete dir="${temp-sub-dir}" quiet="true"/>
<delete dir="${temp-dir}" quiet="true"/>
</target>
<!-- ===================== Server Section ============================ -->
<target name="to-server">
<copy todir="${server-dir}">
<fileset dir="${server_src}"/>
</copy>
</target>
</project>