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:
authorNathan Letwory <nathan@letworyinteractive.com>2011-08-10 11:36:57 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2011-08-10 11:36:57 +0400
commit4da9a8959fd74de665ac06aeee69cbfb4d2a6376 (patch)
treec75c72787b22003db4c4f20636deb9909d2a661a
parent3a9b288bc7982fc69c8ebf1005122cba45e725dd (diff)
Fix [#28195] Particles objects disappear in viewport, and 90° rotation
Reported by Jean Francois Sarazin Lack of normal normalisation caused scaling issues. SIGGRAPH fix by jahka and jesterKing. Thanks to host dfelinto with entertainment provided by slikdigit.
-rw-r--r--source/blender/blenkernel/intern/particle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index 5995b895061..9aa1c6e29eb 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -4389,6 +4389,7 @@ void psys_get_dupli_path_transform(ParticleSimulationData *sim, ParticleData *pa
copy_m3_m4(nmat, ob->imat);
transpose_m3(nmat);
mul_m3_v3(nmat, nor);
+ normalize_v3(nor);
/* make sure that we get a proper side vector */
if(fabs(dot_v3v3(nor,vec))>0.999999) {