Blender Git Loki

Git Commits -> Revision 46ad9b6

Revision 46ad9b6 by Thomas Dinges (master)
July 28, 2013, 22:12 (GMT)
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!

Commit Details:

Full Hash: 46ad9b6b476c55a6c507f711a5bf3c64400660f2
SVN Revision: 58700
Parent Commit: 4f02555
Lines Changed: +6, -12

1 Modified Path:

/release/scripts/startup/bl_ui/properties_object.py (+6, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021