UI / Code:
authorThomas Dinges <blender@dingto.org>
Sun, 28 Jul 2013 22:12:19 +0000 (22:12 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 28 Jul 2013 22:12:19 +0000 (22:12 +0000)
commit46ad9b6b476c55a6c507f711a5bf3c64400660f2
tree58f37e5548d9fbb875d4c7c344911687aed92289
parent4f02555004575936cd0b2623af7a324128e5258c
UI / Code:
Cody style changes for r58692.
* First of all, UI code is really simple, especially in such small panels, no need to comment obvious things like left/right column.
* "if 1" nested structs for code clarity? That's a really bad thing, especially if you have 3  lines which belong together, but only 2 of them are indented...

    sub = row.row()
    sub.active = obj.show_bounds
sub.prop(obj, "draw_bounds_type", text="")

* Empty line after layout = self.layout declarations, we still follow these Rules.
http://wiki.blender.org/index.php/Dev:2.5/Py/Scripts/Guidelines/Layouts

Thanks!
release/scripts/startup/bl_ui/properties_object.py