Age | Commit message (Collapse) | Author |
|
WARNING: Prototype code to test that the UI design idea works.
This is a nasty hack, as it uses hardcoded button sizes (extracted by hand from
a screenshot and tweaked), and used to adjust the scale_x of layout items used
to house the spacers-layouts.
(The non-hacky part of this the new "uiItemSpacer" widget. Eventually the layout
manager should be identifying these widgets and setting the sizes on them in using
a method similar to what we're doing here).
|
|
|
|
The Studio lights are now loaded from disk. The location is
`datafiles/studiolights` they need to be JPG for now. JPG cannot store
HDRI color range but they are clamped inside the Workbench
engine for speed reason. I didn't select JP2K as it might not be
enabled.
Users can add upto 20 HDRI files. This limitation is inside the
RNA_space.c Currently the icons are calculated when you first open the
selection box for the HDRI's. We could add them to a background
rendering later.
I added 2 test files a sky texture rendered in Cycles and an HDRI from
cloud.blender.org.
|
|
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3340
|
|
|
|
Including Cubemap, Grid and Planar
Designed by @wevon with minor modifications as part of T53840. Thanks!
|
|
|
|
|
|
Reviewers: sybren
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3316
|
|
|
|
We can not rely on edit->psys, it is not set for particle edit,
and there is some logic deeper inside which does different things
dependent on that.
We need to replace those checks with some some HAIR vs. PARTICLES
flag and always set psys pointer.
|
|
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3315
|
|
No functional changes commit ;)
|
|
|
|
Change requested by @fclem
|
|
|
|
The idea is that edit mode structure is owned by original object,
and used for drawing. This is a bit confusing, especially since
path cache is also in that structure and needs evaluated object
to calculate cache.
In the future we should split edit data from visualization data,
but that's bigger refactor.
|
|
Old code was doing draw-time calculations in some cases.
just do the same for now.
|
|
|
|
|
|
This way we know it's in sync with edit mode.
|
|
be drawn
|
|
|
|
Freeing sequencer would always do usercount, which is now forbidden when
called from main ID freeing code.
Annoying in 2.7x, much more critical issue in 2.8!
Also, moved RNA sequencer API functions to proper rna_scene_api.c file.
|
|
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3253
|
|
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3339
|
|
With small changes.
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3276
|
|
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3276
|
|
Two things to indicate (which als apply before the DM → M port):
- Face count in the UI is not updated and stays at 0
- When planar mode is used, the result is inverted (mirrored along X)
compared to 2.79
Reviewers: sybren
Differential Revision: https://developer.blender.org/D3303
|
|
Maniphest Tasks: T54643
Differential Revision: https://developer.blender.org/D3266
|
|
|
|
|
|
thread.
Icin/preview only works in main thread, while image loading can be done
from others too... This could have generated random crashes and such.
|
|
Reviewers: sybren
|
|
|
|
D3336 by @nabbydude
|
|
D3295 by @philippe-bachour
|
|
|
|
Bone selection overlay is only available in pose mode.
and when active overrules the selection buffer.
This is currently `tricked` by switching the draw engines, but this is
an exception. Not sure how to solve this in a better way.
After this is solved we can look at how to localize the dim effect to only the objects connected to the active armatures. Currently it dims the whole screen (including background).
@campbellbarton I added you as reviewer as it you have done a lot in the DRW_draw_select_loop
Reviewers: campbellbarton, fclem
Reviewed By: fclem
Subscribers: campbellbarton
Tags: #bf_blender_2.8, #code_quest
Maniphest Tasks: T54983
Differential Revision: https://developer.blender.org/D3241
|
|
D3298 by @leonlg
|
|
D3334 by @ThaRemo
|
|
|
|
|
|
|
|
|
|
Now use the closest plane facing the view z axis.
|
|
|
|
|
|
|
|
Initial add-cube tool which uses the scale cage to resize.
The 3D cursor is currently used to project the cursor onto.
We'll likely have more orientation options in the future.
|