Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index 5f80f14d069..41ee557c9c2 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -75,6 +75,7 @@
#include "BIF_imasel.h"
#include "BIF_editparticle.h"
#include "BIF_interface.h"
+#include "BIF_keyframing.h"
#include "BIF_poseobject.h"
#include "BIF_previewrender.h"
#include "BIF_renderwin.h"
@@ -104,6 +105,8 @@
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
+#include "GPU_draw.h"
+
#include "mydevice.h"
#include "transform.h"
@@ -790,6 +793,10 @@ int blenderqread(unsigned short event, short val)
ob= OBACT;
if(G.f & G_SCULPTMODE) return 1;
+ else if(G.qual==(LR_CTRLKEY|LR_ALTKEY)) {
+ common_deletekey();
+ return 0;
+ }
else if(G.qual==0) {
common_insertkey();
return 0;
@@ -964,7 +971,7 @@ int blenderqread(unsigned short event, short val)
/* Reset lights
* This isn't done when reading userdef, do it now
* */
- default_gl_light();
+ GPU_default_lights();
}
return 0;
}