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
path: root/source
AgeCommit message (Collapse)Author
2017-03-10Layers util function to move objects aroundDalai Felinto
This is required for outliner, so we can move an object from a collection into another
2017-03-10Improve outliner drag&drop feedback by using drop poll callbacksJulian Eisel
This way we can ensure the overlay to indicate where the item would be placed if it was dropped now is always at the correct place and doesn't mislead the user.
2017-03-10Layers: fix bug in move layer collection above/belowDalai Felinto
Reported by Julian Eisel (Severin)
2017-03-10Gaah, managed to undo a previous fix somehow...Julian Eisel
Somehow undid rBc70eb873057 in rB8e303aae255.
2017-03-10Draw drag&drop feedback overlays with element indentationJulian Eisel
That way users can see better at which hierarchy level the element will be inserted into.
2017-03-10Fix incorrect positioning of collection when dropping it after expanded oneJulian Eisel
2017-03-10Support drag & drop of collections across multiple hierarchy levelsJulian Eisel
Two issues are remaining, they'll be fixed separately: * Graphical feedback when dragging within the master collection is wrong * There's some bug where collections swap places instead, Dalai will investigate
2017-03-10Fix lamp draw setting color without checking if its neededCampbell Barton
2017-03-10Fix issues in outliner collection reordering functionJulian Eisel
2017-03-10OpenGL: Convert drawobject.c (cont)Clément Foucault
- drawDispListwire_ex() - removed primitive check in Batch_init()
2017-03-10OpenGL: Convert drawobject.c (cont)Clément Foucault
removed draw_box
2017-03-10OpenGL: Convert drawobject.c (cont)Clément Foucault
-Softbody matrix -EditCurve/NURBS
2017-03-10OpenGL: Convert drawobject.c (cont)Clément Foucault
Remove drawcircball Convert texturespace, editfont, metaball (except for displist usage)
2017-03-09Merge branch 'master' into blender2.8Campbell Barton
Manually merged viewport xray changes
2017-03-09Immediate Mode: Updated commented out code from textview.cDalai Felinto
2017-03-09Immediate Mode: Fix text color for Info and Console editorsDalai Felinto
Bug introduced in rB4b365064cfbd
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-09Immediate Mode: Fix crash on text editor when going over suggestion listDalai Felinto
2017-03-09Immediate Mode: text_draw.c 2/2Dalai Felinto
Tackle the remaining parts of the code, mainly the commented out function `draw_documentation`.
2017-03-09Immediate Mode: text_draw.c 1/2Dalai Felinto
Note 1: renamed draw_cursor to draw_text_decoration, since it was drawing cursor, margin, selection and line highlight Note 2: commented out code update coming next Part of T49043
2017-03-09Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2017-03-09Remove (ifdef) draw_documentation from text_draw.cDalai Felinto
This was no longer supported.
2017-03-09Building 2.8 again after warning cleanup (696ed6d3ca)Dalai Felinto
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-09Merge branch 'master' into blender2.8Campbell Barton
2017-03-09Cleanup: warningsCampbell Barton
2017-03-09Merge branch 'master' into blender2.8Campbell Barton
2017-03-09OpenGL immediate mode: graph_draw.cLuca Rood
This also fixes a little bug, which caused `draw_fcurve_samples` to never be called, and thus sampled curve range boundaries were not drawn. Part of T49043
2017-03-09OpenGL: drawobject.c (cont)Clément Foucault
2017-03-09Edit Mesh overlay: Ported Display Normals optionClément Foucault
2017-03-09Edit Mesh overlay: remove sizeNormal from ubo.Clément Foucault
2017-03-09Draw Manager: structural changeClément Foucault
All engines are now called by the draw manager. Engines are separate entities that cannot interfer with each others. Also separated draw_mode_pass.c into the mode engines.
2017-03-09Layers: move LayerCollectionDalai Felinto
This is to be used from the Outliner, when dragging and dropping collections from the Active Render Layer It also includes a cleanup on the outliner so it calls the new functions. Note: the outliner still needs fix to allow all the functionality here exposed. But this will be tackled by Julian Eisel later.
2017-03-09Layers: move SceneCollectionDalai Felinto
This is to be used from the Outliner, when dragging and dropping. It does not include moving LayerCollection (from Active Render Layer)
2017-03-09New util function: BLI_listbases_swaplinksDalai Felinto
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-08Fix T50849: Transparent background produces artifacts in this compositing setupSergey Sharybin
The issue was caused by sometimes negative color returned by the filter node. Seems to be caused by precision issues. Don't see any reason why we would want negative colors in output. Those only causing issues later on.
2017-03-08OpenGl: Converted more of drawobject.cClément Foucault
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-08Outliner fix: prevent segfault when there is no active layer collectionDalai Felinto
2017-03-08Fix T50886: Blender crashes on renderSergey Sharybin
Was a mistake in one of the previous TLS commits. See comment in the pool_create to see some details why it was crashing.
2017-03-08OpenGL: convert editarmarture_sketch to new imm modeKhanh Ha
Part of T49043, T49042 Reviewers: fclem, merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2548
2017-03-07OpenGL: Converted bit more of drawobject.c.Clément Foucault
2017-03-07Task scheduler: Add concept of suspended poolsSergey Sharybin
Suspended pools allows to push huge amount of initial tasks without any threading synchronization and hence overhead. This gives ~50% speedup of cached rigid body with file from T50027 and seems to have no negative affect in other scenes here.
2017-03-07Depsgraph: Remove workarounds from depsgraph for keeping threads aliveSergey Sharybin
This is something what should be done in the task scheduler instead with local thread queues so we handle this in a single place.
2017-03-07Task scheduler: Initial implementation of local tasks queuesSergey Sharybin
The idea is to allow some amount of tasks to be pushed from working thread to it's local queue, so we can acquire some work without doing whole mutex lock. This should allow us to remove some hacks from depsgraph which was added there to keep threads alive.
2017-03-07Task scheduler: Use real pthread's TLS to access active thread's dataSergey Sharybin
This allows us to avoid TLS stored in pool which gives us advantage of using pre-allocated tasks pool for the pools created from non-main thread. Even on systems with slow pthread TLS it should not be a problem because we access it once at a pool construction time. If we want to use this more often (for example, to get rid of push_from_thread) we'll have to do much more accurate benchmark.