2b55d7895c
Fix T38403: Laplacian smooth on instanced objects leads to crash.
...
The laplacian modifiers (smooth and deform) use the OpenNL library,
which is not threadsafe due to the use of a global context variable.
Ideally this would be changed so that an explicit context can be
created for every caller of the OpenNL functions, but since OpenNL's
most recent version is from 2010 this is unlikely to happen.
As a workaround for now just use a mutex to prevent conflicting OpenNL
calls. Eventually OpenNL can be replaced by eigen or ceres.
2014-01-30 13:09:32 +01:00
a5c35fb27f
Code cleanup: use booleans where appropriate
2014-01-28 04:00:04 +11:00
d490e686f0
Fix T38100: laplacian smooth crash
2014-01-08 03:56:43 +11:00
158b4e61a0
Mesh Modifiers: refactor copying using a generic function
2013-12-22 04:37:26 +11:00
2b4c68b902
CMake Build: option to compile without opennl/superlu.
2013-11-25 15:36:19 +11:00
00b39c4e5b
code cleanup: more confusion with 0/NULL/false
2013-08-07 03:55:21 +00:00
922320f86e
fix own regression [ #36154 ] Simple deform modifier doesn't recalculate normals
...
get_cddm and get_dm are called within modifiers so they wont ensure normals are valid, added an arg to optionally ensure valid normals.
2013-07-16 08:24:53 +00:00
c423e3ed8f
code cleanup: warn undefined compiler defines.
2013-06-08 05:24:55 +00:00
e648ca8862
use booleans for modifiers and api callbacks.
2013-06-02 03:59:19 +00:00
6da961775f
code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-13 20:31:52 +00:00
0d0291f6e1
code cleanup: incorrect sized array args, remove some redundant code.
2013-03-17 10:26:23 +00:00
c36f20a7d2
style cleanup
2013-03-08 04:00:06 +00:00
456a2d9de7
Fix for [ #33959 ] laplacian smooth gui buggy
...
* Made the property UI range do bigger steps.
* Increased default values a bit. If people need extreme small values (0.00001) they can enter that manually.
2013-01-23 14:19:01 +00:00
3406bafc59
comments for RNA_def_property_ui_range() and clamp some out-of-range values.
2013-01-22 11:23:05 +00:00
044e3398b9
Improved performance for multiple iterations, keeping the same laplacian matrix.
2013-01-21 19:33:58 +00:00
162c331417
style cleanup
2013-01-19 06:12:25 +00:00
ee0eb394c9
use openmp sections for felling origindex arrays
2013-01-18 06:26:06 +00:00
9e8c509213
The problem of the peaks is corrected with the use of the normalized version.
2013-01-17 19:19:02 +00:00
3f647ed6af
code cleanup: double, float - conversion warnings.
2013-01-16 23:07:24 +00:00
f1cd290e08
Shape enhanced method exaggerates a shape using a Laplacian smoothing operator in the reverse direction.
...
http://wiki.blender.org/index.php/User:Apinzonf/shape_enhanced
2013-01-16 19:38:50 +00:00
dbdc76c9d0
code cleanup: make bmesh operator names more consistant since python has access to these as input arguments and return values.
...
all output values currently have ".out" suffix, this may go in the future, but for now it makes it clear in C code what are inputs and outputs.
2012-11-20 05:50:19 +00:00
9b948717b0
code cleanup: float <> double conversion.
2012-11-03 18:23:30 +00:00
25591e958d
style cleanup: tabs & whitespace
2012-11-03 15:35:03 +00:00
Lukas Toenne
91584b0f0c
Fix for missing bracket in r51674.
2012-10-27 11:10:12 +00:00
aeba4950c3
style cleanup
2012-10-27 10:42:28 +00:00
c93978d445
code cleanup: some edits for unused vars in recent smooth addition and some style edits.
2012-10-24 11:31:57 +00:00
3ce334e188
Merge GSoC project from branch: Laplacian Smooth (Operator & Modifier)
...
by Alexander Pinzon Fernandez (apinzonf)
Supported by Google Summer of Code 2012
Project Documentation:
http://wiki.blender.org/index.php/User:Apinzonf
Manual Page:
http://wiki.blender.org/index.php/User:Apinzonf/Doc:2.6/Manual/Modifiers/Deform/Laplacian_Smooth
2012-10-24 10:39:11 +00:00