Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-08 08:22:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-08 08:22:47 +0400
commit88e5705a3fe04cf9e83baa4007c06e35d19156ae (patch)
treea0df4a5945272bd9b910a9905ce3094f84b8c182 /source/blender
parentba88824f3228123dc58c033561719c694d0b45f7 (diff)
Code Cleanup: remove unused m_contactProcessingThreshold
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/object.c2
-rw-r--r--source/blender/blenloader/intern/versioning_legacy.c2
-rw-r--r--source/blender/editors/space_buttons/buttons_texture.c2
-rw-r--r--source/blender/makesdna/DNA_object_types.h3
4 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index fa61b09e476..d99086a626a 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -1002,8 +1002,6 @@ Object *BKE_object_add_only_object(Main *bmain, int type, const char *name)
ob->margin = 0.04f;
ob->init_state = 1;
ob->state = 1;
- /* ob->pad3 == Contact Processing Threshold */
- ob->m_contactProcessingThreshold = 1.0f;
ob->obstacleRad = 1.0f;
ob->step_height = 0.15f;
ob->jump_speed = 10.0f;
diff --git a/source/blender/blenloader/intern/versioning_legacy.c b/source/blender/blenloader/intern/versioning_legacy.c
index bf687dc4dd8..572c6d0a02d 100644
--- a/source/blender/blenloader/intern/versioning_legacy.c
+++ b/source/blender/blenloader/intern/versioning_legacy.c
@@ -3570,8 +3570,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main)
Object *ob;
World *wrld;
for (ob = main->object.first; ob; ob = ob->id.next) {
- /* pad3 is used for m_contactProcessingThreshold */
- ob->m_contactProcessingThreshold = 1.0f;
if (ob->parent) {
/* check if top parent has compound shape set and if yes, set this object
* to compound shaper as well (was the behavior before, now it's optional) */
diff --git a/source/blender/editors/space_buttons/buttons_texture.c b/source/blender/editors/space_buttons/buttons_texture.c
index b43ddf29cce..c558d811693 100644
--- a/source/blender/editors/space_buttons/buttons_texture.c
+++ b/source/blender/editors/space_buttons/buttons_texture.c
@@ -122,6 +122,8 @@ bool ED_texture_context_check_linestyle(const bContext *C)
}
}
}
+#else
+ (void)C;
#endif
return false;
}
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 60de5e18b35..811c33befca 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -190,6 +190,8 @@ typedef struct Object {
int dupon, dupoff, dupsta, dupend;
+ int pad;
+
/* during realtime */
/* note that inertia is only called inertia for historical reasons
@@ -210,7 +212,6 @@ typedef struct Object {
float margin;
float max_vel; /* clamp the maximum velocity 0.0 is disabled */
float min_vel; /* clamp the minimum velocity 0.0 is disabled */
- float m_contactProcessingThreshold;
float obstacleRad;
/* "Character" physics properties */