diff options
Diffstat (limited to 'source/blender/editors/physics/physics_pointcache.c')
-rw-r--r-- | source/blender/editors/physics/physics_pointcache.c | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index 62e0e5e201d..9501dee30db 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -154,31 +154,31 @@ static int ptcache_free_bake_all_exec(bContext *C, wmOperator *UNUSED(op)) void PTCACHE_OT_bake_all(wmOperatorType *ot) { /* identifiers */ - ot->name= "Bake All Physics"; - ot->description= "Bake all physics"; - ot->idname= "PTCACHE_OT_bake_all"; + ot->name = "Bake All Physics"; + ot->description = "Bake all physics"; + ot->idname = "PTCACHE_OT_bake_all"; /* api callbacks */ - ot->exec= ptcache_bake_all_exec; - ot->poll= ptcache_bake_all_poll; + ot->exec = ptcache_bake_all_exec; + ot->poll = ptcache_bake_all_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; RNA_def_boolean(ot->srna, "bake", 1, "Bake", ""); } void PTCACHE_OT_free_bake_all(wmOperatorType *ot) { /* identifiers */ - ot->name= "Free All Physics Bakes"; - ot->idname= "PTCACHE_OT_free_bake_all"; + ot->name = "Free All Physics Bakes"; + ot->idname = "PTCACHE_OT_free_bake_all"; /* api callbacks */ - ot->exec= ptcache_free_bake_all_exec; - ot->poll= ptcache_bake_all_poll; + ot->exec = ptcache_free_bake_all_exec; + ot->poll = ptcache_bake_all_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } static int ptcache_bake_exec(bContext *C, wmOperator *op) { @@ -267,46 +267,46 @@ static int ptcache_bake_from_cache_exec(bContext *C, wmOperator *UNUSED(op)) void PTCACHE_OT_bake(wmOperatorType *ot) { /* identifiers */ - ot->name= "Bake Physics"; - ot->description= "Bake physics"; - ot->idname= "PTCACHE_OT_bake"; + ot->name = "Bake Physics"; + ot->description = "Bake physics"; + ot->idname = "PTCACHE_OT_bake"; /* api callbacks */ - ot->exec= ptcache_bake_exec; - ot->poll= ptcache_poll; + ot->exec = ptcache_bake_exec; + ot->poll = ptcache_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; RNA_def_boolean(ot->srna, "bake", 0, "Bake", ""); } void PTCACHE_OT_free_bake(wmOperatorType *ot) { /* identifiers */ - ot->name= "Free Physics Bake"; - ot->description= "Free physics bake"; - ot->idname= "PTCACHE_OT_free_bake"; + ot->name = "Free Physics Bake"; + ot->description = "Free physics bake"; + ot->idname = "PTCACHE_OT_free_bake"; /* api callbacks */ - ot->exec= ptcache_free_bake_exec; - ot->poll= ptcache_poll; + ot->exec = ptcache_free_bake_exec; + ot->poll = ptcache_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } void PTCACHE_OT_bake_from_cache(wmOperatorType *ot) { /* identifiers */ - ot->name= "Bake From Cache"; - ot->description= "Bake from cache"; - ot->idname= "PTCACHE_OT_bake_from_cache"; + ot->name = "Bake From Cache"; + ot->description = "Bake from cache"; + ot->idname = "PTCACHE_OT_bake_from_cache"; /* api callbacks */ - ot->exec= ptcache_bake_from_cache_exec; - ot->poll= ptcache_poll; + ot->exec = ptcache_bake_from_cache_exec; + ot->poll = ptcache_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } static int ptcache_add_new_exec(bContext *C, wmOperator *UNUSED(op)) @@ -369,29 +369,29 @@ static int ptcache_remove_exec(bContext *C, wmOperator *UNUSED(op)) void PTCACHE_OT_add(wmOperatorType *ot) { /* identifiers */ - ot->name= "Add New Cache"; - ot->description= "Add new cache"; - ot->idname= "PTCACHE_OT_add"; + ot->name = "Add New Cache"; + ot->description = "Add new cache"; + ot->idname = "PTCACHE_OT_add"; /* api callbacks */ - ot->exec= ptcache_add_new_exec; - ot->poll= ptcache_poll; // ptcache_bake_all_poll; + ot->exec = ptcache_add_new_exec; + ot->poll = ptcache_poll; // ptcache_bake_all_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } void PTCACHE_OT_remove(wmOperatorType *ot) { /* identifiers */ - ot->name= "Delete Current Cache"; - ot->description= "Delete current cache"; - ot->idname= "PTCACHE_OT_remove"; + ot->name = "Delete Current Cache"; + ot->description = "Delete current cache"; + ot->idname = "PTCACHE_OT_remove"; /* api callbacks */ - ot->exec= ptcache_remove_exec; - ot->poll= ptcache_poll; + ot->exec = ptcache_remove_exec; + ot->poll = ptcache_poll; /* flags */ - ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO; } |