Skip to content

Commit 1670da5

Browse files
committed
GUI tweaks, version update
1 parent e04c99b commit 1670da5

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

DazStudioPlugin/DzRobloxAction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1558,8 +1558,8 @@ bool DzRobloxAction::executeBlenderScripts(QString sFilePath, QString sCommandli
15581558
{
15591559
QString sTimeoutText = tr("\
15601560
The current Blender operation is taking a long time.\n\
1561-
Do you want to Ignore this message and keep going. or\
1562-
Do you want to Abort the operation?");
1561+
Do you want to Ignore this time-out and wait a little longer, or \n\
1562+
Do you want to Abort the operation now?");
15631563
int result = QMessageBox::critical(0,
15641564
tr("Daz To Roblox: Blender Timout Error"),
15651565
sTimeoutText,
-301 Bytes
Binary file not shown.

DazStudioPlugin/real_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#define VER_MAJOR 2024
55
#define VER_MINOR 1
66
#define VER_REV 3
7-
#define VER_BUILD 241
7+
#define VER_BUILD 244
88

99
#define TOSTRING(x) #x
1010
#define VERSION_STRING TOSTRING(VER_MAJOR) "." TOSTRING(VER_MINOR) "." TOSTRING(VER_REV) "." TOSTRING(VER_BUILD)

PluginData/game_readiness_tools.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,7 @@ def create_vertex_at_loc(bm, location):
13581358

13591359

13601360
def remove_obscured_faces(obj, offset=0.001, threshold_list=[0.5, 1.0, 1.5]):
1361+
print(f"DEBUG: remove_obscured_faces(): obj={obj.name}, offset={offset}, threshold_list={threshold_list}")
13611362
# Object Mode
13621363
bpy.ops.object.mode_set(mode='OBJECT')
13631364

@@ -1437,6 +1438,7 @@ def get_triangle_count(obj):
14371438
return triangles_count
14381439

14391440
def adjust_decimation_to_target(obj, target_triangles, tolerance=0.01):
1441+
print(f"DEBUG: adjust_decimation_to_target(): obj={obj.name}, target_triangles={target_triangles}, tolerance={tolerance}")
14401442
# Ensure the object has a Decimate modifier
14411443
decimate_mod = next((mod for mod in obj.modifiers if mod.type == 'DECIMATE'), None)
14421444
if not decimate_mod:
@@ -1471,4 +1473,4 @@ def adjust_decimation_to_target(obj, target_triangles, tolerance=0.01):
14711473
else:
14721474
low_ratio = current_ratio
14731475

1474-
print(f"Final ratio: {current_ratio:.4f}, Triangles: {current_triangles}")
1476+
print(f"Final decimation ratio: {current_ratio:.4f}, Triangles: {current_triangles}")

0 commit comments

Comments
 (0)