Blender Git Loki

Git Commits -> Revision 7a304c2

Revision 7a304c2 by Joshua Leung (master)
July 1, 2013, 14:14 (GMT)
Bugfix [#35744] FCurve select changes on Graph Editor Resize

Selection state of F-Curves is lost when resizing the Graph Editor.

The problem was that SIPO_TEMP_NEEDCHANSYNC was getting set in the graph_init()
callback, which gets called everytime the view resizes, and not just the very
first time this happens. However, setting this flag forces the selection state
to the updated/pulled from the scene data.

In the past, it was necessary to set this flag so that we could force F-Curve
colors to get initialised correctly. However, things probably changed at some
point, so this behaviour is no longer needed. At worst now, opening a new graph
editor may not show F-Curve selection correctly synced with the viewport, though
that's easily worked around by reselecting whatever it is in the 3d view.

Commit Details:

Full Hash: 7a304c2d1173a2c20ba69dc61b56dadbf35fd90f
SVN Revision: 57905
Parent Commit: 64bc3ce
Lines Changed: +4, -1

1 Modified Path:

/source/blender/editors/space_graph/space_graph.c (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021