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
2014-02-06Fix lamps drawing only partially in OpenGL render.Brecht Van Lommel
It should draw lamps entirely, this happened due to hack to hide object centers.
2014-02-05Fix T35810: Texture faces display white in 3D view, when used as a Particle ↵Sergey Sharybin
Object This in fact seems some kind of video driver limitation, because it worked fine on windows but failed on linux here. The guess is that textures doesn't always work on display lists, or we simply do have some wrong OGL context somewhere. This is a workaround for until bigger viewport draw refactor is done (as Brecht mentioned display lists are deprecated in new OGL anyway).
2014-02-04View3d: fix for roll operating on locked views, now apply to user viewCampbell Barton
2014-02-04View3d: move lock check for orbit into a function and use for dolly tooCampbell Barton
2014-02-04Fix for view lock checks with ndof ops, was incorrectly comparing flagsCampbell Barton
2014-02-04Fix T38472: allow orbiting locked view when they are already 'user'.Campbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-02-01Math lib: add axis_angle_normalized_to_quat, use when length is knownCampbell Barton
2014-02-01Fix T38432, Fix 38432: more stupid error in view3d ray code, sorry about that.Bastien Montagne
2014-01-30Fix a nice bug in ED_view3d_win_to_vector() - vector returned for an ortho ↵Bastien Montagne
view was negated compared to vector returned for the same view in perspective... Found while working on snapping issues, confirmed using bisect tool: previous to this commit, inner/outer parts were swapped when switching from otho to persp!
2014-01-29Fix T38358: Face snapping fails on Orthographic viewBastien Montagne
Issue is caused by start point of ray used to detect faces under the mouse is set rather far away in ortho 3dviews. The loss of precision on the ray location induced by this can lead to face snapping failures. Solution is to do the raycasting with a temp start point, much closer to the object we check, and add back to the found distance the diff to the real start point once detection is done (as we need all hit distances from all tested objects to be relative to a common point!). Note this commit only addresses the "face snapping on mesh" case, other kind of snapping do not seem to suffer from this issue. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D268
2014-01-28Viewport Drawing: apply matcaps to all objectsCampbell Barton
2014-01-28Code cleanup: remove check for painting non-mesh objects (its impossible)Campbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-27Curves: save active point to fileKevin Mackay
Changed curve active point from pointer to index. Allows curve active point to be saved to file and retained between modes for free. Also some small optimisations by removing pointer look up code. - Made active point access functions into BKE API calls. - Fixes operators where curve de-selection resulted in unsel-active point. - Split curve delete into 2 functions
2014-01-23Removed the omat matrix from DupliObject.Lukas Tönne
This was storing the original object matrix, which builds on the assumption that obmat is modified during dupli construction, which is a bad hack. Now the obmats are still modified, but this only happens outside of the dupli system itself and the original ("omat") is stored as local variables in the same place where the obmat manipulation takes place. This is easier to follow and avoids hidden hacks as much as possible. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D254
2014-01-17Code cleanup: fix gcc/clang compiler warning in release build.Brecht Van Lommel
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2014-01-16Code Cleanup: simplify matcaps checks and quiet warningCampbell Barton
2014-01-15Fix text overlap when using edge angle & lengthCampbell Barton
From D193 by Ron Davis with some edits.
2014-01-14Fix T38209: Curve's didn't account for negative scaleCampbell Barton
Would use the face winding from the previously drawn mesh
2014-01-14Fix for own regression, editmode object selection (Ctrl+RMB)Campbell Barton
Wasn't working because of editmode override (which uses regular object selection in editmode)
2014-01-14Fix T38176: can't set vertex coordinate to 0.0 when it's set to 0.0000001.Brecht Van Lommel
2014-01-14Empties with Images draw type: add support for movies and image sequencesGeoffroy Krantz
This adds an ImageUser to such empties with all the typical settings. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D108
2014-01-13Color control for bl_debug_draw functionsHoward Trickey
2014-01-13Compilation error fix and strict warning silence for previous commitsSergey Sharybin
2014-01-13Remove direct lattice modifiers calc from the drawing codeSergey Sharybin
Same as mballs and curves it was only to work around DAG stupidness which hopefully was fixed in one of the previous commits. From quick tests everything works fine, if something is broken now poke me to find a proper solution.
2014-01-13Remove direct mball creation from the drawing codeSergey Sharybin
This is the same case as curves, and really this is now totally up to DAG, If something fails, poke me to fix the DAG.
2014-01-13Remove direct displist creation from drawing codeSergey Sharybin
It was some kind of workaround for DAG glitch in 2009 (commit hash 8c5c7ebb0) and according to the comment was needed to make select outline show immediately. After some tests it appears DAG behaves almost fine now (just needed to make it so layer is flushed properly to the set scene) and no reason to have rather confusing call in the code.
2014-01-13Fix some harmless warnings that mostly appeared on MinGW64Antony Riakiotakis
2014-01-12Style Cleanup: whitespaceCampbell Barton
2014-01-07Text3d: move text selection boxes from Curve to EditFont structCampbell Barton
resolves T38079
2014-01-05Text3d: selection in editmode now follows rotated text along pathCampbell Barton
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2014-01-02Fix T37170: Missing curve outline when using constructive modifiersSergey Sharybin
Issue was caused by wrong bool flag assignment.
2013-12-30Main API: refactor naming, use BKE_main_ prefix and add main arg.Campbell Barton
2013-12-29Fix for inexact 3d cursor placement especially when zoomed out.Campbell Barton
Even with the startup scene clicking multiple times in the corner of the view without moving the mouse would move the cursor a little each time.
2013-12-26Threaded object update and EvaluationContextSergey Sharybin
Summary: Made objects update happening from multiple threads. It is a task-based scheduling system which uses current dependency graph for spawning new tasks. This means threading happens on object level, but the system is flexible enough for higher granularity. Technical details: - Uses task scheduler which was recently committed to trunk (that one which Brecht ported from Cycles). - Added two utility functions to dependency graph: * DAG_threaded_update_begin, which is called to initialize threaded objects update. It will also schedule root DAG node to the queue, hence starting evaluation process. Initialization will calculate how much parents are to be evaluation before current DAG node can be scheduled. This value is used by task threads for faster detecting which nodes might be scheduled. * DAG_threaded_update_handle_node_updated which is called from task thread function when node was fully handled. This function decreases num_pending_parents of node children and schedules children with zero valency. As it might have become clear, task thread receives DAG nodes and decides which callback to call for it. Currently only BKE_object_handle_update is called for object nodes. In the future it'll call node->callback() from Ali's new DAG. - This required adding some workarounds to the render pipeline. Mainly to stop using get_object_dm() from modifiers' apply callback. Such a call was only a workaround for dependency graph glitch when rendering scene with, say, boolean modifiers before displaying this scene. Such change moves workaround from one place to another, so overall hackentropy remains the same. - Added paradigm of EvaluaitonContext. Currently it's more like just a more reliable replacement for G.is_rendering which fails in some circumstances. Future idea of this context is to also store all the local data needed for objects evaluation such as local time, Copy-on-Write data and so. There're two types of EvaluationContext: * Context used for viewport updated and owned by Main. In the future this context might be easily moved to Window or Screen to allo per-window/per-screen local time. * Context used by render engines to evaluate objects for render purposes. Render engine is an owner of this context. This context is passed to all object update routines. Reviewers: brecht, campbellbarton Reviewed By: brecht CC: lukastoenne Differential Revision: https://developer.blender.org/D94
2013-12-25Missed this in last commitSergej Reich
2013-12-253D View: Draw rigid body collision shapes.Sergej Reich
2013-12-253D View: Fix drawing bounds for game engineSergej Reich
Needs to be drawn around the origin to accurately represent collision shapes.
2013-12-22Style Cleanup: remove preprocessor indentation (updated wiki style guide too)Campbell Barton
2013-12-20Code Cleanup: styleCampbell Barton
2013-12-19Fix T37869: vertex paint + wireframe draw mode + smoke domain did not draw ↵Brecht Van Lommel
correct.
2013-12-18Fix T37834: smoke opengl render not delivering correct alpha channel.Brecht Van Lommel
2013-12-18View3D: small optimization for smoke drawingCampbell Barton
2013-12-18Game Engine: Level of detail support and toolsDaniel Stokes
Levels of detail can be added and modified in the object panel. The object panel also contains new tools for generating levels of detail, setting up levels of detail based on object names (useful for importing), and clearing an object's level of detail settings. This is meant as a game engine feature, though the level of details settings can be previewed in the viewport. Reviewed By: moguri, nexyon, brecht Differential Revision: http://developer.blender.org/D109
2013-12-17Partial fix for T37604: Deadlock when stopping rendered viewport (Blender ↵IRIE Shinsuke
Internal) - Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS macros cannot be used here, because the Py_BEGIN_ALLOW_THREADS causes a crash when quitting Blender. - The low level function PyEval_ReleaseLock() is used assuming the Python library was built with multi-threads support.
2013-12-14Revert "Hide the 3D cursor in a few cases where it is unneeded (active ↵Antony Riakiotakis
object is" This reverts commit 85eaa989807268dda60408f41475216ad45888d1. Conflicts: source/blender/editors/space_view3d/view3d_draw.c
2013-12-13minor style and comment fix.Antony Riakiotakis