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-10-29Code cleanup: more int->bool conversions mask moduleSergey Sharybin
2013-10-29Code cleanup: use bool instead of int in mask moduleSergey Sharybin
2013-10-29Project Pampa request: FCurves normalized displaySergey Sharybin
Added two options to a header of FCurve editor: - Normalize which makes it so every individual curve is fit into -1..1 space. - Auto-normalize, which probably is to be called "Lock" which "locks" curve normalization scale. This is useful to prevent curves from jumping around when tweaking it. It's debatable whether it need to be a button to normalize curves n purpose only, and it's fully depends on animator's workflow. Here during Project Pampa we've got Francesco who get used to auto-renormalization and Hjalti who prefers locked behavior. Docs are to be ready soon by Francesco. Thanks Brecht for the review!
2013-10-29Fix #37192, Rendered preview causes crash when deleting a material node in ↵Lukas Toenne
shader node editor. The 'free' callback for node execution data was accessed from the node->typeinfo, but this pointer can become invalid because the render database is not immediately freed after the job finishes. To avoid access to dangling node pointers, store the function callback in the exec data itself. The node pointer must not be accessed in the free function (wasn't used before either), these functions are purely for the execution data.
2013-10-29Fix for particle texture influence bug causing undefined (nan) values: When ↵Lukas Toenne
using a texture with "Particles/Strands" coordinates that in turn has a "Lifetime" influence on the particles, the texture eval accesses the particle lifetime/dietime data before it is actually defined! This is a design flaw, but to avoid corrupted data for now just initialize the lifetime/dietime values for particles in advance before evaluating the texture.
2013-10-28Fix #37221: Multilayer EXR inputs generate pink frame/last displayed frame ↵Sergey Sharybin
when using an image sequence offset generally speaking, if multilayer image fails to load for current frame doesn't mean anything bad. It might be used to make it so image sequence is being alpha-overed somewhere in the middle of scene time. Made it so if the whole file fails to load, image node will deliver black transparent color, the same what happens for regular (non-multilayer images). Also needed to tweak code in load_multilayer_sequwnce to make sure no cached frames are pointing to a freed memory.
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-10-26Weighted tracksSergey Sharybin
Added a weight slider to track which defines how much particular track affects in a final reconstruction. This weight is for sure animateable. Currently it affects on BA step only which in most cases will work just fine. The usecase of this slider is to have it set to 1.0 most of the time where the track is good, but blend it's weight down to 0 when tracker looses the track. This will prevent camera from jump. Tutorial is to be done by Sebastian.
2013-10-26code cleanup: merge doxygen comments into C source.Campbell Barton
2013-10-26correct typoCampbell Barton
2013-10-22Making real need to remove proxiesSergey Sharybin
Otherwise some invalid pointers will be left which could be harmless if real object stays local, but crashes when linking them to another files. Was discovered here in the studio during Project Pampa, and the steps to reproduce are: - Create lib.blend, put armature and cube to it. Create a group with them. - Create scene.blend and link group from lib.blend. - Make a proxy from armature. - Make group real. - Add real objects to a group. - Create comp.blend and link group from scene.blend. This step will creah.
2013-10-22Bugfix: Renaming bones now renames the corresponding F-Curves in actions used byJoshua Leung
Action Constraints
2013-10-22add copy_v4_fl4, replace QUATSET macro.Campbell Barton
2013-10-22style cleanupCampbell Barton
2013-10-22style cleanupCampbell Barton
2013-10-20Code cleanup: de-duplicate implementation of get_texture_valueSergey Sharybin
Expect to be no functional changes :)
2013-10-20Code cleanup: added generic function copt_m3_m3dSergey Sharybin
2013-10-19Arg! Fix another bug in split normal core algorithm (some flat faces were ↵Bastien Montagne
ignored, depending on the order of evaluation)... :/
2013-10-19Remove paranoid check which was marked as unneeded for a while alreadySergey Sharybin
2013-10-19Move utility functions from mball to mathutilsSergey Sharybin
2013-10-18Fix for wrong active render layer after copying hr sceneSergey Sharybin
Also fix crash for files which could have been saved with wrong active render layer.
2013-10-17Patch [#37115] Surface split and separate operatorsKevin Mackay
Added surface support to recent curve split operator, completing quick hack todo Updated nurbs separate operator to make use of new split logic, completing tools todo Added 'Delete segment' option to surfaces and improved surface duplication, used for split/separate
2013-10-17Missing ParticleSystem->parent pointer check in BKE_object_unlink.Lukas Toenne
2013-10-17Fix crash in scenes without camera markers, after recent fix for #37097,Brecht Van Lommel
first_camera variable was used uninitialized.
2013-10-17Fix for GCC bing stupid and not casting float*[3] to const float*[3] without ↵Sergey Sharybin
a wanring :S
2013-10-17Fix #37097: Setting scene frame does not update active cameraSergey Sharybin
The issue was caused by uncertainty of current camera when there're no markers to the left of current frame. Now in this case camera from the top-left marker will be used.
2013-10-17Fix #37109: missing cycles texture display in edit mode.Brecht Van Lommel
My previous fix for uninitialized texture coordinates was not working well, and in fact there was a bigger issue with GLSL drawing and missing attributes with immediate draw mode. Now it will explicitly pass zero rather than having it use whatever value was set last.
2013-10-16add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), ↵Campbell Barton
MEM_freeN().
2013-10-16edits to r60777 - move ED_object_hook_reset_do into BKE object (if RNA needs ↵Campbell Barton
to call ED_* functions its a hint they might be better in BKE).
2013-10-15Get rid of Allow Fallback optionSergey Sharybin
It was rather confusing from the user usage point of view and didn't get so much improvement after new bundle adjuster was added. In the future we might want to switch resection to PPnP algorithm, which could also might be a nice alternative to fallback option.
2013-10-14Fix for crash from double-freeing in nodes:Lukas Toenne
The way node groups check for localized trees in the ntreeFreeTree_ex function does not work. When the main library is freed on exit it also frees genuine node groups trees (which is correct), but then node groups referencing these trees will not find them in the library and interpret that as a localized group, attempting to free them a second time ... Nicer solution is to just use a special flag on localized node trees so we can clearly distinguish them from genuine trees in main.
2013-10-14Fix #37057, Detach (Alt + D) doesn't work in nodes editor / compositor.Lukas Toenne
The operator exits early when there are no internal links. This prevents it from removing links which have no internal connection.
2013-10-14code cleanup: remove duplicate assignmentsCampbell Barton
2013-10-14fix for array index use before checking rangeCampbell Barton
2013-10-13fix for over-alloc in dyntopo, was allocating the vertex size, not pointer ↵Campbell Barton
size (~85% wasted space).
2013-10-12code cleanup: use const's for vector args.Campbell Barton
2013-10-12Fix build scripts related to PSD support. Both CMake and SCons builds were ↵Irie Shinsuke
broken.
2013-10-11scons file for OIIO (needed for psd)Dalai Felinto
based on patch by Shinsuke Irie note: scons is not working for me at the moment so I did not test this patch. It should work fine though.
2013-10-11adding WITH_IMAGE_OPENIMAGEIO and removing the PSD build optionDalai Felinto
As per Brecht van Lommel's suggestion.
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-10-10add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space.Campbell Barton
2013-10-10Get rid of the draw_input/draw_output callbacks for nodes. These are pretty ↵Lukas Toenne
useless wrappers around socket draw functions. Only use-case is the File Output node, which draws socket format type instead of an input value. This is now a special case in the standard socket type drawing, but should eventually become a socket type of its own for the File Output node.
2013-10-10Cleanup: Consistent names for draw callbacks in bNodeType.Lukas Toenne
This aims to establish a common pattern for the various confusing draw callback function pointers in bNodeType: draw_<purpose>_<nodetype>[_ex] Currently there are 4 different types of draw callbacks: * draw_nodetype, draw_nodetype_prepare: Main draw functions, allows specialized node drawing for things like frames and reroute nodes. Not exposed in the API. * draw_buttons, draw_buttons_ex: Optional non-socket buttons, most commonly used callback. Extended version used in sidebar for verbose buttons that don't fit into a node. * draw_backdrop: Draw elements in the backdrop (compositor only). Not exposed in the API. * draw_input, draw_output: Specialized socket drawing for some nodes, only for OutputFile node. Should not be used any further and be removed at some point. Not exposed in the API.
2013-10-10Weight Paint Tools: Add "Subset" option to "Normalize All"Irie Shinsuke
This option is needed when vertex groups are used for both armature deformation and the other purpose such as influence of mesh modifier. Thanks to Campbell for code review!
2013-10-10style cleanupCampbell Barton
2013-10-09Fix [#37012] The new export split normal does nor produce correct results.Bastien Montagne
Was a silly error introduced in algo during optimization, vertices having sharp and smooth edges would only get the first poly's normal for each "smooth loop group". Also done a (minor) optimization, and some comment fixes.
2013-10-09Photoshop PSD supportDalai Felinto
We now support the combined layer of Photoshop files (stored as layer 0 in the file). This way users can keep their files as multilayer PSD and Blender always handle them as flat images. For perfect alpha this requires an OpenImageIO update: https://github.com/OpenImageIO/oiio/commit/342cc2633ff590a3bb278481c61ae798c7148361 Photoshop sample files: https://github.com/OpenImageIO/oiio-images Brecht has some pending fixes to push for OIIO as well, so we may as well wait to update our libraries. What works: =========== * 8bit images (with or without alpha) * 16bits images (alpha discarded) * Photoshop files saved with 'Maximum Compatibility' * Cycles, Blender internal, BGE (and player) Known limitations (due to OIIO dependency): ========================= * Images with less than 4 channels show a wrong thumbnail (bug may be in OIIO) * Packed images are not supported * We do not write PSD files. Note: old Blenders have support for PSD via Quicktime library. But due to license issues this was discontinued. Many thanks for Brecht van Lommel for reviewing the patch, suggesting multiple improvements and to help solving the alpha issue.
2013-10-08Cycles / SSS:Thomas Dinges
* Remove the compatible falloff SSS implementation. We shouldn't support two implementations in the long term, and 2.7x is a good release number do break some compatibility as well. * Version patch added, so Files with Compatible falloff will automatically use Cubic now. It was already mentioned in the manual, that Compatible is deprecated. http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#BSSRDF
2013-10-08Release Maintenance: Thomas Dinges
* Blender 2.70 release cycle begins, BCon1.
2013-10-08remove toolsettings (unused for a long time).Campbell Barton