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-04-22fix [#35026] Curve build modifierCampbell Barton
2013-04-22Support more mapping modes for alpha masks. Tiled, stencil and randomAntony Riakiotakis
2013-04-22Fix #35039: two other issues with curve capsSergey Sharybin
- Skip filling caps if spline is cyclic - Use hard limit of 1024 for curve resolution
2013-04-20skip checks in statvis_calc_thickness(). also remove paranoid NULL checks in ↵Campbell Barton
smallhash.c
2013-04-20fix [#35025] Mesh Debug samples strange behaviorCampbell Barton
2013-04-19Bring back support of FFmpeg >= 0.7Sergey Sharybin
After planar codecs support minimal FFmpeg was bumped to 0.10 which was not so much nice because it was only released only later last year. Didn't find a way to make compatibility code local in ffmpeg_compat, so there're some ifdefs in audaspace and writeffmpeg. Not entirely happy, but having a bit of ifdefs in code better than lots of real PITA for platform maintainers.
2013-04-19Fix for bug reported by Dalai Felinto on IRC, crash in blenderplayer after ↵Lukas Toenne
r56055. The ntreeUpdateTree function uses G.main, which is not defined in blenderplayer (NULL). Using G.main is in itself an ugly hack required for the node verification. Just added a sanity check for now.
2013-04-18fix for problem with too low epsilon when calculating thickness, also ↵Campbell Barton
increase limits.
2013-04-18add display mode for sharp edges.Campbell Barton
2013-04-18code cleanup: removed unneeded null check in object drawing, some warnings, ↵Campbell Barton
style.
2013-04-18Fix for #35010, Node Groups don't show up anymore in Material Surface. ↵Lukas Toenne
Fixing the node tree view was a bit of a todo item after pynodes. To make the type-dependent socket linking in this template a bit more manageable, there are now separate functions that generate "items" for a particular node type consisting of the socket index, name and possibly additional properties required (currently only node groups vs. all other types). This is still nowhere near flexible enough to be used as a generic template all node systems, but works for now. In order to make this usable as a generic tool we will have to devise a way of storing, comparing, applying node settings *outside of actual node instances*. Then each node needs to tell how sockets are generated based on these properties. For the current nodes this would be far too complicated ...
2013-04-18fix range for face distortion and display for concave ngons.Campbell Barton
2013-04-18Make freestyle use local Main for temporary objectsSergey Sharybin
This means main database is no longer pollutes with temporary scene and objects needed for freestyle render. Actually, there're few of separated temporary mains now. Ideally it's better to use single one, but it's not so much trivial to pass it to all classes. Not so big deal actually. Required some changes to blender kernel, to make it possible to add object to a given main, also to check on mesh materials for objects in given main. This is all straightforward changes. As an additional, solved issue with main database being infinitely polluted with text blocks created by create_lineset_handler function. This fixes: - #35003: Freestyle crashes if user expands objects in FRS1_Scene - #35012: ctrl+f12 rendering crashes when using Freestyle
2013-04-18add mesh distort display mode (highlights distorted faces)Campbell Barton
2013-04-18make bmbvh call BM_mesh_elem_index_ensure(), further calls to utility ↵Campbell Barton
functions assert if the index values becomes dirty.
2013-04-18style cleanupCampbell Barton
2013-04-18use modified vertex coords for calculating display thickness and intersections.Campbell Barton
internal improvement to editmesh_bvh.c - optionally pass cage-coords as an arg, rather then calculating the coords in BKE_bmbvh_new(), since all callers already have coords calculated. - de-duplicate coords creation function from knife and bmbvhm, move into own generic function: BKE_editmesh_vertexCos_get()
2013-04-18bmbvh was allocating an array for vert coords but not using it, removed.Campbell Barton
also use generic name for callback data.
2013-04-18fix for BMBVH_USE_CAGE option,Campbell Barton
knife tool with modifier was broken when modifier cage was used.
2013-04-18Support object scale for mesh display options. (currently only uniform scale ↵Campbell Barton
for thickness test)
2013-04-17display options to help with 3d printing.Campbell Barton
editmesh debug info, - overhang (with axis angle options) - wall thickness (with min/max distance) - self-intersections. access below 'Mesh Display' panel.
2013-04-17add function BKE_bmbvh_find_face_segment()Campbell Barton
given a segment, finds finds an intersecting faces from the first point to the second, needed for checking self intersections (not used yet).
2013-04-17code cleanup: bmesh bvhCampbell Barton
- remove unused members from BMBVHTree - move per-raycast vars from BMBVHTree into per-callback structs (weren't threadsafe). - simplify BKE_bmbvh_find_vert_closest().
2013-04-17add interp_v3_v3v3v3_uv() to use for use with uv value from ↵Campbell Barton
isect_ray_tri_v3(), rename tree -> bmtree for BMBVHTree.
2013-04-17text editor reload no-longer resets scroll & cursor - annoying when making ↵Campbell Barton
tweaks to UI scripts. also restrict freestyle hack to WITH_FREESTYLE define.
2013-04-16Blender Internal Render in viewportTon Roosendaal
Because of our release soon, feature has been added behind the Debug Menu. CTRL+ALT+D and set it to -1. Or commandline --debug-value -1. When debug set to -1, you can put the viewport to 'render' mode, just like for Cycles. Notes for testers: (and please no bugs in tracker for this :) - It renders without AA, MBlur, Panorama, Sequence, Composite - Only active render layer gets rendered. Select another layer will re-render. - But yes: it works for FreeStyle renders! - Also does great for local view. - BI is not well suited for incremental renders on view changes. This only works for non-raytrace scenes, or zoom in ortho or camera mode, or for Material changes. In most cases a full re-render is being done. - ESC works to stop the preview render. - Borders render as well. (CTRL+B) - Force a refresh with arrow key left/right. A lot of settings don't trigger re-render yet. Tech notes: - FreeStyle is adding a lot of temp objects/meshes in the Main database. This caused DepsGraph to trigger changes (and redraws). I've prepended the names for these temp objects with char number 27 (ESC), and made these names be ignored for tag update checking. - Fixed some bugs that were noticable with such excessive re-renders, like for opening file window, quit during renders.
2013-04-16Fix some names, and move overlay flag to overlay_flags.Antony Riakiotakis
2013-04-16fix for BKE_bmbvh_ray_cast() returning one of the vertices normals rather ↵Campbell Barton
then the face normal. also remove redundant NULL checks.
2013-04-16add distance arg to BKE_bmbvh_ray_cast(). currently unused.Campbell Barton
2013-04-16Option to hide overlay during a stroke. To enable, press the brush iconAntony Riakiotakis
next to the overlay alpha.
2013-04-16bmesh speedup for bvh building, replace SmallHash with BLI_bitmap, using a ↵Campbell Barton
hash doesn't make much sense since in most cases all vertices are accessed and the hash isn't guaranteed to be small. gives ~9x speedup to filling 'cagecos' in my own tests on a high poly mesh.
2013-04-16Fix crash when no brush is active. Reported by Francesco Siddi, on ircAntony Riakiotakis
thanks!
2013-04-16skip calling BKE_editmesh_tessface_calc() from BKE_bmbvh_new(), also quiet ↵Campbell Barton
float/double warnings.
2013-04-16Fixed compilation error with gcc 4.4 and 4.5Sergey Sharybin
Was giving structure re-declaration error, made it one typedef and struct declaration only.
2013-04-16use psys->seed for smoke random number generator, increase size of ↵Campbell Barton
MATHUTILS_TOT_CB and reduce float->double conversions.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-16move editmesh functions out editderivedmesh.c into editmesh.cCampbell Barton
2013-04-16move editmesh_bvh.c into blenkernel.Campbell Barton
2013-04-16Compile fixes for recent commitsAntony Riakiotakis
2013-04-16Random number generator: replace a bunch of usage of the global random numberBrecht Van Lommel
generator with a local one. It's not thread safe and will not give repeatable results, so in most cases it should not be used. Also fixes #34992 where the noise texture of a displacement modifier was not properly random in opengl animation render, because the seed got reset to a fixed value by an unrelated function while for final render it changed each frame.
2013-04-15Fix #34972: Blender crashes when Force Field-> Curve Guide is createdSergey Sharybin
Made it so where_on_path works correct when Curve does have editNurbs but no Curve->nurbs.
2013-04-15minor edits to DM_update_weight_mcol(), skip getting vars when in editmode, ↵Campbell Barton
also remove old/invalid comment.
2013-04-14fix for tangent curve flipping only doing 2d angle tests.Campbell Barton
2013-04-14code cleanup: edit-derived-mesh, define 'BMesh *bm' as local variable, avoid ↵Campbell Barton
'bmdm->em->bm' within functions.
2013-04-14fix for error in editmesh derived callbacks, emDM_getVert(), emDM_getEdge(), ↵Campbell Barton
emDM_getTessFace(). Currently the functions aren't used since they would fail have failed immediately.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-14Mesh Drawing:Campbell Barton
Option to draw mesh vertex-weights in editmode, available from the 'Mesh Display' panel. TODO: get this to work when modifiers are applied in solid mode (texface-solidmode is working).
2013-04-13code cleanup: more minor changes for editmesh face drawing.Campbell Barton
2013-04-13code cleanup: editmesh draw functions, make face drawing more consistent.Campbell Barton
2013-04-13code cleanup: remove unused string formatting in bli_adddirstrings(), also ↵Campbell Barton
remove unused initializations and comment unused vars.