Merge branch 'blender-v4.0-release'
This commit is contained in:
@@ -1135,9 +1135,11 @@ static int forcefield_toggle_exec(bContext *C, wmOperator * /*op*/)
|
||||
|
||||
if (ob->pd == nullptr) {
|
||||
ob->pd = BKE_partdeflect_new(PFIELD_FORCE);
|
||||
ob->empty_drawtype = OB_PLAINAXES;
|
||||
}
|
||||
else if (ob->pd->forcefield == 0) {
|
||||
ob->pd->forcefield = PFIELD_FORCE;
|
||||
ob->empty_drawtype = OB_PLAINAXES;
|
||||
}
|
||||
else {
|
||||
ob->pd->forcefield = 0;
|
||||
|
||||
Reference in New Issue
Block a user