Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-02Cleanup: use depsgraph for scene/layer accessCampbell Barton
2017-05-02Cycles integration with Draw ManagerDalai Felinto
We can now use object and other modes on top of Cycles. Since we are now always on "render_to_view" (old Rendered mode), the pause button is always visible.
2017-05-02Add scene argument for notifiersCampbell Barton
From workspaces branch
2017-05-01Getting rid of setlinestyle: FCurves drawing.Bastien Montagne
2017-05-01Getting rid of setlinestyle: last bit in NLA.Bastien Montagne
Note that smooth-shaded outlines of muted NLA strips should also be dashed, not sure how to do that currently (in a simple way), so kept them solid for now.
2017-05-01Reworked version of dashed line shader.Bastien Montagne
Using geometry shader allows us to get rid of the 'line origin' extra vertex attribute, which means dashed shader no longer requires fiddling with those vertex attributes definition, and, most importantly, does not require anymore special drawing code! As you can see, this makes code much simpler, and much less verbose, especially in complex cases. In addition, changed how dashes are handled, to have two 'modes', a simple one with single color (using default "color" uniform name), and a more advanced one allowing more complex and multi-color patterns. Note that since GLSL 1.2 does not support geometry shaders, a hack was added for now (which gives solid lines, but at least does not make Blender crash).
2017-04-29Getting rid of setlinestyle: sample line in Image space.Bastien Montagne
2017-04-29Getting rid of setlinestyle: UV editor drawing.Bastien Montagne
2017-04-29Getting rid of setlinestyle: remove gpencil's debug-only dashed line drawing.Bastien Montagne
No need to add extra complexity of conditional dashing here for now!
2017-04-29Getting rid of setlinestyle: ed_util's pos-to-mouse dashed line.Bastien Montagne
2017-04-29Getting rid of setlinestyle: GPencil eraser.Bastien Montagne
Note the ugly hack on number of segments for outline dashed circle, to get an OK-ish rendering of dashes...
2017-04-29Cleanup: comment blocksCampbell Barton
2017-04-29Merge branch 'master' into blender2.8Campbell Barton
2017-04-29Cleanup: comment blocksCampbell Barton
2017-04-29View3D: support both orbit select & depthCampbell Barton
When using both preferences, use cursor depth when nothings selected.
2017-04-29Curve Fitting: minor change to re-fitting methodCampbell Barton
Avoid calculating a new split-index when re-fitting. While checking if a knot can be removed, the index with the highest error can be used as a candidate to replace the knot (in the case it can't be removed).
2017-04-29Getting rid of setlinestyle: NLA (part I).Bastien Montagne
Also restore drawing of local action markers in NLA strips... Note: there is another usage of setlinestyle in this file, not sure how to hanlde it for now, so will leave it for later...
2017-04-29Getting rid of setlinestyle: Color ramp markers.Bastien Montagne
2017-04-29Getting rid of setlinestyle: Text space margin line.Bastien Montagne
2017-04-29Merge branch 'master' into blender2.8Campbell Barton
2017-04-29Cleanup: unused includesCampbell Barton
2017-04-29Implementation of custom python entries in all right click menusThomas Beck
Hi Guys, as one of my clients needs the possibility to have custom menu entries in the general right click menu (all over Blender: in the node editor, properties, toolbars,..) I talked with Campbell about expanding our hard coded menu a bit. This is the outcome. As I only need those two, I support currently a button_prop and a button_pointer. {F540397} I tested the changes with a custom script where I added a custom entry and executed an operator on click - it seems to work exactly how it's intended to. The script: {F540435} As I'm not too experienced in rna stuff I would really appreciate any review. Thanks very much Campbell for his open ears & help on this issue! Reviewers: campbellbarton, mont29 Reviewed By: campbellbarton, mont29 Subscribers: sybren, mont29 Tags: #addons Differential Revision: https://developer.blender.org/D2612
2017-04-28Merge branch 'master' into blender2.8Campbell Barton
2017-04-28Getting rid of setlinestyle: Clip drawing code.Bastien Montagne
This one has been painful, it's doing lots of nifty conditional drawing of all kind... Also, very nice illustration of how cumbersome it is to use dashed shader currently, we really need to find a simpler way at some point imho. But this is not critical issue either, for now we can live with some uglyness like that. :/
2017-04-28Getting rid of setlinestyle: markers' dashed line in VSE.Bastien Montagne
2017-04-28Fix T51324: Auto-Depth fails rotating out of cameraCampbell Barton
2017-04-27OpenGL: don't set texture LoD bias via glTexEnvfMike Erwin
Not supported in core profile. We could do this in GLSL if it's really needed. Part of T51164
2017-04-27OpenGL: early exit from functions that don't mix with core profile Mike Erwin
These parts will not be part of final viewport, but are called indirectly during the transition. To avoid runtime errors on core profile, exit early -- functions effectively do nothing. I put the early exits inside the functions to avoid cluttering the code that calls these. But (long term) the calling functions need to change. Basic shader's detect_options function was unused and full of old, so I deleted it. Part of T51164
2017-04-27Add back text color for legacy drawingCampbell Barton
2017-04-27OpenGL: stop enabling GL_TEXTUREMike Erwin
Texturing is always enabled in GLSL. Simply use a sampler in the shader. Replaced gpu_generate_mipmap with glGenerateMipmap since the former just Enabled/Disabled the texture target and called the latter. Part of T51164
2017-04-27OpenGL: remove GL_MAP1_VERTEX_3Mike Erwin
This is related to OpenGL evaluators (old feature). From my understanding, we don't seem to be actually using it. Part of T51164
2017-04-27Getting rid of setlinestyle: transform code.Bastien Montagne
Note that I also made 'dash anchor point' consistent (the static one, not the mouse one), in previous code somtimes dashed were anchored to the static center point, in others, to the moving mouse position, the later was rather disturbing imho...
2017-04-27Merge branch 'master' into blender2.8Campbell Barton
2017-04-27Cleanup: remove unused matrix argCampbell Barton
2017-04-27Pose-mode drawing used alpha where it shouldn'tCampbell Barton
2017-04-26Getting rid of setlinestyle: Paint 'line' strokes.Bastien Montagne
2017-04-26Getting rid of setlinestyle: armature drawing code.Bastien Montagne
Firts usage of 3D version of new dashed line shader... Though not sure whether that code will be kept for long?
2017-04-262D dashed line shader: changed to use viewport side instead of scale.Bastien Montagne
The scale version was working(ish), but it was not really extendable to a 3D line version of the shader. Also note that sequencer view still keeps its 'UI scale' adaptation (dashes grow together with UI scale setting). Would be nice to do that everywhere ultimately imho, but nothing urgent here.
2017-04-26Pass graph to depth functionsCampbell Barton
2017-04-26Draw Manager: cleanup, use doxy categoriesCampbell Barton
Also add DRW_state for accessing current draw state.
2017-04-26Draw Manager: use engine drawing for depth drawingCampbell Barton
2017-04-26View3D: move depth drawing into own functionCampbell Barton
No functional changes
2017-04-26Merge branch 'master' into 28Campbell Barton
2017-04-26Avoid race condition copying Scene for off-thread OpenGL image saveSergey Sharybin
2017-04-26Threading: Remove thread lock which seems uselessSergey Sharybin
Render data is never guarded by image drawe lock.
2017-04-26Move depth select loop into its own functionCampbell Barton
Useful for splitting out draw logic in 2.8x
2017-04-26Getting rid of setlinestyle: 3DView ruler.Bastien Montagne
2017-04-26Getting rid of setlinestyle: non-camera 3DView render border.Bastien Montagne
Also fixed wrong color for in-camera render border, and added a comment to imm_cpack about expected color components order in integer parameter.
2017-04-26Fix material preview for Cycles and BIDalai Felinto
I had to update the .blend files too, and get them to use collections over the nameless old layers.
2017-04-26Getting rid of setlinestyle: Squencer space.Bastien Montagne
Not much to add here, except that it needs the scale of its MVP matrix to be taken into account here... Reviewers: merwin, dfelinto Differential Revision: https://developer.blender.org/D2647