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-03-18Merge of the PyNodes branch (aka "custom nodes") into trunk.Lukas Toenne
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements. === Dynamic node type registration === Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes. Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2]. === Node group improvements === Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3]. The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there. [1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes [2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender [3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-03-16fix for own mistake in using alloca in a loop, replace with BLI_bufferCampbell Barton
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-07Change !BLI_ghashIterator_isDone to BLI_ghashIterator_notDone. It isAntony Riakiotakis
always used in that context so we can at least avoid reverting it twice :p.
2013-03-04patch [#34103] use boolean in path functions and add comments.Campbell Barton
path_util_1.patch from Lawrence D'Oliveiro (ldo)
2013-02-27code cleanup: unused argCampbell Barton
2013-02-24Bug fix #34384Ton Roosendaal
Border select in UV Image window crashed, if used when Image Window shows a render. Made operators for UV vertex manipulations having a more strict check for this mode. (Similar to other UV tools there).
2013-02-21style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking ↵Campbell Barton
script.
2013-02-19Another huge bunch of new UI translations (some reported by Leon Cheung, ↵Bastien Montagne
thanks!)...
2013-02-17code cleanup: operator/function mismatchCampbell Barton
2013-02-15style cleanupCampbell Barton
2013-02-14misc changesCampbell Barton
- update man page for new additions since last release. - note that --start-console argument is windows only. - correct own assertion in own recent commit.
2013-02-13Fix #34216: uv unwrap with some faces pinned to point the normals down will nowBrecht Van Lommel
automatically flip the unpinned faces to point down too, instead of trying to unwrap them in the other direction and giving bad results. If there's a mix of faces pinned up and down it will pick the direction with the biggest area.
2013-02-12code cleanup: some style edits, also allow mul_v2_m2v2() to have the same ↵Campbell Barton
value as in-out, since this is a convention for existing matrix functions.
2013-02-12Old bug fix: Uv smart stitch failed to detect angle if islands wereAntony Riakiotakis
rotated close to 180 degrees and there were edges both below and above the 180 degree threshhold. Separating and averaging the negative and positive angles seems to solve the issue making the tool a bit more robust ;)
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2013-02-02style cleanupCampbell Barton
2013-01-15style cleanupCampbell Barton
2013-01-15Fix #33875: minimize stretch UV tool incremented in steps of 0.2 instead of 0.1,Brecht Van Lommel
and now also shows the shortcut keys for setting the blend value.
2013-01-14fix for own error with unwrap selection checking uvedit_have_selection() ↵Campbell Barton
failed with no UV layer. also add some safety checks for BM_ELEM_CD_GET_* macros.
2013-01-12minor speedup for construct_param_handle_subsurfed() break out of ↵Campbell Barton
texface_from_original_index() early and dont get the offset for each vertex.
2013-01-12reduce customdata lookups for UV drawing and tools.Campbell Barton
2013-01-12code cleanup: style and replace (float)sin, (float)cos with sinf, cosfCampbell Barton
2013-01-10bmesh todo: uv stretch area draw mode wasn't calculating ngon area - added ↵Campbell Barton
area_poly_v2().
2013-01-09style cleanupCampbell Barton
2013-01-08style cleanupCampbell Barton
2013-01-07style cleanup: '} else' and add this check to check_style_c.pyCampbell Barton
2013-01-03fix bad left aligned text when zoomed out.Campbell Barton
also minor change to cylinder_project_exec() - delay getting the MTFace.
2013-01-02style cleanupCampbell Barton
2012-12-31smart stitching:Antony Riakiotakis
* Some code cleanup * Bugfix: rotation of uv islands during stitch on images with aspect ratio was different for different island rotations. I needed to correct normal and tangent calculation to take image aspect into account.
2012-12-28style cleanupCampbell Barton
2012-12-27Fix: edge uv stitch mode did not average final position of uvs inAntony Riakiotakis
midpoint, non-snapping mode.
2012-12-27Fix: rotation of uv islands during stitch did not take uv aspect ratioAntony Riakiotakis
of image into account, distorting the islands. Now properly scale the components before rotating the island.
2012-12-21replace MIN/MAX 3,4 with inline functionsCampbell Barton
2012-12-18style cleanupCampbell Barton
2012-12-18uv edge based stitch. Useful to disambiguate betwen islandsAntony Riakiotakis
when uvs are shared by more than two islands. Uv edges usually belong to only two islands, making for much cleaner stitches. To change between stitch modes, press TAB. Initial mode depends on the selection mode of the image editor. Documentation can also be found on the release wiki
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-17code cleanup: use 'const float *' when getting the 3d cursor and not editing it.Campbell Barton
2012-12-15add checks to style checker script for 'a . b' and 'a []'Campbell Barton
also use BLI_findindex for modifiers_indexInObject
2012-12-14use UI_view2d_getscale() to get the scale for image cursor drawing and ↵Campbell Barton
ED_mask_pixelspace_factor(). - was getting the image width/height when its not needed before.
2012-12-14style cleanupCampbell Barton
2012-12-13Part of bratwurst GSOC cleanup of subsurf unwrap code: Ommit subsurfAntony Riakiotakis
level in the operator and use the modifier level and subdivision type instead. Using subsurf only makes sense if the modifier is first so print an warning and turn off if this is not the case.
2012-12-13image view cursor wasn't scaling up with the DPICampbell Barton
2012-12-12make EDBM_index_arrays's stay in memory, blender was allocating an array and ↵Campbell Barton
filling it for verts/edges/faces on every redraw. this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use. in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
2012-12-12use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.Campbell Barton
2012-12-12replace BLI_array_declare with BLI_array_staticdeclare() and ↵Campbell Barton
BLI_array_alloca() for smaller arrays.
2012-12-11replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() ↵Campbell Barton
which uses stack memory always and doesn't need to be freed explicitly.
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-12-02Silent a bunch of gcc warnings (usually dummy, but noisy!).Bastien Montagne
2012-11-30fix for various asserts running operator tests - not likely any of these ↵Campbell Barton
would cause real user bugs though.