Page Menu
Home
Search
Configure Global Search
Log In
Files
F1851
lampspecials.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Johnny Matthews (guitargeek)
Nov 13 2013, 1:00 PM
Size
857 B
Subscribers
None
lampspecials.patch
View Options
Index: source/blender/src/editobject.c
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/blender/src/editobject.c,v
retrieving revision 1.279
diff -u -r1.279 editobject.c
--- source/blender/src/editobject.c 17 Nov 2005 11:40:57 -0000 1.279
+++ source/blender/src/editobject.c 21 Nov 2005 21:21:52 -0000
@@ -1917,6 +1917,17 @@
if(ob->flag & OB_POSEMODE) {
pose_special_editmenu();
}
+ else if(ob->type==OB_LAMP) {
+ nr= pupmenu("Lamp Specials%t|Toggle Ray Shadow");
+ switch(nr) {
+ case 1:
+ if(((Lamp*)ob->data)->mode & LA_SHAD_RAY){
+ ((Lamp*)ob->data)->mode &= ~LA_SHAD_RAY;
+ } else {
+ ((Lamp*)ob->data)->mode |= LA_SHAD_RAY;
+ }
+ }
+ }
else if(G.f & G_FACESELECT) {
Mesh *me= get_mesh(ob);
TFace *tface;
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
46/be/2b9c8c0d37401d222b15d4b702ab
Event Timeline
Log In to Comment