[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20167] branches/soc-2009-yukishiro: add light paint mode and icon

Jingyuan Huang jingyuan.huang at gmail.com
Tue May 12 03:57:03 CEST 2009


Revision: 20167
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20167
Author:   yukishiro
Date:     2009-05-12 03:56:57 +0200 (Tue, 12 May 2009)

Log Message:
-----------
add light paint mode and icon

Modified Paths:
--------------
    branches/soc-2009-yukishiro/release/datafiles/blenderbuttons
    branches/soc-2009-yukishiro/source/blender/blenkernel/BKE_global.h
    branches/soc-2009-yukishiro/source/blender/editors/datafiles/blenderbuttons.c
    branches/soc-2009-yukishiro/source/blender/editors/include/UI_resources.h
    branches/soc-2009-yukishiro/source/blender/editors/sculpt_paint/paint_intern.h
    branches/soc-2009-yukishiro/source/blender/editors/sculpt_paint/paint_ops.c
    branches/soc-2009-yukishiro/source/blender/editors/space_view3d/view3d_header.c
    branches/soc-2009-yukishiro/source/blender/makesdna/DNA_view3d_types.h

Added Paths:
-----------
    branches/soc-2009-yukishiro/source/blender/editors/sculpt_paint/paint_light.c

Modified: branches/soc-2009-yukishiro/release/datafiles/blenderbuttons
===================================================================
(Binary files differ)

Modified: branches/soc-2009-yukishiro/source/blender/blenkernel/BKE_global.h
===================================================================
--- branches/soc-2009-yukishiro/source/blender/blenkernel/BKE_global.h	2009-05-11 23:05:13 UTC (rev 20166)
+++ branches/soc-2009-yukishiro/source/blender/blenkernel/BKE_global.h	2009-05-12 01:56:57 UTC (rev 20167)
@@ -125,6 +125,7 @@
 #define G_TEXTUREPAINT	(1 << 16)
 /* #define G_NOFROZEN	(1 << 17) also removed */
 #define G_GREASEPENCIL 	(1 << 17)
+#define G_LIGHTPAINT    (1 << 19) // 18 is used, no?
 
 #define G_SCULPTMODE    (1 << 29)
 #define G_PARTICLEEDIT	(1 << 30)

Modified: branches/soc-2009-yukishiro/source/blender/editors/datafiles/blenderbuttons.c
===================================================================
--- branches/soc-2009-yukishiro/source/blender/editors/datafiles/blenderbuttons.c	2009-05-11 23:05:13 UTC (rev 20166)
+++ branches/soc-2009-yukishiro/source/blender/editors/datafiles/blenderbuttons.c	2009-05-12 01:56:57 UTC (rev 20167)
@@ -1,4571 +1,4489 @@
-/* DataToC output of file <blenderbuttons> */
-
-int datatoc_blenderbuttons_size= 146052;
-char datatoc_blenderbuttons[]= {
-137, 80, 78, 71,
- 13, 10, 26, 10,  0,  0,  0, 13, 73, 72, 68, 82,  0,  0,  2, 88,  0,  0,  2,  0,  8,  6,  0,  0,  0, 94,187, 18, 70,  0,  0,  0,
-  4,115, 66, 73, 84,  8,  8,  8,  8,124,  8,100,136,  0,  0,  0,  9,112, 72, 89,115,  0,  0, 13,215,  0,  0, 13,215,  1, 66, 40,
-155,120,  0,  0,  0, 25,116, 69, 88,116, 83,111,102,116,119, 97,114,101,  0,119,119,119, 46,105,110,107,115, 99, 97,112,101, 46,
-111,114,103,155,238, 60, 26,  0,  0, 32,  0, 73, 68, 65, 84,120,156,236,157,119,120, 20,213,254,198,223, 51,101,251,166,147, 30,
- 58,  4,129,208,  3, 74,  2,130,116, 17, 69,184,162,128,160,226,245, 94, 44,168, 88,126,130,  5, 21,  5,162, 94, 21, 69, 17,229,
- 90, 16, 68,175,168, 32,241, 42, 77,  1, 41, 82, 69, 18,138, 92, 74,164,133,146, 72,250,246,153,243,251, 99,119,134,205,102, 91,
- 96,163,128,231,243, 60,243,236, 78,123,231,156,169,239,124, 79, 25, 66, 41, 69, 67, 65,  8,233, 64, 41, 45, 96,154, 76,147,105,
- 50, 77,166,201, 52,153, 38,211,252, 43,193,213,119,  5, 66, 72,196, 29, 25, 33,132,122,134, 62,151,186,102,164,180,188, 53,149,
- 33,130,154,125, 60,154,207, 69, 80,179, 33,211,217,231, 82,213, 84,242, 27, 73, 93,239,125, 24,169,253,233,149,206,136,157,247,
- 13,173,121,177, 90,254, 52, 35,117,142,250, 57,238,207, 69, 80,179, 33,211,217,231, 82,211,244, 61,127, 34,161,235,239,156,188,
-216,253,233, 39,157, 23,125,222,255, 81,154, 23,170, 21, 70, 58, 35,189, 79, 35,254,108,186,148, 17,234,179,112, 67, 24, 12,  0,
-160,148, 18, 47,125,114,169,106, 42, 16, 66,168,162, 31,  9, 34,169,229, 97,109,164, 53,125,246,103,164,120,142, 82, 74,  8, 33,
-235,  0,244,137,144,230, 90,143,230, 69, 31,119,159,188, 70, 68,183, 33,205, 21, 16,185,243,190,161, 53,189,167, 93,204,185,234,
-171, 25,137,243,222,223,113,143,164,102,164,174, 37,159,245, 35,114, 45, 53,196, 57,239,231,252,185,104, 93, 95,205, 72, 92, 75,
-190,154,145, 56,239,255,  8, 77,101,250,197, 92, 75,254, 52, 35,113,222,  7, 58,246, 23,171,123,185, 80,175,  8, 86, 67,238, 24,
-207,  1,232, 27,105,205, 72,167,185, 33, 76,102,164,163, 56, 13,169,137,200, 30,163,231, 60,154,207, 69, 80,179,111,164,142,145,
-239,185, 19,137,183, 46,111,205, 72,157,155,126,210,121,209,199,201,159,230,197,166, 55, 64, 58, 47, 10,127,154, 23,123,222,255,
- 81,154,136,236, 49,138,200,181,228,163, 25,177,107,201, 55,191, 17,140,  8,246,  5, 34,119, 45,249, 73,231, 69, 31, 39,127,154,
- 23,155,222,  0,233,188, 40,252,105, 70, 48, 34, 26,113,221,203,129,122, 69,176, 26,138,134, 48, 66,128,251,162,139,164,118, 67,
- 68,113, 26, 42,210, 22,169, 40,142, 31,221,117, 17,148,139, 88,180, 73,193,147,190,136,188,209,250,209,126,142, 16,242,108,164,
-117, 35,  9,187,150,216,181,132, 75,236, 90,242,119,222, 92,236,181,212, 80, 47,207,222,154,145, 50, 66,126,242,126, 81,215,146,
-239,186,145,184,150, 66,104, 94, 84,132, 57, 80,254, 47, 70,247,114,161,222,117,176, 26,138, 72,148,247,  6,208,139,104, 84, 44,
-210, 52, 80, 58,251, 94, 14,121, 71,  3,164,147, 16,242, 92,  3,229,253,114,217,167,236, 90, 98,215, 82, 68,136,228,181,228,115,
- 78, 70, 36,173,145, 62,207,253,105, 70, 98, 27,222, 26,145, 58, 71, 27, 58,239,145,188,150, 26,226,216, 95, 46,212, 59,130,213,
- 80,111,199,151,131,102, 67,104, 55, 80,222,215,161,  1,222, 14, 26,160, 94,215, 58, 68, 62, 42,240, 28, 34, 88,228,168,228, 57,
-146,105,109,200, 98,194,134, 56, 55, 27,242,124,143,100, 61,143,  6,202,251, 58, 92, 30,199,125, 29, 34,156,206, 72, 93, 75,126,
-142,249, 58, 92,100, 90,253,237,191, 72, 23, 97, 71,242,220,108, 72,205, 72,104, 55, 68, 58,  3,232,174,195, 95, 32,114,165, 64,
-104,  3,118,211,192, 96, 48, 24, 12,  6,131,241, 87, 36, 96,  4,171,107,215,174,249,122,189,190, 85,160,249, 53, 53, 53,197,187,
-118,237,186,174, 97,146,197, 96, 48,174, 36,  8, 33, 28,206, 87, 73,144,  1, 80,202,222,238, 24, 12,198, 21, 76, 64,131,165,209,
-104, 90,172, 95,191, 62, 83,150,101,184, 92, 46, 72,146,  4, 73,146,224,114,185, 96,183,219,241,183,191,253,173,222,197,139,157,
- 59,119, 94,207,113, 92,179,250,172, 35, 73,210,209, 95,126,249,165, 87,160,249,201,201,201,155,  0,180, 32,228,124,212,145, 16,
-  2,101,220,123, 58,199,169, 85,206, 78, 30, 59,118,172,107, 48, 77, 66, 72, 11,111, 61, 95, 45, 63,186, 65, 53,175,186,234,170,
-237,130, 32,100,248, 91, 63,144,182, 44,203,135, 11, 10, 10,114,  2,105, 50, 34, 75,231,206,157,215,243, 60, 95,239,243,115,215,
-174, 93,  1,207,207, 14, 29, 58,252,204,113, 92, 26, 80,247, 24,  7, 56,159,120, 73,146,126,253,229,151, 95,122,  5, 50, 32,169,
-169,169,155, 40,165, 45,194, 60, 47, 21,142, 31, 59,118, 44, 59, 80, 58,149,235, 40, 88, 58,253,104,  7,213,244,210,224,210,211,
-211,243, 18, 19, 19,239,173,169,169,177,  2,160, 28,199,209,118,237,218,213,210,151, 36,233,236,190,125,251, 58,132,210, 99, 48,
- 24,140,203,129,128, 38, 73,150,101,206,102,179,225,192,129,  3,240,119,159,231, 56, 78,170,239,198, 40,165,153,107, 22, 47, 76,
- 50, 36, 38, 67,114,216,161,107,148,164,106,151,237, 45,128,228,112, 64,118, 58,208, 40,251, 26, 37, 13,232,219,183, 47, 31, 66,
- 54, 99,242,228,201, 73, 81, 81, 81,176, 90,173,176, 90,173,176,217,108,176,217,108,176,219,237,176,219,237,112, 56, 28,112, 56,
- 28,112, 58,157,176,217,108, 40, 40, 40,  8,154,118, 66, 72,198,131, 15, 62,168,106,218,108, 54, 88,173, 86, 85,203,102,179,169,
-154,118,187, 29, 54,155, 13,123,246,236,  9,170, 41,  8, 66,198,206,157, 59,147, 52, 26, 13, 40,165,144,101, 25,148,210, 90,131,
-207,190, 66,110,110,174, 35,212, 62,101, 68,148,204,165, 47,205, 72,210, 37, 52,130,236,116, 34,161,115, 55,  0,238, 99,113, 98,
-205,119,144,157, 78,200, 78, 39,154,222, 56, 82,157,222,167, 79,159, 80,231,103,211, 47,166, 77,141,213, 68, 69,193,101,181,162,
-249,176, 17,234,140,194,119, 94,  7,117, 58, 65, 93, 14,116,124,228,105,  0, 64, 73, 73,137,165,109,219,182, 39,225,174,167, 16,
- 40,194,147,113,228,200,145, 36, 37, 13,222, 16, 66,192,113, 92,173, 97,195,134, 13, 24, 55,110, 92,168,188,103, 60,245,212, 83,
- 73,202, 53,226,125,174, 59,157, 78,245,250,113,185, 92,112, 58,157,176,219,237,248,249,231,159, 67,105,130, 16,194,165,166,166,
-190,212,187,119,239,  9,139, 22, 45, 50,125,245,213, 87,166,230,205,155, 67,163,209,128,231,121,240, 60, 15,142,227,192,243, 60,
-134, 15, 31,254,151,169,155,193, 96, 48,174,124,  2, 26, 44,135,195,113,100,208,160, 65, 20,  0,236,118,123,186, 86,171,213,120,
-207,151,101, 57, 45, 55, 55,247, 87,223,245, 66, 21, 29, 26, 18,147,241, 65,243,120,  0,192,168, 67,165,  0,220, 15,133, 37,215,
-118, 81,151, 25,243, 91,185,123, 89,131,  1, 28,199,  5,189,233, 18, 66, 96, 54,155, 49,104,208, 32,104,181, 90,116,235,214, 13,
- 26,141,  6,162, 40,  6, 28,194,193,100, 50,225,249,231,159,  7,  0,  8,130,  0,147, 94,135,251,122, 95,  3, 61,161,248,224,151,
-253,176, 73, 50,  4, 65,128, 32,  8, 16, 69,177, 78, 68,202, 31, 26,141,  6,  5,  5,  5,224,121, 30,130, 32,212,250,229,121, 30,
-203,151, 47,199, 45,183,220,  2,158,231, 97, 52, 26,129,191, 80,101,192, 75,  5, 93, 66, 35,124,209,199, 29,136,188,253, 88,165,
- 58,253,187,209, 55,170,255,199,159,168,  6, 33,  4, 26,141, 38,188,227, 30, 21,133,255,222,114, 61,  0, 96,228,129, 51,234, 57,
-179,251,245, 25, 16,181, 90,  8,162,  6, 29, 38, 63,133,146,146, 18,203,200,145, 35, 55,232,245,250, 21,161, 52, 41,165, 56,122,
-244,168,170, 37,138, 98,157,243,158,227, 56,124,248,225,135,248,237,183,223,194,202,187,197, 98,193,204,153, 51,213,188,249,211,
-245,254, 31, 42,239,132, 16, 46, 37, 37,229,197,222,189,123,143, 91,180,104, 81, 28, 33,  4,115,231,206,133, 32,  8,184,225,134,
- 27,144,144,144,128,149, 43, 87, 66,163,209,224,241,199, 31, 15, 43,141, 12,  6,131,113,185, 16,208, 96,237,218,181,235,122,229,
-255, 53,215, 92,179,111,195,134, 13, 87,121,133,242,225,114,185, 52, 46,151, 43, 83, 41, 54,116,185, 92,176,217,108, 24, 51,102,
- 76,208, 55,122,201, 97,175, 53, 30,232, 38, 29,206,131, 75,193,110,183, 99,212,168, 81,  0, 16,210, 92,133,249, 96,128,205,102,
-131, 32,  8,104,217, 36, 17, 79,143,202, 70, 46, 79, 97, 41,  5, 80, 82,141, 59, 83,  5,236,202,200,196,156,163,165,248,173,162,
- 10,130, 16, 94,105,169, 44,203,181, 12,149,239,255,121,243,230, 97,244,232,209,224,121,190, 78, 17, 18,227,143, 65,118, 58,107,
-141,251, 59,  6,245, 61, 54, 46,171, 21,  0,192,123, 25,114, 81, 20,161,213,235,193,139, 34,  4,173,  6, 37, 37, 37,150,129,  3,
-  7,254,100, 48, 24, 22,164,164,164,156, 56,126,252,120, 64, 61, 66,  8, 40,165, 16, 69, 17,130, 32,  4, 60,231, 63,252,240, 67,
- 44, 92,184, 16, 61,122,244,  8,235,156,183,219,237,208,104, 52,152, 49, 99, 70,157,249,239,188,243, 78, 29,131, 21, 66,143,  0,
-224,146,147,147,239, 91,188,120,113,180,178,253,132,132,  4,136,162,136,172,172, 44, 68, 69, 69, 97,195,134, 13,144, 36, 41,108,
-179,202, 96, 48,254,178,136,  0, 58,  3, 72,  4, 32,  1,168,  4, 16,235, 53,255,172,231, 55,209,107,124,155, 31,157,238,158,101,
-148,249,202,184, 29,128,214,207,244, 82,  0,  6,207, 96,  3,176,  9, 64,150,215,118,148,245,188,211,177, 13,240, 24, 44,226,238,
- 85,117, 45,128,190,254, 58,191, 83,138, 11,247,239,223,239,183,184,208,155, 80,205, 59,117,141,146,212,200,213,231, 45, 19,212,

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list