Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warning in HDRP_Tests #1550

Merged
merged 2 commits into from Sep 15, 2020
Merged

Conversation

adrien-de-tocqueville
Copy link
Contributor

Purpose of this PR

This just removes the "Font size and style overrides are only supported for dynamic fonts." warning in HDRP_Tests using the following vimscript

cd TestProjects/HDRP_Tests/
vim **/*.unity
:argdo call ReplaceDynamicFont() | update

function! ReplaceDynamicFont()
    set nowrapscan
    while 1
        let line = search("m_Font: {fileID: 12800000, guid: 306d620c715872046bf76568b7f382d4, type: 3}", "")
        if line == 0
            return
        endif
        normal 3kf lC0
        normal 4j
    endwhile
endfunction

@sebastienlagarde sebastienlagarde marked this pull request as ready for review September 15, 2020 10:35
@sebastienlagarde sebastienlagarde merged commit 358a146 into HDRP/staging Sep 15, 2020
@sebastienlagarde sebastienlagarde deleted the HDRP/fix-tests-warning branch September 15, 2020 10:35
@sebastienlagarde sebastienlagarde mentioned this pull request Sep 17, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants