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
2013-05-17code cleanup: use BM_elem_flag_test rather then accessing 'ele->head.hflag'Campbell Barton
2013-05-17ignore hidden edges for bmesh grid-fill.Campbell Barton
2013-05-17fix for BM_mesh_edgeloops_find(), could give edge loops with one vert. ↵Campbell Barton
(caused bridge to crash sometimes)
2013-05-17fix for error in bridge tool, using freed faces from bmo input.Campbell Barton
2013-05-173D Viewport rendering (Blender Internal)Ton Roosendaal
Added incremental re-render on view changes. That means all data preprocessing only needs to be done once on view changes, quite faster that way. Also fixed a bug in raytracing strands with soft shadows, was wrongly changing coordinates in a static array. Note: proper signals for re-renders is still on the todo. Many button options don't signal a re-render yet. Work around: press G+ESC for quick full renders.
2013-05-17Fix #35393: Sculpt Shortcuts are bananas.Sergey Sharybin
Issue was introduced by self in svn rev56815. Brushes list was simply not fully traversing due to mistake in termination condition.
2013-05-17Fix #35390: the verticel lines indicating scene start and end frame in theBrecht Van Lommel
sequencer now draw such that a strip that spans this time is contained just between these lines.
2013-05-17bump mathutils callback slot size.Campbell Barton
2013-05-17This commit addresses the somewhat weak handling of stackless textures in ↵Bastien Montagne
Blender with default (BI) renderer. To do so, it's defining an "other" texture context, and when in this one, it switches to using the "new shading" texture handling already known with Cycles engine. So now, in the new "other" tex context, you can (depending on active data) have direct access to modifiers', force's or brushes' textures... I also refactored a bit how texture contexts are handled (once again, we had some quite similar code in both space_buttons and RNA sources). This should also solve some harmless glitches like "no texture context selected in UI" sometimes when you remove data related to current texture (see e.g. after removing the material from default cube, in startup scene). This usage of two different systems for textures, and the handling of switches between them, has been a bit tricky to get working right, but it is OK now I think. I also had to add a bool flag to buttons space, SB_TEX_USER_LIMITED (use_limited_texture_context in RNA), which indicates "new shading" texture code whether it has to ignore materials, lamps etc. (BI) or not (Cycles). Btw, pinned textures from modifiers/force/etc. were also broken (showing nothing), now it should work too. Thanks to Brecht for reviewing.
2013-05-17Fix #35398: changing render layer name causes animation to be lost.Brecht Van Lommel
2013-05-17Fix for Freestyle built-in style module sketchy_multiple_parameterization.py ↵Tamito Kajiyama
not working correctly. Suitable for inclusion in 2.67a. Logical AND, OR and XOR operations on freestyle.Nature instances gave an error in some cases. The updated C implementation of these bitwise operations is intended to reproduce the following Python implementation: class Nature(int): def __and__(self, other): return Nature(int(self) & int(other)) def __or__(self, other): return Nature(int(self) | int(other)) def __xor__(self, other): return Nature(int(self) ^ int(other)) The problem report was by plasmasolutions on IRC, thanks a lot!
2013-05-16workaround for loopselect-slide (with multicut enabled) changing from ↵Campbell Barton
vertex-select to edge-select. this is needed to slide, but wasn't so nice for users, now restore the original mode.
2013-05-16fix for crash in grid-fill where it was possible for rail edges to overlap.Campbell Barton
2013-05-16Fix #35388, grouped nodes not editable in properties ui.Lukas Toenne
The issue here was that the "active" material node depends on the editor context. Previously (< 2.67) there was only 1 edited node group possible globally throughout Blender, so the active material in the context could be resolved more easily. The solution now involves the active_viewer_key variable (first introduced for compositor viewer nodes in r56271, naming is a bit awkward but hard to change in DNA). This key defines the "last modified" node tree to resolve ambiguity of active context items. For single editors the result is the same as in 2.66, if multiple editors are used with different node groups the last modified tree is used.
2013-05-16grid-fill: fix error in detecting face flipping.Campbell Barton
2013-05-16Fix #35384: animation to enable/disable render layers was applied one frame tooBrecht Van Lommel
late when rendering animations.
2013-05-16CMakeLists.txt changes to use new static Jack libs with VC2012Jürgen Herrmann
2013-05-16Fix compile error on VS2012.Jürgen Herrmann
Unused variables (for debug only) give an error.
2013-05-16fix [#35385] freestyle rendering crash blenderCampbell Barton
2013-05-16bmesh grid fill: interpolate vertex customdata (useful for vertex weights ↵Campbell Barton
and shapekeys)
2013-05-16Fix for [#35352] Freestyle + Geometry Spatial Noise freezes on render.Tamito Kajiyama
SpatialNoiseShader, as well as SmoothingShader were not updating stroke length after geometry modification, causing an infinite loop in Stroke::Resample(int iNPoints) due to incorrect length-based resampling of stroke vertices.
2013-05-16Fix #35368:Brecht Van Lommel
* Editing number of segments for particle hair did not update the viewport. * Hidden particles were confusing, the paths were drawn but without the points. Now it draws the path faded to indicate that they are hidden/locked. * Select tips/roots operators now have options to select/deselect/toggle/invert.
2013-05-16Fix #35372: sculpting/painting long brush strokes with small brush size wouldBrecht Van Lommel
take up a lot of memory. The operator was recording an array with all stroke points. However this was not particularly useful, only sculpt mode had exec() implemented to redo the stroke, but it was not registering the operator anyway so there was no way to access the data after the operator was done. So no one was using this anyway. I did now implement exec for the paint modes so you can call the operator with stroke points from a script.
2013-05-16Fix #35355: 2D image paint View mapping mode was dependent on zoom, this wasBrecht Van Lommel
wrong, it should just fit the texture in the brush circle.
2013-05-16bmesh, grid fill tool.Campbell Barton
This uses 2 edge loops and fills them with a grid, taking into account curvature of surrounding edges. Access from face menu: Ctrl+F,G http://www.graphicall.org/ftp/ideasman42/grid_fill.png
2013-05-15Fix action zones not drawing properly while sculpting, due to recent bugfix.Brecht Van Lommel
Partial redraw doesn't work so well with these, now I've changed the action zones to just draw as part of regions instead of as a special overdraw done at the end, which fits better with partial redraw by avoiding any special exceptions.
2013-05-15Fixes for blender internal viewport render:Brecht Van Lommel
* Particles did not render at viewport resolution like meshes. * Properties editor preview render of hair was crashing, solution is to have two separate flags for this preview render and viewport preview render.
2013-05-15Fix for missing finalization of memory blocks allocated in the Freestyle module.Tamito Kajiyama
Suitable for inclusion in 2.67a.
2013-05-15use bool arrays rather then char for weight paint lock/select arraysCampbell Barton
2013-05-15Attempt to fix #35057 and #35372: slow texture painting performance.Brecht Van Lommel
After the paint refactoring for 2.67, the OpenGL texture was getting updated for every stroke point, rather than once for every redraw. With a small brush radius and low spacing the number of stroke points can be quite large, which might have a big performance impact depending on the graphics card / drivers. Also for 2D image paint, avoid redrawing the button panels and properties editor during painting. There is another possible cause for slowdowns with 3D texture painting which was not fixed. Projection painting is creating and destroying threads for every stroke point. Depending on the CPU/OS there might be a lot of overhead in doing that if the brush size is small.
2013-05-15Fix another cases where painting long brush strokes with small radius was slowedBrecht Van Lommel
down, this time by the operator properties getting converted to a string for display in the info window. With 1000+ stroke points this can get slow, and takes up too much space anyway, so now it's (somewhat arbitrarily) limited to printing only 10 points.
2013-05-15Fix slow resizing of ID property arrays with more than 1619 items, it ↵Brecht Van Lommel
incorrectly reverted to sizing with by 1 each time. This was slowing down painting long strokes with small brush radius.
2013-05-15Fix #35354: dyntopo - materials and UI display issuesSergey Sharybin
Textured dyntopo draw was leaving 2d textures enabled when it shouldn't. Root of the issue was figured out by Campbell, actual place where 2D textures left enabled found by self. Also, simplified fix is suggested by Campbell (mine was 2 lines longer! :)
2013-05-15The Area Split/Merge corner widget was drawing 1 pixel too big, the lines ↵Ton Roosendaal
overlapped the area divider line.
2013-05-15Patch for CMakeLists.txt to build with new OpenAL libs on VS2012.Jürgen Herrmann
Because of crashing issue with old Creative Labs OpenAL on Windows 8 x64.
2013-05-15Fix part of #35372: distorted strokes when painting zoomed out with a small ↵Brecht Van Lommel
brush size. Interpolated mouse coordinates should not get rounded to integers.
2013-05-15Fix #35364: sculpting - D shortcut inconsistencySergey Sharybin
Switching to tool will cycle via all brushes with given type only in case current brush tool matches requested one. This means, when user requests brush with different type, first brush of that tool will be activated. But further toggling to the same tool will cycle via all acceptable brushes.
2013-05-15Move sculptsession functions implementation from object.c to paint.cSergey Sharybin
This functios are declared in BKE_paint.h header and using SculptSession structure which is also declared there. Anyway, does not make sense such a splitting of header and implementation files, better be consistent here.
2013-05-15Fix #35362: using dyntopo gives wrong render resultsSergey Sharybin
Made it so dynamic topology will flush changes from SculptSession->bm to Object->me. Used the same approach as sculptsession_bm_to_me does, but instead of using DAG_id_tag_update used in-place DerivedMesh release. Otherwise this lead to some update issues resulting in missed object after render. Also fixed multires modifier not being applied for render when rendering from dyntopo sculpt mode. P.S. Apparently sculpsession_bm_to_me was declared in BKE_paint.h but implemented in object.c. Rather confusing and better make it so this functions are declared and implemented in consistent files. But will solve this in a separate commit.
2013-05-15bmesh edgeloop utility function, calculates an edge loop from 2 verts (start ↵Campbell Barton
and endpoint).
2013-05-15fix for own recent change with normal calculation (with no faces it wasn't ↵Campbell Barton
freeing 0 byte allocation).
2013-05-15More fix for memory leaks in the Freestyle module.Tamito Kajiyama
2013-05-15BGE: A little bit of cleanup:Mitchell Stokes
* Removing KX_Scene::RemoveAnimatedObject() since KX_Scene::NewRemoveObject() is already handling this. * Don't create a new BL_ActionManager when replicating an object. Just set m_actionManager to NULL and let KX_GameObject::GetActionManager() allocate a new BL_ActionManager when one is needed. * Use KX_GameObject::GetScene() instead of KX_GetActiveScene() in KX_GameObject::GetActionManager() to make sure we're using the object's scene instead of one where Python might currently be running from. This could avoid potential issues with playing actions for objects in other scenes.
2013-05-15Further fix for memory leaks in Freestyle Python API components:Tamito Kajiyama
- StrokeAttribute thickness setter - BezierCurve (used from within BezierCurveShader) - Smoother (used from within SmoothingShader)
2013-05-15Fix for a copy-and-paste bug in a Freestyle Python API helper function.Tamito Kajiyama
2013-05-14Patch to CMake build system.Jürgen Herrmann
Install needed dlls for libjack.
2013-05-14Moved main part of bpy.app.translations doc out of C code, as suggested by ↵Bastien Montagne
Campell, thx.
2013-05-14Fix #35347: constraints with vertex group targets were not using the vertex ↵Brecht Van Lommel
group weights, it assumed all weights were 1. This gave very different results with the new bevel modifier due to slightly different vertex group interpolation.
2013-05-14CMake build system updateJürgen Herrmann
- Extending CMakeLists.txt to support builds with VC2012. - Fix some typo in CMakeLists.txt - Introduces experimental WITH_AVX_CPU to build with /arch:AVX (VC11 only)
2013-05-14API doc for bpy.app.translations should look better now.Bastien Montagne