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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-02-14 14:30:43 +0300
committerTon Roosendaal <ton@blender.org>2006-02-14 14:30:43 +0300
commitff830a98f4ea675625e6c3a7fa0da4a803b94869 (patch)
tree4999df5d3c28f09bbb2717fd43c9d2afcb2a2595 /source
parent9da59fdb5afd38556e84e6bf111361d6ada711aa (diff)
Dangerous typo in softbody.c... a missing '/' made a /* */ comment to
disable the entire next line of code too.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/softbody.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c
index 668e87a91f1..40f0f0ec6bb 100644
--- a/source/blender/blenkernel/intern/softbody.c
+++ b/source/blender/blenkernel/intern/softbody.c
@@ -717,12 +717,9 @@ int sb_detect_collisionCached(float opco[3], float facenormal[3], float *damp,
/* only with deflecting set */
if(ob->pd && ob->pd->deflect) {
- DerivedMesh *dm= NULL;
- DispListMesh *disp_mesh= NULL;
MFace *mface= NULL;
MVert *mvert= NULL;
ccdf_minmax *mima= NULL;
-
if(ob->sumohandle){
ccd_Mesh *ccdm=ob->sumohandle;
@@ -1662,7 +1659,7 @@ static void softbody_baked_add(Object *ob, float framenr)
dfra= (float)sb->interval;
if(sb->totkey==0) {
- if(sb->sfra >= sb->efra) return; /* safety, UI or py setting allows *
+ if(sb->sfra >= sb->efra) return; /* safety, UI or py setting allows */
if(sb->interval<1) sb->interval= 1; /* just be sure */
sb->totkey= 1 + (int)(ceil( (efra-sfra)/dfra ) );