John Kiril Swenson eliphaz
  • Joined on 2021-06-11
John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-21 21:45:34 +02:00
a8692090ff Move query_snap_sources functions
John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-21 21:00:56 +02:00
c3db6e5fc0 Also update the macros in transform_snap.cc
John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-21 20:56:57 +02:00
2d997ce155 Small change to enum names (SCE_SNAP_ -> DIR_)
John Kiril Swenson commented on pull request blender/blender#122759 2024-06-21 20:48:07 +02:00
Add snapping in VSE Preview

Hm, even if I include the esnapDir namespace when referencing the enums, I get errors and the code does not compile. The bitwise operators still don't work, telling me "no operator matches these…

John Kiril Swenson commented on pull request blender/blender#122759 2024-06-21 01:38:58 +02:00
Add snapping in VSE Preview

Changing from typedef enum eSnapDir to enum struct eSpanDir : int8_t means "variable eSnapDir is not a type name" anymore. It creates an error on line 322 of that file.

John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-21 00:04:35 +02:00
e9e0f3f0ce Address further code review
John Kiril Swenson commented on pull request blender/blender#122759 2024-06-20 23:58:50 +02:00
Add snapping in VSE Preview

Doing this means that the declaration in TransSnap breaks; even if I change the type there from eSnapDir to int8_t this breaks code where I use bitwise operators on tsnap.direction. How should…

John Kiril Swenson commented on pull request blender/blender#122759 2024-06-20 23:21:24 +02:00
Add snapping in VSE Preview

I see what you mean by having to add do_snap_timeline. Eeeh it is and isn't inevitable - What I would do, is to have say function query_snap_sources_timeline() and `query_snap_sources_preview…

John Kiril Swenson commented on pull request blender/blender#122759 2024-06-20 23:20:00 +02:00
Add snapping in VSE Preview

When I remove it I get errors when trying to perform bitwise operations on the enum because of type safety features added with C++. I think it's necessary, but tell me if you know a different way…

John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-20 22:56:41 +02:00
ed3efd63ed Split up functions into _preview and _timeline
John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-19 21:46:32 +02:00
8807cb8be3 Fix RNA descriptions that I missed
John Kiril Swenson commented on pull request blender/blender#122759 2024-06-19 04:29:02 +02:00
Add snapping in VSE Preview

Not really an issue, just in my opinion it would be much nicer to have one place for this data - it would allow for nicer function naming as well. Maybe I wasn't as verbose in review, but that…

John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-19 04:28:57 +02:00
4f1b149ee5 Address code review
John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-17 22:02:54 +02:00
90fdca20f6 Use blender::float2 and make format
John Kiril Swenson pushed to vse-preview-snapping-clean at eliphaz/blender 2024-06-17 21:20:35 +02:00
d942ecf7cb Merge branch 'main' into vse-preview-snapping-clean
0a38a8d56a Merge branch 'blender-v4.2-release'
4093945e9c Cleanup: Use the correct license name
50a83d3e0b Fix: BLI_SUBPROCESS_SUPPORT check
6d375cf7f0 Fix: EEVEE: Wrong thickness for rotated objects
Compare 55 commits »
John Kiril Swenson commented on pull request blender/blender#122759 2024-06-17 21:07:25 +02:00
Add snapping in VSE Preview

Testing the patch now, it seems pretty good overall. One thing that I don't quite understand how it should work is "Other strips" option in snapping menu. I would think, that this should be…

John Kiril Swenson deleted branch vse-fix-glitchy-timeline-snapping from eliphaz/blender 2024-06-17 20:55:02 +02:00
John Kiril Swenson deleted branch vse-fix-preview-v2d-tot from eliphaz/blender 2024-06-17 20:54:54 +02:00
John Kiril Swenson created pull request blender/blender#123279 2024-06-16 04:15:35 +02:00
Fix extra half-pixel width of VSE Preview
John Kiril Swenson created branch vse-fix-preview-v2d-tot in eliphaz/blender 2024-06-16 04:14:42 +02:00