Laurynas Duburas laurynas
  • Joined on 2021-06-10
Laurynas Duburas pushed to transform-data-copy at laurynas/blender 2024-04-22 14:26:19 +02:00
f2abc80fba Comments added
Laurynas Duburas pushed to transform-data-copy at laurynas/blender 2024-04-20 09:07:03 +02:00
20f94e5865 cleanup
Laurynas Duburas commented on pull request blender/blender#120824 2024-04-20 00:47:46 +02:00
Transform: support properly transforming implicitly shared curve's positions

No need for to_ranges and Array<int> offsets. Thanks for suggestion. I wanted ranges to copy in chunks. I was frightened by fact that many curves with all vertices selected will be copied…

Laurynas Duburas commented on pull request blender/blender#120824 2024-04-20 00:29:52 +02:00
Transform: support properly transforming implicitly shared curve's positions

I don't see to separate GP without two separate curve_populate_trans_data_structs functions. Current version works for both, also I think it'll be handy for Bezier handles also.

Laurynas Duburas pushed to transform-data-copy at laurynas/blender 2024-04-20 00:23:42 +02:00
37186dbd70 gather and scatter
Laurynas Duburas commented on pull request blender/blender#120824 2024-04-19 21:17:31 +02:00
Transform: support properly transforming implicitly shared curve's positions

If to go with array_utils::gather selection as IndexMask needs to be stored in tc.custom.type.data for latter use by array_utils::scatter. I didn't find how to make deep copy of…

Laurynas Duburas pushed to transform-data-copy at laurynas/blender 2024-04-19 18:03:08 +02:00
dbf00e3579 struct TransformArrays added
Laurynas Duburas commented on pull request blender/blender#120824 2024-04-19 14:47:47 +02:00
Transform: support properly transforming implicitly shared curve's positions

I was trying to avoid new struct, it will change a lot.

Laurynas Duburas created pull request blender/blender#120824 2024-04-19 13:29:30 +02:00
Transform: support properly transforming implicitly shared curve's positions
Laurynas Duburas pushed to transform-data-copy at laurynas/blender 2024-04-19 13:21:17 +02:00
4116320481 copy data for transform to tc->custom.type.data
7047715c6b Fix #104798: Slow frame-change with objects in the scenes collection
9cb3a17352 Linux: freedesktop support for file type association
c0e4de8457 PyAPI: support evaluating an expression as a string or None
4666af64a6 Cleanup: Geometry Nodes: Use accessor function for bmain
Compare 10 commits »
Laurynas Duburas created branch transform-data-copy in laurynas/blender 2024-04-19 13:21:17 +02:00
Laurynas Duburas commented on pull request blender/blender#120631 2024-04-16 23:23:48 +02:00
Transform: support properly transforming implicitly shared positions

I like array in tc->custom.type.data solution more too. Maybe I could implement it in #120222, because in any case I'll have to add Bezier handles to the solution?

Laurynas Duburas commented on pull request blender/blender#120222 2024-04-13 19:50:35 +02:00
Curves: Transform Bezier handles

@JacquesLucke I've root of the problem mentioned above, maybe you could look it through. It can be observed in main branch also. In transform_convert_curves.cc replace `curves.calculate_bezier…

Laurynas Duburas pushed to transform-bezier-handles at laurynas/blender 2024-04-13 19:16:56 +02:00
a3d10274b1 Implicit sharing problem workaround
Laurynas Duburas pushed to transform-bezier-handles at laurynas/blender 2024-04-12 14:30:41 +02:00
96f47376b4 Unused variable trans_data_offset removed
Laurynas Duburas commented on pull request blender/blender#120222 2024-04-12 13:59:58 +02:00
Curves: Transform Bezier handles

Not quite yet. I've added commented call curves.calculate_bezier_auto_handles();. With it Blender crashes in random places if to move Bezier handles. Sometimes in Vector destructor, sometimes…

Laurynas Duburas pushed to transform-bezier-handles at laurynas/blender 2024-04-12 13:43:33 +02:00
d0a398e56b copy paste mistake
Laurynas Duburas pushed to transform-bezier-handles at laurynas/blender 2024-04-12 13:39:33 +02:00
8eb494e654 std::reduce removed
Laurynas Duburas commented on pull request blender/blender#120222 2024-04-11 20:39:25 +02:00
Curves: Transform Bezier handles

If to comment it, does another std::reduce is same file compiles? Lambda's return value type is actually int64_t, it should match init value type, which is int. Can you try casting…

Laurynas Duburas pushed to transform-bezier-handles at laurynas/blender 2024-04-06 21:45:30 +02:00
614692feaf Proportional Connected editing fixed.