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
2016-11-22Use const for color array argumentsJulian Eisel
2016-11-22Fix missing conversion of uchar color to floatJulian Eisel
Decided to just pass float [4] args, so no type conversion is needed at all.
2016-11-19Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/versioning_270.c source/blender/depsgraph/intern/builder/deg_builder_nodes.cc source/blender/depsgraph/intern/builder/deg_builder_relations.cc source/blender/editors/space_view3d/drawobject.c
2016-11-19Fix Node space ID remap callback not handling node trees.Bastien Montagne
Yep. Kinda ridiculous, but forgot to handle the very node trees data-blocks in that editor! Related (but not fixing) to T49991.
2016-11-18convert icon_draw_texture to gawain imm mode replacementsMartijn Berger
2016-11-18Fix (unreported) bad handling of brush's fill threshold value.Bastien Montagne
'1' threshold value would only allow to access a third of the basic 'color space' (from black to white, from 0.0 to 1.0 component values), when you expect it to access the whole range. Unfortunately, this needs a subversion bump to allow already defined brushes to keep exact same behavior! Also, did not change default value (0.2) for new brushes, think here keeping current one makes more sense. Thanks to @LucaRood for confirming the issue.
2016-11-18Fix T50063: Editing driver's expression eliminates "Zero" numberJulian Eisel
Disables trimming of trailing zeros in case button contains an expression.
2016-11-18Implement multi-view stereo support for image emptiesDalai Felinto
Empty images were implemented to expand (and eventually replace) the background images functionalities. If we are ever to drop background images "image empties" should support stereo/multi-view as well.
2016-11-18fix problem from D2360Mike Erwin
I was too eager to get patch in after a last-minute change. My bad!
2016-11-18Moved UI_view2d_grid_draw() to immediate functionsBenjamin N. Summerton
Part of T49043 Reviewers: krash, merwin Reviewed By: krash, merwin Differential Revision: https://developer.blender.org/D2360
2016-11-18OpenGL: textview port to immediate mode -> T49043Mike Erwin
Updated the GL calls to the new immediate mode. I left some glcolor calls which I'm not sure wether thats right? Part of T49043 warm regards, Sebastian Witt Reviewers: merwin Reviewed By: merwin Tags: #bf_blender_2.8 Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2305
2016-11-18use new enum types in glutil & imm_utilMike Erwin
2016-11-17delete deprecated fdrawXORcirc functionMike Erwin
Only one place used it, and that place was dead code already.
2016-11-17mark certain glutil functions as deprecatedMike Erwin
These will be removed before we ship 2.8
2016-11-17Convert console_draw.c to GawainMartijn Berger
Reviewers: merwin Reviewed By: merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2276
2016-11-16Fix T50051: Avoid crash when render grease pencil from VSEAntonioya
The renderpasses for grease pencil are not necessary when render from sequencer. This fix solves the GPF but we need to rethink the complete render process for grease pencil and integrate better in the render and composition workflow. Thanks to Dalai Felinto por helping in the debug and fixing of the problem.
2016-11-16Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2016-11-16Fix T50046: Segmentation fault due to out-of-range VertexGroup.weight() call.Bastien Montagne
`get_vert_def_nr()` was not checking vert index in bmesh case (aka Edit mode).
2016-11-16Remove unused vector iconsMartijn Berger
it seems to me the icons are unused: - VICO_VIEW3D_VEC - VICO_EDIT_VEC - VICO_EDITMODE_VEC_DEHLT - VICO_EDITMODE_VEC_HLT - VICO_DISCLOSURE_TRI_RIGHT_VEC - VICO_DISCLOSURE_TRI_DOWN_VEC - VICO_MOVE_UP_VEC - VICO_MOVE_DOWN_VEC - VICO_X_VEC Since their code contains immediate mode GL calls and they seem to be unused i thought we could remove them. Reviewers: mont29 Reviewed By: mont29 Subscribers: merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2356
2016-11-16Part of T49043: Convert drawsimdebug.c to use the new Gawain API.Lukas Tönne
This conversion is pretty straightforward. The code for debug drawing is not great, but it does the job. Rewriting it is for another day, if it becomes more widely used.
2016-11-16Disable possibility to flip bone names of linked armaturesSergey Sharybin
Linked data should not be modified in such a way. Reported by Nathan here in the studio, reviewed by Bastien, thanks!
2016-11-16Blender2.8 convert UI_view2d_constant_grid_draw to new immediate modeMike Erwin
Convert UI_view2d_constant_grid_draw to new immediate mode. Part of T49043. Reviewers: merwin Reviewed By: merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2298
2016-11-16Use new immediate mode for ED_region_grid_drawMike Erwin
Convert ED_region_grid_draw to new immediate mode. Part of T49043 Reviewers: merwin Reviewed By: merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2289
2016-11-16Fix T50026: "Only Insert Needed" doesn't work when using Trackball rotationJoshua Leung
The rotation case here only covered rotation by the "Rotate" tool, but skipped the "Trackball" tool.
2016-11-15blender 2.8: OpenGL immediate mode: anim_drawMike Erwin
Reviewers: merwin Reviewed By: merwin Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2353
2016-11-15start using COMP_* instead of GL_* in viewportMike Erwin
Gawain can accept either enum, but its own COMP_ values are recommended.
2016-11-15Fix T50022: "Mirror" in Dopesheet Crashes BlenderJulian Eisel
Just fixing crash itself. Actually operator shouldn't run in most editors (not in dopesheet either I guess), but don't want to spend time on that right now.
2016-11-15Implement grouped undo option for operatorsDalai Felinto
This option makes an operator to not push a task to the undo stack if the previous stored elemen is the same operator or part of the same undo group. The main usage is for animation, so you can change frames to inspect the poses, and revert the previous pose without having to roll back tons of "change frame" operator, or even see the undo stack full. This complements rB13ee9b8e Design with help by Sergey Sharybin. Reviewers: sergey, mont29 Reviewed By: mont29, sergey Subscribers: pyc0d3r, hjalti, Severin, lowercase, brecht, monio, aligorith, hadrien, jbakker Differential Revision: https://developer.blender.org/D2330
2016-11-15Atomics: Make naming more obvious about which value is being returnedSergey Sharybin
2016-11-15blender 2.8: OpenGL immediate mode: action_drawMike Erwin
Updated action_draw to use imm mode. Reviewers: merwin Subscribers: LazyDodo Differential Revision: https://developer.blender.org/D2351
2016-11-15blender 2.8: Opengl: UI_draw_roundboxMike Erwin
all is in the title too.. Reviewers: merwin Reviewed By: merwin Subscribers: Blendify, Severin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2337
2016-11-14BMesh: fix edge-rotation selection state bugCampbell Barton
Failed edge rotation could leave unselected edge between selected faces, also report warning when edges fail to be rotated.
2016-11-14OpenGL: use packed normals for fancy wireframesMike Erwin
Consumes much less memory (1/3 for both normals = 32 bytes less per edge). Same visual result. We can pack normals for other draw modes to get similar savings. Part of T49165
2016-11-13BMesh: BM_face_exists no longer uses return argCampbell Barton
Just return the face or NULL, like BM_edge_exists(), Also for BM_face_exists_overlap & bm_face_exists_tri_from_loop_vert. No functional changes. Old code did some partial overlap checks where this made some sense, but it's since been removed.
2016-11-13Fix T49997: don't flip texture users menu in texture properties.Brecht Van Lommel
2016-11-13Fix T50008: camera DOF Distance picking from W key menu not working.Brecht Van Lommel
2016-11-12Sculpt UI: Make DynTopo constant detail a resolution valueJulian Eisel
This should make it easier to sculpt in high resolutions, downside is that the new way to calculate maximum edge length is a bit less intuitive. Maximum edge length used to be calculated as blender_unit * percentage_value, now it's blender_unit / value. Reused old DNA struct member, but had to bump subversion to ensure correct compatibility conversion. Also changed default value slightly (would have had to set to 3.333... otherwise). Was Requested by @monio (see https://rightclickselect.com/p/sculpting/zpbbbc/dyntopo-better-scale-input-in-constant-detail-mode) and I think it's worth testing.
2016-11-12Fix T49996: VSE opengl render crash with grease pencil if current frame is ↵Antonioya
empty If the opengl render with grease pencil is run from VSE with the current frame outside visible frames, the render pass is wrong and the render must be canceled because nothing to render. Related to #T49975
2016-11-11GPencil: Create brush set when create new datablock or layerAntonioya
Before this commit, the brush set was created with the first stroke drawing, but if the user creates the datablock or the layer manually (not drawing) the brush list was empty. This commit complement the python fix by Sergey: https://developer.blender.org/rB89c1f9db37cc1becdd437fcfdb1877306cc2b329
2016-11-10Consider Numpad Enter in pose slide operatorsSergey Sharybin
It was annoying to only have regular Enter confirming input there.
2016-11-10Fix Grease Pencil render in VSE crashes when no strips (#T49975)Dalai Felinto
Solution as suggested by Sergey Sharybin. Initial debugging by Antonio Vazquez.
2016-11-09Depsgraph: Fix crash deleting bones in armature edit modeSergey Sharybin
For the new dependency graph we have to rebuild graph when bones "topology" are changing.
2016-11-08blender 2.8: OpenGL immediate mode: node_draw_preview_backgroundMike Erwin
all is in the title. Reviewers: merwin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2336
2016-11-08Blender 2.8: OpenGL: new immediate mode for paint_image.cMike Erwin
This one is for the straight line (white with width 2.0 over a black with width 4.0) drawn when you use the gradient tool. To test: Image editor, create / open an image, choose image paint mode and on the tool shelf: choose the Fill brush and enable "Use Gradient" for it. Then click and drag on the image. From what I checked, calls to glLineWidth are not being removed yet, so I kept them. Reviewers: dfelinto, Severin, merwin Reviewed By: merwin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2312
2016-11-08Blender 2.8: OpenGL: new immediate mode API for screendump.cMike Erwin
It's the screencast cursor, tested here, compared to original, seems to be working fine. Reviewers: dfelinto, Severin, merwin Reviewed By: merwin Tags: #bf_blender_2.8, #opengl_gfx Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2306
2016-11-08OpenGL: mesh edit mode uses edge overlaysMike Erwin
Legacy GL uses GL_LINES, modern GL uses the good stuff. Edit mode still has a long way to go...
2016-11-08OpenGL: support for edge overlaysMike Erwin
Has some obvious opportunities for improvement. This is my second attempt. First attempt used MLoopTri and sort of worked...
2016-11-07OpenGL: fade other objects during edit modeMike Erwin
Right now this only affects other objects in wireframe. The idea is to do something similar for other draw modes, and keep focus on the edit object. As seen at #bcon16
2016-11-07OpenGL: simple mesh edit mode for new viewportMike Erwin
Very very simple. Needs a lot of work to reach "legacy viewport" capabilities.
2016-11-07OpenGL: enable fancy wireframesMike Erwin
Most of this was already in place, just enabling & adding comments. One fix was needed to make batch uniforms stick between multiple draws. Added comments to selection outline; no functional changes there.