[Bf-blender-cvs] [2bf059ad3b] uv_unwrapping_slim_algorithm: Category: UV Unwrapping SLIM Algorithm Integration

Aurel Gruber noreply at git.blender.org
Thu Feb 23 16:53:31 CET 2017


Commit: 2bf059ad3ba57aa300af6c5b5ab5c017efa980c8
Author: Aurel Gruber
Date:   Sat Feb 4 14:42:19 2017 +0100
Branches: uv_unwrapping_slim_algorithm
https://developer.blender.org/rB2bf059ad3ba57aa300af6c5b5ab5c017efa980c8

Category: UV Unwrapping SLIM Algorithm Integration

slim interactive exec now only for changing parameters

===================================================================

M	intern/SLIM
M	source/blender/editors/uvedit/uvedit_unwrap_ops.c

===================================================================

diff --git a/intern/SLIM b/intern/SLIM
index 94ed5ce815..8c6ee9dbdc 160000
--- a/intern/SLIM
+++ b/intern/SLIM
@@ -1 +1 @@
-Subproject commit 94ed5ce815517fc0c1215411ef2404686d80e1a0
+Subproject commit 8c6ee9dbdc60a9e2c3543eec38e71f9ca4fcd971
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
index 247c43c4c5..5920ecfecd 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
@@ -903,21 +903,10 @@ static void minimize_stretch_SLIM_exit(bContext *C, wmOperator *op, bool cancel)
 }
 
 /*	AUREL THESIS
-	NON-interactive version of interactive parametrisation. Every modal operator of blender has this mode.
-	In this case, it's obviously never used, since the "normal" non-interactive unwrapping method is to be preferred.
+	Used Only to adjust parameters.
  */
 static int minimize_stretch_SLIM_exec(bContext *C, wmOperator *op)
 {
-	int n_iterations = 1;
-
-	if (!minimize_stretch_SLIM_init(C, op))
-		return OPERATOR_CANCELLED;
-
-	MinStretchSlim *mss = op->customdata;
-
-	param_slim_C(mss->mt, n_iterations, true, true);
-
-	minimize_stretch_SLIM_exit(C, op, false);
 
 	return OPERATOR_FINISHED;
 }




More information about the Bf-blender-cvs mailing list