Fix T76498: Refactoring - Rename BKE modifiers funtions
This commit is contained in:
		@@ -885,7 +885,7 @@ void OBJECT_OT_posemode_toggle(wmOperatorType *ot)
 | 
			
		||||
void ED_object_check_force_modifiers(Main *bmain, Scene *scene, Object *object)
 | 
			
		||||
{
 | 
			
		||||
  PartDeflect *pd = object->pd;
 | 
			
		||||
  ModifierData *md = modifiers_findByType(object, eModifierType_Surface);
 | 
			
		||||
  ModifierData *md = BKE_modifiers_findby_type(object, eModifierType_Surface);
 | 
			
		||||
 | 
			
		||||
  /* add/remove modifier as needed */
 | 
			
		||||
  if (!md) {
 | 
			
		||||
@@ -1429,7 +1429,7 @@ static const EnumPropertyItem *object_mode_set_itemsf(bContext *C,
 | 
			
		||||
  if (ob) {
 | 
			
		||||
    const bool use_mode_particle_edit = (BLI_listbase_is_empty(&ob->particlesystem) == false) ||
 | 
			
		||||
                                        (ob->soft != NULL) ||
 | 
			
		||||
                                        (modifiers_findByType(ob, eModifierType_Cloth) != NULL);
 | 
			
		||||
                                        (BKE_modifiers_findby_type(ob, eModifierType_Cloth) != NULL);
 | 
			
		||||
    while (input->identifier) {
 | 
			
		||||
      if ((input->value == OB_MODE_EDIT && OB_TYPE_SUPPORT_EDITMODE(ob->type)) ||
 | 
			
		||||
          (input->value == OB_MODE_POSE && (ob->type == OB_ARMATURE)) ||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user