diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-04-07 06:46:20 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-04-07 06:46:20 +0400 |
commit | db80e251f7627d6c5de248b1cc9f515b2c49a9d9 (patch) | |
tree | 254bbb886eecd80c143900813d2b824f16b5428b /source/blender/src/editface.c | |
parent | 2ddb445c284faf353db8dc5009567535fc0e68c3 (diff) |
Undo Campbell's last commit that disabled face select mode on fluidsim
meshes, and actually fix the bug that caused the crash. The fluidsim result
doesn't preserve a mapping to the original mesh, so it shouldn't be displayed
in face select mode.
Diffstat (limited to 'source/blender/src/editface.c')
-rw-r--r-- | source/blender/src/editface.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/src/editface.c b/source/blender/src/editface.c index 61fb68d2b23..ee8f16016b9 100644 --- a/source/blender/src/editface.c +++ b/source/blender/src/editface.c @@ -93,8 +93,6 @@ #include "BDR_unwrapper.h" -#include "DNA_object_fluidsim.h" /* for OB_FLUIDSIM_DOMAIN */ - /* returns 0 if not found, otherwise 1 */ static int facesel_face_pick(Mesh *me, short *mval, unsigned int *index, short rect) { @@ -1431,11 +1429,6 @@ void set_faceselect() /* toggle */ return; } - if (ob->fluidsimFlag & OB_FLUIDSIM_ENABLE && ob->fluidsimSettings && ob->fluidsimSettings->type & OB_FLUIDSIM_DOMAIN) { - error("Can't edit fluidsim enabled data"); - return; - } - me= get_mesh(ob); if(me && me->id.lib) { error("Can't edit library data"); |