fix for missing initialization of vert data in ccgDM_copyFinalVertArray
This commit is contained in:
@@ -141,7 +141,7 @@ def cmake_advanced_info():
|
|||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
cmd = 'cmake "%s" -G"Eclipse CDT4 - MinGW Makefiles"' % CMAKE_DIR
|
cmd = 'cmake "%s" -G"Eclipse CDT4 - MinGW Makefiles"' % CMAKE_DIR
|
||||||
else:
|
else:
|
||||||
if make_exe_basename.startswith("make") or make_exe_basename.startswith("gmake"):
|
if make_exe_basename.startswith(("make", "gmake")):
|
||||||
cmd = 'cmake "%s" -G"Eclipse CDT4 - Unix Makefiles"' % CMAKE_DIR
|
cmd = 'cmake "%s" -G"Eclipse CDT4 - Unix Makefiles"' % CMAKE_DIR
|
||||||
elif make_exe_basename.startswith("ninja"):
|
elif make_exe_basename.startswith("ninja"):
|
||||||
cmd = 'cmake "%s" -G"Eclipse CDT4 - Ninja"' % CMAKE_DIR
|
cmd = 'cmake "%s" -G"Eclipse CDT4 - Ninja"' % CMAKE_DIR
|
||||||
|
@@ -86,7 +86,7 @@ def makefile_log():
|
|||||||
make_exe = cmake_cache_var("CMAKE_MAKE_PROGRAM")
|
make_exe = cmake_cache_var("CMAKE_MAKE_PROGRAM")
|
||||||
make_exe_basename = os.path.basename(make_exe)
|
make_exe_basename = os.path.basename(make_exe)
|
||||||
|
|
||||||
if make_exe_basename.startswith("make") or make_exe_basename.startswith("gmake"):
|
if make_exe_basename.startswith(("make", "gmake")):
|
||||||
print("running 'make' with --dry-run ...")
|
print("running 'make' with --dry-run ...")
|
||||||
process = subprocess.Popen([make_exe, "--always-make", "--dry-run", "--keep-going", "VERBOSE=1"],
|
process = subprocess.Popen([make_exe, "--always-make", "--dry-run", "--keep-going", "VERBOSE=1"],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
|
@@ -1119,6 +1119,7 @@ static void ccgDM_copyFinalVertArray(DerivedMesh *dm, MVert *mvert)
|
|||||||
vd = ccgSubSurf_getFaceCenterData(f);
|
vd = ccgSubSurf_getFaceCenterData(f);
|
||||||
copy_v3_v3(mvert[i].co, CCG_elem_co(&key, vd));
|
copy_v3_v3(mvert[i].co, CCG_elem_co(&key, vd));
|
||||||
normal_float_to_short_v3(mvert[i].no, CCG_elem_no(&key, vd));
|
normal_float_to_short_v3(mvert[i].no, CCG_elem_no(&key, vd));
|
||||||
|
mvert[i].flag = mvert[i].bweight = 0;
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
for (S = 0; S < numVerts; S++) {
|
for (S = 0; S < numVerts; S++) {
|
||||||
|
Reference in New Issue
Block a user