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-05-08Expose the data type property of node group interfaces for easier comparison ↵Lukas Toenne
in python.
2013-05-08Moved a couple of common properties into the NodeAddOperator base class to ↵Lukas Toenne
avoid repetitive code. A new operator node_add_and_link is another variant that first creates a node and them connects a specific socket to an existing one (defined by context pointer).
2013-05-08Removed the unused socket template system from the bpy_types Node base class ↵Lukas Toenne
(it interferes with the input_templates/output_templates functions from C nodes). This can be reimplemented in a nicer way for pynode subclasses later on, but should not be part of the basic Node class.
2013-05-08Exposed the node socket templates of C nodes in RNA by means of a ↵Lukas Toenne
classmethod. This will allow the node link menu to determine feasible socket connections before an actual node instance is created.
2013-05-08Removed the add_group_node operator, this is now integrated into the generic ↵Lukas Toenne
node_add operator. The group node tree pointer is then part of the settings dictionary.
2013-05-08Expose the HIDE_VALUE flag of node sockets in RNA.Lukas Toenne
2013-05-08Workaround for C nodes: In order to make registerable RNA methods of the ↵Lukas Toenne
standard C nodes (e.g. poll or draw_buttons) available in python scripts, they need a specialized Node subtype (called NodeInternal). This is necessary because bpy omits any registerable functions of RNA types in the generated python classes, relying instead on using the supposed native implementation in a registered python class. Since the standard shader/compositor/texture nodes in Blender are not registered but directly created in makesrna they lack all registerable function in the associated python types. The NodeInternal RNA subtype replaces the registerable functions of the base Node type to solve this issue.
2013-05-08Extended the draw callback API for node sockets with an explicit text ↵Lukas Toenne
parameter, instead of always using the sock->name string. This can be useful for drawing the socket values separate from the label, e.g. in the node view template.
2013-05-08Change to socket draw functions: instead of always only drawing the socket ↵Lukas Toenne
label for connected sockets, leave this check up to the socket draw function itself. This allows future socket types to draw buttons or other info in all cases and handle connected/unconnected state more flexibly. The drawinputfunc/drawoutputfunc callbacks in bNodeType are pretty much empty wrappers now and should be removed at some point. This per-node differentiation should rather be implemented as a specialized socket type if necessary. The only use case for this feature that remains is the file output node in compositor, which displays shortened file format info for each socket.
2013-05-08more optimal method of calculating the normal for the solidify modifier.Campbell Barton
When adding 2 unit length vectors, the length can be used to calculate the angle.
2013-05-08Mask modifier for sequencesSergey Sharybin
This modifier uses a mask set in the modifier settings and multiplies strip by it. Alpha channel will also be multiplied by mask, which makes it easy to mask some objects on footage and alpha-over them in sequencer. Actually, this modifier sets alpha for byte strips directly (since byte is always straight alpha) and multiplies float buffer by mask (flaots are premulled) so in both cases masked strip could be easy alpha-overed without any artifacts. It uses own structure with only SequenceModifierData property in to preserve both forward and backwards compatibilities (using new structure ensures modifier will be ignored on load in older blenders, the same happens for mesh modifiers actually). Request from Pablo Vazquez.
2013-05-08Fix for #35253, Cannot animate X, Y, Z values in nodes with vector sub-menu. ↵Lukas Toenne
The "component menu" template used for these socket buttons opens a popup, but this ui function does not support RNA info directly. Setting the uiBut rna pointer directly solves it.
2013-05-08code cleanup: dissolve - use iterator macros, remove unused function.Campbell Barton
2013-05-08mesh dissolve vertices: option to split off corners of surrounding faces, ↵Campbell Barton
makes the result more localized to the area around the vertex.
2013-05-08split dissolve into 3 different operators (face/edge/vert).Campbell Barton
2013-05-08Fix #35219: blender internal auto ray bias to avoid the terminator shadowBrecht Van Lommel
problem was giving light flickering on a mesh with animated hair strands. Now strands are not used to compute this auto bias excluded from this, from tests it does not seem to be helpful for hair and only gives issues.
2013-05-08Fix #35240: command line -t number of threads option did not work for cycles.Brecht Van Lommel
Now it works for blender internal, cycles and other multithreading code in Blender in both background and UI mode.
2013-05-08Fix #35246: cycles has no simple way to combine bump and normal mapping. NowBrecht Van Lommel
the Bump node has a Normal input, so you can chain it after a Normal Map node. Note that normal mapping always has to be done first because it is tied to the particular mesh surface and tangents.
2013-05-08fix for recent commit, WITH_GUARDEDALLOC wasn't enabled for makesrna, makesdna.Campbell Barton
2013-05-08Fix #35093: New Basis shape key doesn't act as BasisSergey Sharybin
Made it so Move Shape Key ensures first key is a refkey, so now it's possible to change basis key from the interface. It's still needed to manually teak key's relative_key, not sure whether there's a reliable automated way to tweak this value when bassi key is changing.
2013-05-08Fix #35252: Crash with the node placed partially behind the screenSergey Sharybin
Issue was caused by negative maximal possible text width happening in label clipping. Solved by clamping width to 0 if it's negative.
2013-05-08fix [#30862] "Lock" and "Box" Quad View options won't stay put when togglingCampbell Barton
2013-05-08add in asserts when rv3d->viewmatob, rv3d->persmatob are not initialized.Campbell Barton
This is often hard to spot since in many cases it works correctly even when not initialized but may still fail in other situations.
2013-05-08code cleanup: ui_but_is_rna_undo --> ui_is_but_rna_undo (ui_is_but_*** is ↵Campbell Barton
used elsewhere)
2013-05-08minor speedup for bmesh - add CustomData_bmesh_free_block_data(), useCampbell Barton
when the block would be immediately allocated again.
2013-05-08code cleanup: remove ShapeActionActuator, they are now versioned out.Campbell Barton
2013-05-08code cleanup: remove redundant check in writedata().Campbell Barton
2013-05-08speedup for freeing bmeshes, skip calling free on everyCampbell Barton
vert/edge/face/loop if there are no free functions for the customdata layers.
2013-05-08use BM_face_create_ngon_verts for python api face creationCampbell Barton
(avoid doing it inline).
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-05-08smooth falloff options for loopcut.Campbell Barton
2013-05-08rename BLI_ghashIterator_notDone() -> BLI_ghashIterator_done()Campbell Barton
was renamed fairly recently but other similar iterators not negated like this, would prefer to keep it as it was
2013-05-08use bool for customdata functions.Campbell Barton
2013-05-08de-duplicate draw_new_particle_system() particle drawing.Campbell Barton
2013-05-08auto indent for multi-line python statements.Campbell Barton
2013-05-08code clenup: rename BKE_mesh_poly_calc_angles -> BKE_mesh_calc_poly_anglesCampbell Barton
2013-05-08add option to only beauty fill between vertices with non-matching tags,Campbell Barton
useful for beauty filling the result of a bridge between 2 edge-loops.
2013-05-08knife tool: use faster method for sort_by_frac_along(), no need to callCampbell Barton
line_point_factor_v3().
2013-05-08knife tool: use the squared distance for comparison.Campbell Barton
2013-05-08knife tool: use 2d vectors for screen coords.Campbell Barton
2013-05-08use smaller size for uiWidgetTrias.vecCampbell Barton
2013-05-08remove unused define CLAMPTEST, move INPR toCampbell Barton
collision_compute_barycentric(), only place its used.
2013-05-08warn of sign conversions for low level apis - ghash, heap, mempoolCampbell Barton
2013-05-08add matrix multiply for projection that outputs 2d values.Campbell Barton
2013-05-08add option to disable guardedalloc, helps for debugging memory errorsCampbell Barton
since guardedalloc confuses them. The option cases a warning on build, since its ownly for experimental use.
2013-05-08use static functions for raycast functions.Campbell Barton
2013-05-08use unsigned int, for mask rasterizer.Campbell Barton
2013-05-08code cleanup: use 'const float[2]' where possible.Campbell Barton
2013-05-08use unsigned int's for smallhash, avoids using ABS when converting anCampbell Barton
int from a key.
2013-05-08code cleanup: BKE_mesh_nurbs_displist_to_mdata(), use const bool forCampbell Barton
'conv_polys'