Revision: 38655
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38655
Author:   dingto
Date:     2011-07-24 11:11:23 +0000 (Sun, 24 Jul 2011)
Log Message:
-----------
* Minor code cleanup / comment changing. No functional changes. 

Modified Paths:
--------------
    trunk/blender/source/blender/editors/interface/interface_templates.c

Modified: trunk/blender/source/blender/editors/interface/interface_templates.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_templates.c        
2011-07-24 10:26:22 UTC (rev 38654)
+++ trunk/blender/source/blender/editors/interface/interface_templates.c        
2011-07-24 11:11:23 UTC (rev 38655)
@@ -851,7 +851,7 @@
 
        /* verify we have valid data */
        if(!RNA_struct_is_a(ptr->type, &RNA_Modifier)) {
-               RNA_warning("uiTemplateModifier: expected modifier on 
object.\n");
+               RNA_warning("uiTemplateModifier: Expected modifier on 
object.\n");
                return NULL;
        }
 
@@ -859,7 +859,7 @@
        md= ptr->data;
 
        if(!ob || !(GS(ob->id.name) == ID_OB)) {
-               RNA_warning("uiTemplateModifier: expected modifier on 
object.\n");
+               RNA_warning("uiTemplateModifier: Expected modifier on 
object.\n");
                return NULL;
        }
        
@@ -976,9 +976,6 @@
        block= uiLayoutGetBlock(box);
 
        /* Draw constraint header */
-       
-       /* rounded header */
-       // rb_col= (con->flag & CONSTRAINT_ACTIVE)?50:20; // UNUSED
 
        /* open/close */
        uiBlockSetEmboss(block, UI_EMBOSSN);
@@ -1083,7 +1080,7 @@
 
        /* verify we have valid data */
        if(!RNA_struct_is_a(ptr->type, &RNA_Constraint)) {
-               RNA_warning("uiTemplateConstraint: expected constraint on 
object.\n");
+               RNA_warning("uiTemplateConstraint: Expected constraint on 
object.\n");
                return NULL;
        }
 
@@ -1091,7 +1088,7 @@
        con= ptr->data;
 
        if(!ob || !(GS(ob->id.name) == ID_OB)) {
-               RNA_warning("uiTemplateConstraint: expected constraint on 
object.\n");
+               RNA_warning("uiTemplateConstraint: Expected constraint on 
object.\n");
                return NULL;
        }
        
@@ -1137,7 +1134,7 @@
        PointerRNA texture_ptr;
 
        if(id && !ELEM4(GS(id->name), ID_MA, ID_TE, ID_WO, ID_LA)) {
-               RNA_warning("uiTemplatePreview: expected ID of type material, 
texture, lamp or world.\n");
+               RNA_warning("uiTemplatePreview: Expected ID of type material, 
texture, lamp or world.\n");
                return;
        }
 
@@ -2171,14 +2168,14 @@
        if(prop) {
                type= RNA_property_type(prop);
                if(type != PROP_COLLECTION) {
-                       RNA_warning("uiTemplateList: expected collection 
property.\n");
+                       RNA_warning("uiTemplateList: Expected collection 
property.\n");
                        return;
                }
        }
 
        activetype= RNA_property_type(activeprop);
        if(activetype != PROP_INT) {
-               RNA_warning("uiTemplateList: expected integer property.\n");
+               RNA_warning("uiTemplateList: Expected integer property.\n");
                return;
        }
 

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to