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-07-18WM: move WM_event_is_last_mousemove to the WM APICampbell Barton
2017-07-11Fix T51761: wpaint select depth limit failsCampbell Barton
Limit select fails with circle and border select. Regression in 2.76
2017-07-04Fix T51834: Active Object and Groups color difference imperceptibleBastien Montagne
16 was not enough here, -32 seems to give OK results.
2017-07-04Fix T51965: Custom Bone Shape Wireframe setting affects wireframe thickness.Bastien Montagne
Clearing of custom bones outline's line thickness was not done at proper point, wireframe drawing never changes line thickness, only solid draw with outline does...
2017-06-14Fix buffer read error w/ 2 pass select queriesCampbell Barton
Also don't do second pass when the first has no hits.
2017-05-26Fix GPencil depth checksCampbell Barton
Regression in 195d0fba
2017-05-26Fix T51629: Select w/ object lock failsCampbell Barton
Regression in 195d0fba
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-18Fix T51538: Weight-paint circle select w/ clippingCampbell Barton
2017-05-10Fix T51354: Final take on multi-view (single view) issuesDalai Felinto
We now handle selection and transform manipulators (kudos to Julian Eisel to help hunting down the latter).
2017-05-10Fixup for multi-view single eye viewport issuesDalai Felinto
In d2f1f80a6fa I was always calling view3d_main_regio_setup_view with NULL matrices, which is not always correct.
2017-05-10Partial fix to Multi-View single eye issues in viewportDalai Felinto
Handling depth loop for now (3d cursor positioning). Selection is a bit more tricky. Reported on 51354
2017-05-05Remove redundant backbuffer/transform checkCampbell Barton
Transform no longer uses backbuffer for snap.
2017-04-29View3D: support both orbit select & depthCampbell Barton
When using both preferences, use cursor depth when nothings selected.
2017-04-28Fix T51324: Auto-Depth fails rotating out of cameraCampbell Barton
2017-04-27Cleanup: remove unused matrix argCampbell Barton
2017-04-26Move depth select loop into its own functionCampbell Barton
Useful for splitting out draw logic in 2.8x
2017-04-21Store edit-font select-box lengthCampbell Barton
A little awkward to calculate when drawing.
2017-04-20Use reflect for calculating second normalCampbell Barton
2017-04-11Remove redundant glColor callCampbell Barton
2017-04-10Fix stereoscopic camera volume drawing.Bastien Montagne
Not sure how we got to that point, but code was drawing twice one side of the camera volume, and not at all another side!
2017-03-30Depsgraph: Fix missing updates when in local viewSergey Sharybin
This area is a subject of reconsideration, so for now used simplest way possible -- ensure depsgraph's nodes have proper layer flags when going in and out of local mode.
2017-03-22Cleanup/optimization: Simplify some usages of uiItemFullO/_ptr, avoid ↵Bastien Montagne
multiple search of same op.
2017-03-20Cleanup: useless call to glRasterPos before `view3d_cached_text_draw_add()`Bastien Montagne
Probably some leftover from much older code?
2017-03-14Fix T50932: depth picking w/ pose-bone constraintsCampbell Barton
2017-03-11Cleanup: code style & cmakeCampbell Barton
2017-03-10Cleanup: rename drawObjectSelectCampbell Barton
After adding draw_object_select, noticed a similar name. Rename drawObjectSelect to draw_object_selected_outline.
2017-03-093D View: x-ray support for depth pickingCampbell Barton
Selection loop would draw the selection ignoring xray. Now draw in a separate pass after clearing the depth buffer, as with regular drawing. Also disable depth sorting, caller can sort the hit-list by depth if needed.
2017-03-093D View: wrap GPU_select cache callsCampbell Barton
Avoids including GPU_select and makes it more clear that the cache is needed for view3d_opengl_select calls. Also use typed enum for select mode.
2017-03-093D View: use cache for armature selectCampbell Barton
2017-03-083D View: new nethod of opengl selectionCampbell Barton
Intended to replace legacy GL_SELECT, without the limitations of sample queries which can't access depth information. This commit adds VIEW3D_SELECT_PICK_NEAREST and VIEW3D_SELECT_PICK_ALL which access the depth buffers to detect whats under the pointer, so initial selection is always the closest item. The performance of this method depends a lot on the OpenGL implementations glReadPixels. Since reading depth can be slow, buffers are cached for object picking so selecting re-uses depth data, performing 1 draw instead of 3 (for 24, 18, 10 px regions, picking with many items under the pointer). Occlusion queries draw twice when picking nearest, so worst case 6x draw calls per selection. Even with these improvements occlusion queries is faster on AMD hardware. Depth selection is disabled by default, toggle option under select method. May enable by default if this works well on different hardware. Reviewed as D2543
2017-03-08OpenGL Select: integer rect for passing regionCampbell Barton
2017-03-08Cleanup: replace short -> int for selection hitsCampbell Barton
2017-03-08Rename BLI_rct*_init_pt_size -> radiusCampbell Barton
2017-03-06Rigid body: fix viewport not updating on properties change.Clément Foucault
2017-03-05BLI_rect: add init from point functionsCampbell Barton
Initialize a rectangle from point+size.
2017-03-04Cleanup: expose struct for ED_view3d_mats_rv3d_*Campbell Barton
2017-03-02Fix duplicated 'Accurate' property for manipulator keymap itemJulian Eisel
Is already added through Transform_Properties
2017-03-02Fix another part of T50565: Planar constraints were always initialized to ↵Sergey Sharybin
accurate transform Now it is defined by keymap.
2017-03-02Fix second part T50565: Using planar transform once makes it enabled by defaultSergey Sharybin
Was caused by property being saved by the operator manager.
2017-03-01Cleanup: code-style, duplicate headerCampbell Barton
2017-02-23Fix possible crash in various 3D View operatorsJulian Eisel
Was actually harmeless and not crashing, but I'd say more or less only by luck: the NULL-check for region data would only evaluate to true for the correct 3D View region. However, if we were to add region data to a different region type in future, this would lead to undefined behavior if executed in the wrong region.
2017-02-19Fix T50564: 3D view panning with scroll wheel inconsistent with dragging.Brecht Van Lommel
2017-02-09Cleanup: Remove commented codeAaron Carlisle
Code has been commented from before 2010 and relates to old Background image code.
2017-02-04Remove flag: `SNAP_OBJECT_USE_CACHE` from snap_contextGermano Cavalcante
Since the cache is created in one way or another, this flag is not really making a difference More details here: D2496
2017-01-21Fix T49527: Blender stalls when changing armature ghosting range with ↵Joshua Leung
stepsize = 0 A big thanks to Steffen Mortensen (stifan) for finding the root cause of this bug!
2017-01-20Fix compilation error with strict flagsSergey Sharybin
2017-01-20D1873: Customize style for animation motion pathsAntonio Vazquez
New options to define the style of the animation paths in order to get better visibility in complex scenes. Now is possible define the color, thickness and several options relative to the style of the lines used to draw motion path.
2017-01-05Show 'Manipulate Center Points' in weight paint modeJulian Eisel
If the active object is in weight paint mode, but some armatures in pose mode, 'manipulate center points' still affects the transformation. See bd2034a749a9a9. Also removed redundant check, we basically did the same check for paint modes twice.
2016-12-28Various UI message and API doc tweaks and fixes.Bastien Montagne
Mostly from patch D2256 by Aaron Carlisle (@Blendify), thanks!