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:
authorCampbell Barton <ideasman42@gmail.com>2018-06-29 00:39:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-29 00:40:51 +0300
commit46dceefc353ab8c84731c9f8f09a34733e004d1b (patch)
tree1f71886d323ead19c9a694b383d53b3d7819abc7 /source/blender/windowmanager
parentaa6247a385663fbe5c6a947d7b265aaca64f3e14 (diff)
WM: Remove Screen Cast
This feature is better handled by specialized tools.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/WM_api.h4
-rw-r--r--source/blender/windowmanager/WM_types.h2
-rw-r--r--source/blender/windowmanager/intern/wm_window.c5
3 files changed, 1 insertions, 10 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h
index 3324fec4cac..cfaef2c3f58 100644
--- a/source/blender/windowmanager/WM_api.h
+++ b/source/blender/windowmanager/WM_api.h
@@ -447,7 +447,6 @@ enum {
WM_JOB_TYPE_COMPOSITE,
WM_JOB_TYPE_RENDER,
WM_JOB_TYPE_RENDER_PREVIEW, /* UI preview */
- WM_JOB_TYPE_SCREENCAST,
WM_JOB_TYPE_OBJECT_SIM_OCEAN,
WM_JOB_TYPE_OBJECT_SIM_FLUID,
WM_JOB_TYPE_OBJECT_BAKE_TEXTURE,
@@ -462,7 +461,7 @@ enum {
WM_JOB_TYPE_POINTCACHE,
WM_JOB_TYPE_DPAINT_BAKE,
WM_JOB_TYPE_ALEMBIC,
- /* add as needed, screencast, seq proxy build
+ /* add as needed, seq proxy build
* if having hard coded values is a problem */
};
@@ -554,4 +553,3 @@ void WM_tooltip_refresh(struct bContext *C, struct wmWindow *win);
#endif
#endif /* __WM_API_H__ */
-
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 8c53f5389e3..80f1e8e1ee1 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -261,7 +261,6 @@ typedef struct wmNotifier {
/* NC_SCREEN screen */
#define ND_SCREENBROWSE (1<<16)
#define ND_SCREENDELETE (2<<16)
-#define ND_SCREENCAST (3<<16)
#define ND_ANIMPLAY (4<<16)
#define ND_GPENCIL (5<<16)
#define ND_EDITOR_CHANGED (6<<16) /*sent to new editors after switching to them*/
@@ -715,4 +714,3 @@ extern struct CLG_LogRef *WM_LOG_KEYMAPS;
#endif
#endif /* __WM_TYPES_H__ */
-
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 2d7ed9d0295..f6ebdae8414 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -1216,11 +1216,6 @@ static int ghost_event_proc(GHOST_EventHandle evt, GHOST_TUserDataPtr C_void_ptr
state = GHOST_GetWindowState(win->ghostwin);
win->windowstate = state;
- /* stop screencast if resize */
- if (type == GHOST_kEventWindowSize) {
- WM_jobs_stop(wm, win->screen, NULL);
- }
-
WM_window_set_dpi(win);
/* win32: gives undefined window size when minimized */