Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-04-17 21:57:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-17 22:08:03 +0300
commit05b6de545ac59dfa8487c94c0f2a7e75063fb8b3 (patch)
tree10541a3199bed41d5a3cd72010be87d205493878 /source/blender/blenkernel/intern
parentb0c2fdd927d1478ca76a312442f0c452a704607f (diff)
Fix T44390: Clay brush weirdness part-1
Clay brush had a feedback loop with dyntopo, getting the plane from the cursor center didn't support original data.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/pbvh.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c
index e12d685fb67..fdda72e4f7d 100644
--- a/source/blender/blenkernel/intern/pbvh.c
+++ b/source/blender/blenkernel/intern/pbvh.c
@@ -1430,6 +1430,15 @@ void BKE_pbvh_node_get_proxies(PBVHNode *node, PBVHProxyNode **proxies, int *pro
}
}
+void BKE_pbvh_node_get_bm_orco_data(
+ PBVHNode *node,
+ int (**r_orco_tris)[3], int *r_orco_tris_num, float (**r_orco_coords)[3])
+{
+ *r_orco_tris = node->bm_ortri;
+ *r_orco_tris_num = node->bm_tot_ortri;
+ *r_orco_coords = node->bm_orco;
+}
+
/********************************* Raycast ***********************************/
typedef struct {