Toggle navigation
Toggle navigation
This project
Loading...
Sign in
I_Jemin
/
Unity-OpenVR-Shooter-Template
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
I_Jemin
2018-02-27 16:15:23 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
67f8ce80950954a7a675d4bf11512add5864c2bd
67f8ce80
1 parent
68152ce5
Update to Unity2017.3P2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
5 deletions
.vscode/settings.json
Assets/OpenVR-Shooter/Assets/PostProcessing/Editor/Utils/CurveEditor.cs
.vscode/settings.json
0 → 100644
View file @
67f8ce8
{
"files.exclude"
:
{
"**/.DS_Store"
:
true
,
"**/.git"
:
true
,
"**/.gitignore"
:
true
,
"**/.gitmodules"
:
true
,
"**/*.booproj"
:
true
,
"**/*.pidb"
:
true
,
"**/*.suo"
:
true
,
"**/*.user"
:
true
,
"**/*.userprefs"
:
true
,
"**/*.unityproj"
:
true
,
"**/*.dll"
:
true
,
"**/*.exe"
:
true
,
"**/*.pdf"
:
true
,
"**/*.mid"
:
true
,
"**/*.midi"
:
true
,
"**/*.wav"
:
true
,
"**/*.gif"
:
true
,
"**/*.ico"
:
true
,
"**/*.jpg"
:
true
,
"**/*.jpeg"
:
true
,
"**/*.png"
:
true
,
"**/*.psd"
:
true
,
"**/*.tga"
:
true
,
"**/*.tif"
:
true
,
"**/*.tiff"
:
true
,
"**/*.3ds"
:
true
,
"**/*.3DS"
:
true
,
"**/*.fbx"
:
true
,
"**/*.FBX"
:
true
,
"**/*.lxo"
:
true
,
"**/*.LXO"
:
true
,
"**/*.ma"
:
true
,
"**/*.MA"
:
true
,
"**/*.obj"
:
true
,
"**/*.OBJ"
:
true
,
"**/*.asset"
:
true
,
"**/*.cubemap"
:
true
,
"**/*.flare"
:
true
,
"**/*.mat"
:
true
,
"**/*.meta"
:
true
,
"**/*.prefab"
:
true
,
"**/*.unity"
:
true
,
"build/"
:
true
,
"Build/"
:
true
,
"Library/"
:
true
,
"library/"
:
true
,
"obj/"
:
true
,
"Obj/"
:
true
,
"ProjectSettings/"
:
true
,
"temp/"
:
true
,
"Temp/"
:
true
}
}
\ No newline at end of file
Assets/OpenVR-Shooter/Assets/PostProcessing/Editor/Utils/CurveEditor.cs
View file @
67f8ce8
...
...
@@ -376,7 +376,7 @@ namespace UnityEditor.PostProcessing
// Draw
if
(
state
.
showNonEditableHandles
)
{
if
(
e
.
type
==
EventType
.
r
epaint
)
if
(
e
.
type
==
EventType
.
R
epaint
)
{
var
selectedColor
=
(
isCurrentlySelectedCurve
&&
isCurrentlySelectedKeyframe
)
?
settings
.
selectionColor
...
...
@@ -422,7 +422,7 @@ namespace UnityEditor.PostProcessing
}
// Keyframe selection & context menu
if
(
e
.
type
==
EventType
.
m
ouseDown
&&
rect
.
Contains
(
e
.
mousePosition
))
if
(
e
.
type
==
EventType
.
M
ouseDown
&&
rect
.
Contains
(
e
.
mousePosition
))
{
if
(
hitRect
.
Contains
(
e
.
mousePosition
))
{
...
...
@@ -453,7 +453,7 @@ namespace UnityEditor.PostProcessing
}
// Tangent selection & edit mode
if
(
e
.
type
==
EventType
.
m
ouseDown
&&
rect
.
Contains
(
e
.
mousePosition
))
if
(
e
.
type
==
EventType
.
M
ouseDown
&&
rect
.
Contains
(
e
.
mousePosition
))
{
if
(
inTangentHitRect
.
Contains
(
e
.
mousePosition
)
&&
(
k
>
0
||
state
.
loopInBounds
))
{
...
...
@@ -499,7 +499,7 @@ namespace UnityEditor.PostProcessing
var
e
=
Event
.
current
;
// Selection
if
(
e
.
type
==
EventType
.
m
ouseDown
)
if
(
e
.
type
==
EventType
.
M
ouseDown
)
{
GUI
.
FocusControl
(
null
);
m_SelectedCurve
=
null
;
...
...
@@ -582,7 +582,7 @@ namespace UnityEditor.PostProcessing
}
// Delete selected key(s)
if
(
e
.
type
==
EventType
.
k
eyDown
&&
(
e
.
keyCode
==
KeyCode
.
Delete
||
e
.
keyCode
==
KeyCode
.
Backspace
))
if
(
e
.
type
==
EventType
.
K
eyDown
&&
(
e
.
keyCode
==
KeyCode
.
Delete
||
e
.
keyCode
==
KeyCode
.
Backspace
))
{
if
(
m_SelectedKeyframeIndex
!=
-
1
&&
m_SelectedCurve
!=
null
)
{
...
...
Please
register
or
login
to post a comment