Revision: 21091
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21091
Author: gsrb3d
Date: 2009-06-23 01:41:01 +0200 (Tue, 23 Jun 2009)
Log Message:
-----------
Mixed EOLs.
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/editors/physics/ed_pointcache.c
Modified:
branches/blender2.5/blender/source/blender/editors/physics/ed_pointcache.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/physics/ed_pointcache.c
2009-06-22 23:13:09 UTC (rev 21090)
+++ branches/blender2.5/blender/source/blender/editors/physics/ed_pointcache.c
2009-06-22 23:41:01 UTC (rev 21091)
@@ -56,11 +56,11 @@
#include "RNA_define.h"
#include "physics_intern.h"
-
-static int cache_break_test(void *cbd) {
- return G.afbreek==1;
-}
-/**************************** general **********************************/
+
+static int cache_break_test(void *cbd) {
+ return G.afbreek==1;
+}
+/**************************** general **********************************/
static int ptcache_bake_all_poll(bContext *C)
{
Scene *scene= CTX_data_scene(C);
@@ -99,13 +99,13 @@
PTCacheID *pid;
ListBase pidlist;
- for(base=scene->base.first; base; base= base->next) {
- BKE_ptcache_ids_from_object(&pidlist, base->object);
-
- for(pid=pidlist.first; pid; pid=pid->next) {
- pid->cache->flag &= ~PTCACHE_BAKED;
- BKE_ptcache_id_reset(scene, pid,
PTCACHE_RESET_OUTDATED);
- }
+ for(base=scene->base.first; base; base= base->next) {
+ BKE_ptcache_ids_from_object(&pidlist, base->object);
+
+ for(pid=pidlist.first; pid; pid=pid->next) {
+ pid->cache->flag &= ~PTCACHE_BAKED;
+ BKE_ptcache_id_reset(scene, pid,
PTCACHE_RESET_OUTDATED);
+ }
}
BLI_freelistN(&pidlist);
@@ -113,7 +113,7 @@
WM_event_add_notifier(C, NC_SCENE|ND_FRAME, scene);
return OPERATOR_FINISHED;
-}
+}
void PTCACHE_OT_bake_all(wmOperatorType *ot)
{
@@ -141,7 +141,7 @@
/* flags */
ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
}
-
+
/**************************** particles **********************************/
static int ptcache_bake_particle_system_poll(bContext *C)
{
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs