Joshua Leung
a7dcad2f8f
Cleanup: Fix typos
2018-08-21 16:52:10 +12:00
Dalai Felinto
b4d23818c8
Remove MESH_OT_drop_named_image
...
This was never ported to work with Cycles, so it is basically useless in 2.8.
It can always be brought back in the future.
2018-08-20 20:58:20 -03:00
Dalai Felinto
753be0a2a5
Multi-Objects: MESH_OT_colors_reverse
2018-08-20 20:58:20 -03:00
Dalai Felinto
53dfb4895c
Fix relationship lines selectable
2018-08-20 14:20:25 -03:00
Dalai Felinto
bfdaa9a979
Object constraint lines viewport drawing
...
The core logic of this implementation comes from the drawobject.c from 2.7x.
I'm using `ts.colorGridAxisZ` for its color because of the legacy code:
```
UI_GetThemeColor3ubv(TH_GRID, col1);
UI_make_axis_color(col1, col2, 'Z');
glColor3ubv(col2);
```
There is nothing stopping us from adding this to the theme though, as it should
have been the case to start with.
2018-08-20 14:07:40 -03:00
Brecht Van Lommel
6cd3a67e36
Workspaces: remove separate workspaces.blend config file.
...
This is quite confusing in the current UI, with both startup.blend and
workspaces.blend containing a list of workspaces. In practice you'd usually
want to save workspaces to both files.
The downside of having a single file may be that you then can't disable
certain workspaces by default, but we could add a setting for that.
2018-08-20 16:23:22 +02:00
Brecht Van Lommel
444934632a
Workspaces: add new default workspaces in startup.blend.
2018-08-20 16:23:22 +02:00
Brecht Van Lommel
c9abb0fe26
Workspaces: replace bundled workspace.blend with embedded startup.blend.
...
We want these to have the same workspaces in both, so there is no reason
to have two files that are identical.
2018-08-20 16:23:22 +02:00
Brecht Van Lommel
f1ab36d154
Fix outliner crash loading some .blend files without treestore.
2018-08-20 16:23:22 +02:00
Brecht Van Lommel
e243f366c6
Fix system workspaces.blend not being found on some systems.
2018-08-20 16:23:22 +02:00
Clément Foucault
1c7119a336
Wrokbench: Add support for maximum drawtype OB_TEXTURE
2018-08-20 16:21:44 +02:00
Clément Foucault
47d43c5a00
Bone Display: fix flickering issue with BBones in ortho view
2018-08-20 15:47:22 +02:00
Clément Foucault
31a1c2b7d2
Object Mode: Add back support for the object "Maximum draw type" option
2018-08-20 13:19:17 +02:00
Clément Foucault
52d75d5127
Overlay: Add support for per object wirefram options
...
This patch has a known bug on AMD + mesa because of the drivers. I will
send a bug report to mesa.
2018-08-20 10:46:11 +02:00
Campbell Barton
d2e70455cf
Merge branch 'master' into blender2.8
2018-08-20 17:53:53 +10:00
Joshua Leung
6f2735b2bf
Motion Paths UI: "Update from Scene Range" operator
...
Make it easier to update the frame range for motion paths from
the Scene's current frame range (render or preview range)
2018-08-20 16:12:37 +12:00
Andrew Hale
f52e31a46d
Fix BMesh edge_bisect, edge_percent being ignored
...
Also fix float/int/bool access methods
2018-08-20 13:38:10 +10:00
Campbell Barton
76ea32d192
Cleanup: unused warning
2018-08-20 11:29:23 +10:00
Campbell Barton
143511b961
Merge branch 'master' into blender2.8
2018-08-20 11:27:49 +10:00
Campbell Barton
537bf6af0c
RNA: Spline.calc_length() utility function
...
D1810 by @Matpi w/ edits
2018-08-20 11:23:40 +10:00
Bastien Montagne
c2c4420f89
Fix T56450: Crash with bevel modifier.
...
POinters shall always be explicitely handled in modifier copying code,
as well as reading code! Runtime ones shall just be NULL-ed.
2018-08-19 16:57:53 +02:00
Campbell Barton
b1cb79d312
UI: rename 'Apron' to 'Click Anywhere'
2018-08-19 15:20:21 +10:00
Antonioya
20b30b6bee
GP: Reduce updates of material previews
...
If there is a update in progress, don't update again.
2018-08-18 16:24:18 +02:00
Clément Foucault
353e691ff9
DRW: Fix crash in defered compilation
2018-08-18 12:58:15 +02:00
Campbell Barton
9f25b2f278
Merge branch 'master' into blender2.8
2018-08-18 19:18:55 +10:00
Bastien Montagne
4d71579d3b
Arrrg, fix for previous commit :/
2018-08-18 10:25:00 +02:00
Bastien Montagne
27ccba0270
Fix T56439: Crash removing Rigid Body World.
...
Need to rebuild the graph when we add or remove rigidbody world!
2018-08-18 10:21:33 +02:00
Bastien Montagne
f86a60bc62
Static Override: make hidden & co flags of object overridable.
2018-08-18 10:21:33 +02:00
Bastien Montagne
37acf4722d
Static Override: link newly overridden collection to scene.
...
This avoids getting all overridden objects from said collection
instantiated in master collection, totally untidy!
Note that there is still an issue when 'active' object (i.e. the
armature usually) is in hidden sub-collection, since you have to make
that whole hidden collection visible again to see it.
We'll need to support moving objects into overridden collections am
afraid, arg. :(
2018-08-18 10:21:33 +02:00
Campbell Barton
4c22343271
Warn when app-template isn't found
2018-08-18 14:10:07 +10:00
Campbell Barton
506d8448cc
WM: app-template command line override
...
Without this, there was no simple way to have
launchers for different app-templates.
Also allows force-disabling the app-template stored in the preferences.
2018-08-18 14:10:07 +10:00
Brecht Van Lommel
a069d3dc8c
UI: save statusbar/topbar collapsed state per screen.
...
This can now also be set from the Window menu in addition to dragging.
2018-08-17 20:16:19 +02:00
Brecht Van Lommel
7f9a1d2f3b
Fix GPU_viewport size asserts in some cases.
...
Now always tag for redraw when region size is changed instead of relying on
a redraw tag having been done elsewhere.
2018-08-17 20:16:07 +02:00
Brecht Van Lommel
6cad7984c6
Fix missing shader compilation progress bar.
2018-08-17 15:55:21 +02:00
Antonioya
ba60e5d41b
GP: Increase stats file size
...
For big files, the size of the field for number of points was not enough
2018-08-17 13:49:59 +02:00
Clément Foucault
8b79a150f8
Workbench: Fix buggy shadow
...
Was caused by shadow bbox not being updated.
2018-08-17 13:04:26 +02:00
Clément Foucault
f031e8d3ac
Object Mode: Add back the extra object axes drawing option
2018-08-17 13:04:26 +02:00
Clément Foucault
435f308eed
Object Mode: Use same empty (arrow) drawing as the bone axes display
2018-08-17 13:04:26 +02:00
Brecht Van Lommel
7d720cc655
Merge branch 'master' into blender2.8
2018-08-17 13:00:52 +02:00
Brecht Van Lommel
c9d5d311ec
Cleanup: fix harmless compiler warnings.
2018-08-17 13:00:31 +02:00
Brecht Van Lommel
894a216252
Fix engine.camera_model_matrix() not working in the Python API.
2018-08-17 12:28:27 +02:00
Antonioya
a452e5e5e3
GP: Fix fast drawing error
...
During the modifications of the drawing engine, this was changed by error.
2018-08-17 11:09:08 +02:00
Sergey Sharybin
a9b82d5d79
Multires: Fix wrong creation of multires mesh
...
Should use evaluated object to query deformed mesh from.
2018-08-17 10:55:51 +02:00
Clément Foucault
77e1942e0e
Armature: Add ghosting support (old x-ray)
2018-08-16 23:58:29 +02:00
Clément Foucault
4711e0ee26
Non-Meshes: Add ghosting support (old x-ray)
2018-08-16 23:58:29 +02:00
Clément Foucault
1e26345a89
Fix T56418: Changing to Solid View crashes Blender
...
Everything seems to behave like it should when drawdata is alloced
on instances.
2018-08-16 23:58:29 +02:00
Clément Foucault
7d29c9a16b
Overlay: Fix crash when ghosting is enabled without wireframe
2018-08-16 23:58:29 +02:00
Clément Foucault
a01dec2d9c
Cleanup: Remove unused uniform and UBO.
2018-08-16 23:58:24 +02:00
Clément Foucault
d96715fe5c
Fix T55722 : Blender 2.8 crashes on startup on old Nvidia cards
2018-08-16 23:57:59 +02:00
Clément Foucault
c761153f64
Overlays: Support for wireframes and edit mode overlay on xray objects
2018-08-16 23:57:59 +02:00