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
2013-07-10fix for possible bug with compilers that dont have boolean support.Campbell Barton
2013-07-10fix [#36065] UI labels are shown in the theme color for unselected list itemsCampbell Barton
2013-07-10Fix #36041, Chroma key broken. Compositor node was using wrong socket index ↵Lukas Toenne
to link the output of the RGBToYCC operation to the chroma matte input. This mistake happens over and over, it's just not clear what the index arguments in these relink functions mean ... We really need to clean up that interface.
2013-07-10fix [#36079] Use Modifier Stack Crash with ParticlesCampbell Barton
2013-07-10add asserts for passing in bad index values to DM_get_***_data, CustomData_get()Campbell Barton
2013-07-10fix for particle lasso-select inverting the selection.Campbell Barton
2013-07-10fix [#35406] Hair puff brush bugCampbell Barton
- puff was interpolating hair that made longer strands cirl up. - also fixed problem with puff-volume option, it was over-accumulating so unselected parts of the hair would have too much offset applied.
2013-07-10draw loopcut display on the deformed mesh when in editmode.Campbell Barton
2013-07-10fix [#35948] Toggle-Draw AutoKeyframe BugCampbell Barton
2013-07-10Fix #36075: editing shading nodes could still crash blender internal renderedBrecht Van Lommel
draw mode. This happens because it uses node data structures in threads, now it does same as preview render, which is to immediately stop the render thread when e.g. deleting nodes.
2013-07-10fix [#36073] Changing list items misses undo pushCampbell Barton
2013-07-10Fix for bug #36009: Rendered ortho view messes up Freestyle lines in 3D ↵Tamito Kajiyama
viewport. Clipping start is negative when the viewport preview is used with the orthographic view, while Freestyle assumes that imported mesh data are in the camera coordinate system with the view point located at origin. The present solution is to adjust the clipping start/end and introduce a Z-axis offset for mesh vertices so as to satisfy the assumption.
2013-07-10Fix missing cycles viewport update when changing manual texture spaceBrecht Van Lommel
location or size in the properties editor.
2013-07-09Partial revert of rev58110Sergey Sharybin
There's one thing we didn't foresee from the beginning, which is apparently TLS is only available in OSX starting from version 10.7, and we still do support of 10.6. After recent Brecht's changes about locked viewport while initializing BI render this TLS is not needed in trunk anymore. So reverting this chunk of base iteration to use static variable. But leaving all the other static variables warped into context still, it should help a bit in the future refactor. Real fix would be to have some kind of graph context evaluation structure which would be passing to update routines (which will solve threaded mballs update) and making depsgraph responsible for getting a motherball. But this is all for GSoC project.
2013-07-09fix [#36004] Vertex parent on curve point results in blank 'parent_type' on ↵Campbell Barton
child object
2013-07-09Fix blender environment map texture looking different on the first render withBrecht Van Lommel
an image file, the image extend is set automatically when render starts but not when the image was never loaded yet.
2013-07-09fix [#36055] Edge/Face Info display on wrong position with key framesCampbell Barton
display editmesh stats with deform modifiers.
2013-07-09Fix #36030: datablock drag and drop to buttons not working with a certain numberBrecht Van Lommel
of objects in the scene.
2013-07-09Fix #36050, backdrop not working. The compositor backdrop requires a restart ↵Lukas Toenne
of the compositing job, which does not happen if just enabling backdrop after adding a viewer node. To fix this added the appropriate notifiers in a update callback for the show_backdrop property.
2013-07-09add checks in paintface_flush_flags for faces which have no original index ↵Campbell Barton
values. (could give out of bounds writes)
2013-07-09Fixed more threading issues with metaballsSergey Sharybin
This time issue was caused by static variables used in BKE_scene_base_iter_next function. Change is not so much ultimate actually, but didn't find more clear solution for now. So the changes are: - Wrap almost all the static variables into own context- like structure, which is owned by the callee function and getting passed to the iteration function. - Recursion detection wasn't possible with such approach, so recursion detection still uses static in_next_object variable, but which is now stored in thread local storage (TLS, or thread variable if this names are more clear for you). This makes code thread-safe, but for sure final solution shall be completely different. Ideally, dependency graph shall be possible to answer on question "which object is a motherball for this metaball". This will avoid iterating via all the bases, objects and duplis just to get needed motherball. Further, metaball evaluation ideally will use the same kind of depsgraph filtering, which will get result for question like "which objects belongs to this group of metaballs". But this ideal things are to be solved in Joshua's and mind GSoC projects. Tested on linux (gcc and clang) and windows (msvc2008), hopefully no compilation error will happen. Thanks to Brecht for reviewing the change and getting feedback for other possible ways we've dicussed!
2013-07-09fix [#36039] Texture paint bug with face selection on subdivided objectCampbell Barton
original patch by Antony Riakiotakis, made some edits to only check origindex when needed.
2013-07-09fix for error in vertex_group_vert_select_unlocked_poll, check for non ↵Campbell Barton
existing group wasn't right.
2013-07-09fix error where if you tried to bridge an odd number of loops after bridging ↵Campbell Barton
pairs, there was no way to change the options. eventually I think the operator api should support this but for now return finished.
2013-07-09fix [#36066] crash when Tab out text objectCampbell Barton
the way Curve.len is used at the moment is really stupid, calculate string size on save for now, but should really store the length in bytes and total number of characters.
2013-07-09fix [#36008] Can't set values higher than 1.0 in HSV colour picker (But can ↵Campbell Barton
in RGB) - also some strange behavior
2013-07-09fix for own error in normal-recalc r58077, initial face flipping wasn't ↵Campbell Barton
checking against face-island center.
2013-07-09minor improvementsCampbell Barton
- calc normals only check flag when needed. - keymap, dont get name unless its needed. - keymap, avoid property lookup. - idprop debug print, include pointer, helpful for troubleshooting.
2013-07-09fix [#35806] Unable to check "Correct UVs" option in "Loop Cut and Slide" ↵Campbell Barton
(Keymap Editor)
2013-07-09Fix #35969: blender internal and cycles not updating mesh while in edit mode.Brecht Van Lommel
Patch for blender internal made by Campbell.
2013-07-09Fix #36063: cycles 3D viewport was incorrectly influenced by blender internalBrecht Van Lommel
material halo settings.
2013-07-09Fix #35979, #35937, #35739: undo crashes and missing updates with blenderBrecht Van Lommel
internal viewport rendering. Lots of tweaks here, mainly: * Stop 3D viewport render and free database before undo. * Accumulate update flags rather than replace them each time it rerenders, to avoid previous updates getting lost. * Don't check against Render struct view parameters for changes, those are set in the job thread which might not run before the next update call.
2013-07-08Fix #36059: region overlap did not show scopes overlapping in the image editor.Brecht Van Lommel
It's only enabled for some particular regions, this one makes sense to show.
2013-07-08Fix #35960, #36044: blender internal viewport rendering crash while editing ↵Brecht Van Lommel
data. Now the viewport rendering thread will lock the main thread while it is exporting objects to render data. This is not ideal if you have big scenes that might block the UI, but Cycles does the same, and it's fairly quick because the same evaluated mesh can be used as for viewport drawing. It's the only way to get things stable until the thread safe dependency graph is here. This adds a mechanism to the job system for jobs to lock the main thread, using a new 'ticket mutex lock' which is a mutex lock that gives priority to the first thread that tries to lock the mutex. Still to solve: undo/redo crashes.
2013-07-08Attempt to fix #35057, disable threading if diameter of the brushAntony Riakiotakis
becomes too small. Typically this would happen if the number of buckets is clipped to the maximum value. This avoids thread overhead. A better fix might be to do bucket-brush intersection on main thread and dispatch threads to process bucket hits as they become available. This way only one thread at most would end up being used in such cases anyway. A better task scheduler is needed for that though, leaving for after GSOC.
2013-07-08fix/improve normal calculation, noticed when checking on the previous bugfix.Campbell Barton
- normals depended on the meshes rotation, so you could rotate Suzzane and in some cases one of the eye normals would be flipped. - normals depended on the meshes placement in relation to the meshes center, now find the outer most face by each face-island center.
2013-07-08Fix bevel bugs 34445 and 35109, copying over edge data.Howard Trickey
The bugs were about not respecting edge smoothness and not respecting edge crease. This change copies the edge attributes from a beveled edge to the two outside edges of the bevel.
2013-07-08Fix #36024. This part fixes user counting for node editor trees. The user ↵Lukas Toenne
count previously would only work correctly for node trees which are part of material, scene, etc. or linked by group nodes. Any custom pynodes tree edited directly as library data would get a 0 user count on reload and subsequently not be saved. Now the node space follows the same pattern as the image space: the node tree(s) user count gets incremented on file load and opening in the editor ensures a real user. This leads to 1 "unreal" user for the editor (dropped on reload), but seems to be the only viable solution atm.
2013-07-08Partial fix for #36024, don't always reset the node editor tree pointer if ↵Lukas Toenne
the type is undefined. This can happen if the tree type is defined by addon or script, in which case the tree type would be unknown the first time the context is checked, but registered right afterward. Also unknown tree types are handled fine, they just display dummy nodes in red warning color.
2013-07-08remove unused normal-recalc flags.Campbell Barton
2013-07-08move normal recalculation into its own source file.Campbell Barton
2013-07-08Fix #36042: Subdividing a cyclic spline shifts start/end pointsSergey Sharybin
Issue goes back to 2.4x days at least (but very much likely the issue is even older). It's caused by subdivision code was starting to iterate points from previous one, which shifted all the points by one. Reshuffled code so now iteration starts from first spline point. Thanks to Campbell for review and tests! :)
2013-07-08fix [#36043] Missing Tooltip for Excluded Paths field of Auto Run Python ↵Campbell Barton
Scripts in User Preferences -> File also select more/less were flipped for mesh menu compared to everywhere else.
2013-07-08edit on own commit r57801, don't check the size of dynamic arraysCampbell Barton
2013-07-08fix [#36047] Recalculate normals produces faulty normals on certain simple ↵Campbell Barton
meshes The mesh in the report had 3 faces-user-edges, resolve the problem by not walking over these edges. also don't recurse anymore (avoids realloc's).
2013-07-07Fix for Bug #35970: Freestyle + Particles = Crash.Tamito Kajiyama
The crash was caused by a reference of freed memory in add_halo_flare() that relied on the global variable R to retrieve a list of objects. The value of this variable is invalidated by a nested execution of the Blender Internal renderer for Freestyle stroke rendering, leading to the documented memory reference issue.
2013-07-07Fix for incorrect clipping of Freestyle strokes when the viewport preview is ↵Tamito Kajiyama
used.
2013-07-07Bugfix [35841] WM_OT_context_[toggle/cycle/etc.] operators dont show shortcutJoshua Leung
keys in menus (or tooltips) for properties they are used to toggle/cycle through Some properties can be toggled using hotkeys via WM_OT_context_* operators, but these hotkeys aren't really shown anywhere obvious like other hotkeys (i.e. they're not shown in tooltips or menus). Although it is possible to look these up in the userprefs/keymaps editor, it is quite tricky doing so, and most users would just assume that since no shortcut is displayed, there simply isn't one at all. This commit introduces a slightly hacky fix which basically amounts to checking if a property can be set by any of the few operators which are used for this purpose. In order to keep this from being too sluggish, I've currently limited this to only working on Editor (e.g. "Show Seconds" in Anim Editors) and ToolSettings (e.g. "Use Proportional Edit") properties. There are still some corner cases that would be nice to solve too (i.e. the Pivot Type enum menu/dropdown should really be able to show the hotkeys which have been assigned for each of those items, since they're by-and-large quite hidden and obscure), though being able to show some of these is perhaps better than not showing any!
2013-07-07Fix #36038: Auto Keying warning message is clamped in JapaneseSv. Lockal
2013-07-06fix [#36022] inconsistent naming for new imagesCampbell Barton