Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
c968c1b1
Commit
c968c1b1
authored
Feb 1, 2004
by
Simon Clitherow
Browse files
Options
Downloads
Patches
Plain Diff
- Added missing break statements. Panning and zooming from the menus
now works correctly.
parent
ea82f6e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/blender/src/header_view3d.c
+4
-0
4 additions, 0 deletions
source/blender/src/header_view3d.c
with
4 additions
and
0 deletions
source/blender/src/header_view3d.c
+
4
−
0
View file @
c968c1b1
...
@@ -193,21 +193,25 @@ static void do_view3d_view_cameracontrolsmenu(void *arg, int event)
...
@@ -193,21 +193,25 @@ static void do_view3d_view_cameracontrolsmenu(void *arg, int event)
G
.
qual
|=
LR_CTRLKEY
;
G
.
qual
|=
LR_CTRLKEY
;
persptoetsen
(
PAD4
);
persptoetsen
(
PAD4
);
G
.
qual
&=
~
LR_CTRLKEY
;
G
.
qual
&=
~
LR_CTRLKEY
;
break
;
case
5
:
/* Pan right */
case
5
:
/* Pan right */
/* ugly hack alert */
/* ugly hack alert */
G
.
qual
|=
LR_CTRLKEY
;
G
.
qual
|=
LR_CTRLKEY
;
persptoetsen
(
PAD6
);
persptoetsen
(
PAD6
);
G
.
qual
&=
~
LR_CTRLKEY
;
G
.
qual
&=
~
LR_CTRLKEY
;
break
;
case
6
:
/* Pan up */
case
6
:
/* Pan up */
/* ugly hack alert */
/* ugly hack alert */
G
.
qual
|=
LR_CTRLKEY
;
G
.
qual
|=
LR_CTRLKEY
;
persptoetsen
(
PAD8
);
persptoetsen
(
PAD8
);
G
.
qual
&=
~
LR_CTRLKEY
;
G
.
qual
&=
~
LR_CTRLKEY
;
break
;
case
7
:
/* Pan down */
case
7
:
/* Pan down */
/* ugly hack alert */
/* ugly hack alert */
G
.
qual
|=
LR_CTRLKEY
;
G
.
qual
|=
LR_CTRLKEY
;
persptoetsen
(
PAD2
);
persptoetsen
(
PAD2
);
G
.
qual
&=
~
LR_CTRLKEY
;
G
.
qual
&=
~
LR_CTRLKEY
;
break
;
case
9
:
/* Zoom In */
case
9
:
/* Zoom In */
persptoetsen
(
PADPLUSKEY
);
persptoetsen
(
PADPLUSKEY
);
break
;
break
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment