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:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-10-04 00:17:05 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2008-10-04 00:17:05 +0400
commitf80d6efb3b8e2c044d5f55c014270d654dad4839 (patch)
tree3fc295d143750378454e4e3d9deac82f1a85b12b /source/blender/src/drawobject.c
parent5574655dad77e697c494dfff80ecfeeb7796ba9b (diff)
BGE patch: some cosmetic change in the bullet buttons:
- Bring Actor button back in main panel: makes the users life easier to identify which object is visible to near and radar sensors. - Give more space to the Advanced Settings panel. - Display radius control button even for static objects if sphere bound shape is selected. Same for displaying the radius in the 3D view.
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 38ede4a6047..2c2dea79170 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -5185,7 +5185,8 @@ void draw_object(Base *base, int flag)
}
if(dt<OB_SHADED) {
- if(/*(ob->gameflag & OB_ACTOR) &&*/ (ob->gameflag & OB_DYNAMIC)) {
+ if((ob->gameflag & OB_DYNAMIC) ||
+ ((ob->gameflag & OB_BOUNDS) && (ob->boundtype == OB_BOUND_SPHERE))) {
float tmat[4][4], imat[4][4], vec[3];
vec[0]= vec[1]= vec[2]= 0.0;