Revision ad07532 by Inês Almeida April 22, 2018, 22:51 (GMT) |
Manipulators: removed unused structure member |
Revision c6144b2 by Julian Eisel April 22, 2018, 22:18 (GMT) |
Update default workspaces.blend fixing crashes after editor removals * Fixes crashes in versioning code for the removed editor types (see d8c719d8d8149de2d49) * Removes 'Game Logic' workspace. It still only contains workspaces converted from old screen-layouts, proper defaults are on the TODO. |
Revision d8c719d by Julian Eisel April 22, 2018, 22:12 (GMT) |
Replace old Timelines and Logic Editors with new Dopesheet (Timeline mode) Timelines and Logic Editors are gone. So far they were simply replaced by broken Info Editors, now they are replaced by Dopesheets in the new Timeline mode. We reuse ScrArea.butspacetype to temporarily store the space-type identifier of the deprecated editor (see 9db492de6dd07). That way we can identify it in versioning code and replace it nicely. Action editor creation needs a scene to set the scrolling based on frame range. Active screen-layouts use the active scene of the window they are displayed in. Inactive screens simply use the first scene in the main data base. Note that inactive editors don't need version patching, readfile.c converts them to SPACE_EMPTY already, so users can't activate them. Files saved since the editors were removed will still be broken. Workspace config files saved before this will also crash (will update default one in followup commit). |
Revision 9db492d by Julian Eisel April 22, 2018, 21:23 (GMT) |
Cleanup: Get rid of ScrArea.butspacetype syncing with ScrArea.spacetype The only real reason we need `butspacetype` is while switching areas, where we need to delay the actual switch to the RNA _update callback since only there we can access context. So instead of trying to sync it with `spacetype`, only set while needed and unset it afterwards (as in set to `SPACE_EMPTY`). This should also allow us to re-use `butspacetype` in versioning code when trying to read removed editors. It'll store the space type value of the removed editor which we can then use on versioning. For backwards compatibility, we store `butspacetype` with the value of `spacetype`. |
Revision 9eaf006 by Campbell Barton April 22, 2018, 21:03 (GMT) |
UI: draw arrow for popover |
Revision 387bf72 by Dalai Felinto April 22, 2018, 20:55 (GMT) |
UI: Editor outline color themable Note: Not bothering with doversion, re-using 280, 10 bump. |
Revision 62cd5e0 by Campbell Barton April 22, 2018, 20:13 (GMT) |
UI: support for center popovers over buttons |
Revision 46375b8 by Dalai Felinto April 22, 2018, 20:11 (GMT) |
Embossing for the areas only, with unified color We bring back embossing however only for areas. We use the same color for the corners. |
Revision 20a713b by Brecht Van Lommel April 22, 2018, 19:48 (GMT) |
UI: number button arrows appear on hover, highlight clickable areas. |
Revision 15ca904 by Brecht Van Lommel April 22, 2018, 19:47 (GMT) |
UI: make button roundness themeable. |
Revision b8404be by Brecht Van Lommel April 22, 2018, 19:47 (GMT) |
Fix missing filter size in Eevee film panel. |
Revision e467916 by Brecht Van Lommel April 22, 2018, 19:47 (GMT) |
Cycles: rename engine to just "Cycles" instead of "Cycles Render" in the UI. |
Revision 3d62230 by Dalai Felinto April 22, 2018, 18:11 (GMT) |
UI: Remove Embossing We are using a different visual system to tell the areas apart. There is no longer need for embossing. |
Revision 342d622 by Dalai Felinto April 22, 2018, 17:54 (GMT) |
Action Zone: No need for drawing (the triangles) Now that we can easily tell the corners apart, there is no need to a specific action zone draw here (cursor still changes, naturally). |
Revision d5af21f by Dalai Felinto April 22, 2018, 17:54 (GMT) |
Action Zone: Enable them in the four corners |
Revision 8733ad4 by Dalai Felinto April 22, 2018, 17:54 (GMT) |
UI: Draw round corners between the editors This makes easier to distinguish between different editors (as oppose to an editor and its regions). Note action zones look a bit strange with this. I recommend we do next: * Make sure all 4 corners can be used as action zones. * Remove their drawing code (or show them only on mouse hover). |
Revision 9006877 by Dalai Felinto April 22, 2018, 17:54 (GMT) |
UI: Move ui_draw_anti_tria to UI_interface.h Using extern makes too easy to get a crash if the original function definition changed. |
Revision 2d0c1f3 by Dalai Felinto April 22, 2018, 17:54 (GMT) |
UI: Remove hard-code + add comment for aa triangles |
Revision 43bceee by Campbell Barton April 22, 2018, 17:23 (GMT) |
Merge branch 'master' into blender2.8 |
Revision 89ab591 by Campbell Barton April 22, 2018, 17:22 (GMT) |
Cleanup: UI naming |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021