LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 RNA_def_property_ui_range(prop, 0, 1, 10, 3); | 732 RNA_def_property_ui_range(prop, 0, 1, 10, 3); |
733 RNA_def_property_ui_text(prop, "Density Factor", "Amount texture affects
density"); | 733 RNA_def_property_ui_text(prop, "Density Factor", "Amount texture affects
density"); |
734 RNA_def_property_update(prop, 0, "rna_Material_update"); | 734 RNA_def_property_update(prop, 0, "rna_Material_update"); |
735 ········ | 735 ········ |
736 RNA_def_property_update(prop, 0, "rna_Material_update"); | 736 RNA_def_property_update(prop, 0, "rna_Material_update"); |
737 } | 737 } |
738 | 738 |
739 static void rna_def_material_colors(StructRNA *srna) | 739 static void rna_def_material_colors(StructRNA *srna) |
740 { | 740 { |
741 PropertyRNA *prop; | 741 PropertyRNA *prop; |
LEFT | RIGHT |