Clément Foucault
16b2005bfb
Clay Engine: fix shader :/
2017-02-26 21:33:29 +01:00
Clément Foucault
6dabcdf69e
Clay Engine: Replace if() by assert()
2017-02-26 21:12:56 +01:00
Clément Foucault
712530eb93
Clay Engine: Edit mesh overlays
...
Based on the previous overlay shader from merwin.
This shader takes care of clipped vertex cases and do all edit mode face info in one pass (except face centers).
As the shading is done one the triangle itself the visual can't go beyond the surface of the mesh. That leads to half displayed edges on the outline of the mesh.
This problem can be fixed by a second pass.
This is work in progress.
2017-02-26 21:12:56 +01:00
Julian Eisel
fabde06b37
Fix outliner "Sort Alphabetically" having not working
2017-02-26 19:24:01 +01:00
Julian Eisel
20a105d54c
Fix errors in new immediate mode for interface_widgets.c
...
Text editing cursor, text editing selection highlights and pie menu
direction indicator weren't visible.
Caused by rB4f2375b82f72.
2017-02-26 16:53:04 +01:00
Brecht Van Lommel
2724fad582
OpenGL: replace gluProject and gluUnProject, and simplify surrounding code.
...
Part of T49042.
2017-02-26 00:16:46 +01:00
Brecht Van Lommel
e9011100f7
Fix compiler warnings on macOS / clang / c++11.
2017-02-26 00:16:21 +01:00
Brecht Van Lommel
3cf2821f2f
Merge branch 'master' into blender2.8
2017-02-26 00:15:59 +01:00
Jens Verwiebe
5c3216e233
Fix compiling after a0b8a9f
2017-02-25 14:58:08 +01:00
Bastien Montagne
d66d5790e9
Fix (unreported) missing update when adding constraint from RNA.
2017-02-25 11:38:02 +01:00
raa
94ca09e01c
Fix rows with fixed last item (D2524)
2017-02-25 13:18:41 +03:00
Kévin Dietrich
2c4564b044
Alembic: avoid crashing when reading non-indexed UV params.
2017-02-25 07:08:42 +01:00
Kévin Dietrich
a0b8a9fe68
Alembic: addition of a scope timer to perform basic profiling.
2017-02-25 07:08:42 +01:00
Brecht Van Lommel
8c5826f59a
Fix T50698: Cycles baking artifacts with transparent surfaces.
2017-02-25 03:12:53 +01:00
Brecht Van Lommel
15f1072ee2
Fix build error with macOS / clang / c++11.
2017-02-25 03:12:53 +01:00
ianwill
bda0456933
OpenGL: wm_gesture uses new imm mode
...
D2376 by @ianwill, part of T49043
review by @merwin
Box select, circle select, etc. Introducing the dashed-line shader! See D2376 for more info.
2017-02-24 15:33:32 -05:00
Kévin Dietrich
caaf5f0a09
Fix T50757: Alembic, assign imported materials to the object data
...
instead of to the object itself.
2017-02-24 21:19:52 +01:00
Bastien Montagne
9062c086b4
Fix T50676: Crash on closing while frameserver rendering.
...
Can't see any reason to call AUD exit early in WM_exit, that's a
low-level module that has no dependency on anything else in Blender, but
is dependency of some other parts of Blender, so it should rather be
exited late in the process!
2017-02-24 14:58:38 +01:00
Sergey Sharybin
1e29286c8c
Cycles: Fix compilation warning with CUDA on OSX
2017-02-24 14:33:10 +01:00
Sergey Sharybin
f49e28bae7
Cycles: Fix non-zero exit status when rendering animation from CLI and running out of memory
2017-02-24 14:25:38 +01:00
Clément Foucault
1f453a8909
OpenColorIO: Update glsl implementation to be ready for ogl 3.3 core
2017-02-24 12:38:50 +01:00
Clément Foucault
1e7475a5d7
Opengl glaDrawPixels removal: More descriptive setup.
2017-02-24 12:38:50 +01:00
Dalai Felinto
0584c82ad7
Fix break in drawscredge_area_draw when in fullscreen
2017-02-24 11:05:52 +01:00
Dalai Felinto
2f9a0dfe64
Fix T50714: Collections: Adding object to scene without an existing collection
...
This was causing blender to segfault.
We now add create a new collection and link to the layer before adding
the new object
(also included unittests, and requires updated lib/tests)
2017-02-24 10:10:24 +01:00
Dalai Felinto
8261a84ffb
Unittest: split object_add in individual test files
...
(and small cleanup in unittest)
This is required to the upcoming unittest + bugfix
2017-02-24 10:10:24 +01:00
Dalai Felinto
4c8d8da2e7
Silence warnings in draw_armature.c
...
Also add note about incomplete functions there
2017-02-24 10:10:24 +01:00
Luca Rood
9dd86e2758
OpenGl immediate mode: drawnode.c
...
Part of T49043
2017-02-24 01:09:51 -03:00
Luca Rood
4c6190d08f
Add immDrawBorderCorners function
...
This replaces `glaDrawBorderCorners`.
2017-02-24 01:09:50 -03:00
Clément Foucault
c2453007f4
Opengl glaDrawPixels removal: #if 0 glDrawPixels...
2017-02-24 01:26:45 +01:00
Clément Foucault
7b744f9e1a
Opengl glaDrawPixels removal: mask_draw.c
2017-02-24 01:26:45 +01:00
Clément Foucault
ab8958bbd5
Opengl glaDrawPixels removal: image_draw.c
...
Using float buffer is still laggy because of the data volume we have to transfer to the GC.
2017-02-24 01:26:45 +01:00
Clément Foucault
2ea5446197
Opengl glaDrawPixels removal: interface
2017-02-24 01:26:45 +01:00
Clément Foucault
ccec97ea0a
Opengl glaDrawPixels removal: editors/spaces
2017-02-24 01:26:45 +01:00
Clément Foucault
c9e8584e7f
Opengl glaDrawPixels removal: windowmanager
2017-02-24 01:26:45 +01:00
Clément Foucault
6628446bdf
Opengl glaDrawPixels removal: editors/render
2017-02-24 01:26:45 +01:00
Clément Foucault
44ea6fb857
OpenGL: Make glaDrawImBuf_glsl functions compatible with new immDrawPixels
...
And change relevant function calls.
2017-02-24 01:26:45 +01:00
Clément Foucault
45711c3fde
OpenGL immediate mode: new shader image shuffle color
...
new shader to draw an image with one isolated channel
2017-02-24 01:26:44 +01:00
Clément Foucault
071fdfbfb3
OpenGL immediate mode: fix asserts in clip dopesheet
2017-02-24 01:26:44 +01:00
Clément Foucault
e437841239
OpenGL immediate mode: modifying immDrawPixelsTex
...
This way OCIO can be used with it.
2017-02-24 01:26:44 +01:00
Clément Foucault
3d8f4fedd0
Clay Engine: fix format (3D instead of 2D)
2017-02-24 01:26:44 +01:00
Clément Foucault
e5799d1389
OpenGL immediate mode: gpu_framebuffer.c
...
I had to make some changes to the sep_gaussian_blur shader to be compliant for gl 3.3 leap
2017-02-24 01:26:44 +01:00
Luca Rood
4c164487bc
Add "Gravitation" option to "Force" type force fields
...
This adds an option to force fields of type "Force", which enables the
simulation of gravitational behavior (dist^-2 falloff).
Patch by @AndreasE
Reviewers: #physics, LucaRood, mont29
Reviewed By: #physics, LucaRood, mont29
Tags: #physics
Differential Revision: https://developer.blender.org/D2389
2017-02-23 19:23:39 -03:00
Bastien Montagne
29859d0d5e
Fix some more minor issue with updated py doc generation.
2017-02-23 22:31:21 +01:00
Bastien Montagne
34c07c0d6d
Fix Py API doc generation - missing new context members definition.
2017-02-23 22:27:49 +01:00
Bastien Montagne
dec323659d
Merge branch 'master' into blender2.8
2017-02-23 22:09:09 +01:00
Bastien Montagne
c067f1d0d4
Fix stupid mistake in previous commit for release builds of API doc.
2017-02-23 22:08:01 +01:00
Bastien Montagne
c7ad27fc07
Update py API doc generation tools to comply to new name scheme on server.
...
- for rc/release: /api/2.79c/, zip file named blender_python_reference_2.79c_release.zip
- for dev: /api/master/, zip file named blender_python_reference_2_79_4.zip
2017-02-23 21:45:20 +01:00
Bastien Montagne
6a249bb000
Usual UI messages fixes...
2017-02-23 21:10:43 +01:00
Luca Rood
2e83814e18
OpenGl immediate mode: clip_draw.c and clip_graph_draw.c fixes
...
Fixed little typo in clip_draw.c and special case assert in
clip_graph_draw.c (track segments with single point).
Part of T49043
2017-02-23 16:12:08 -03:00
Sergey Sharybin
50328b41a7
Cycles: Fix compilation error on 32bit Linux
2017-02-23 17:30:26 +01:00