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-08use booleans in BKE_nurb_handles_autocalc and BMO_op_vinitfCampbell Barton
2013-10-08replace len_v3v3 with len_squared_v3v3 for comparisons.Campbell Barton
2013-10-07Fix #36981, Removing Sample line fails during render.Lukas Toenne
The SAMPLELINE flag in histogram was set during the BKE_histogram_update_sample_line function. That function in turn is called during every scope update in area draw function, meaning that during render it constantly gets set. OTOH the operator tries to disable the flag on invoke, which "cancels" the sample line by default. So during render the operator un-setting of the flag has no effect, because the render job immediatly triggers a redraw, which updates scopes and sets it again. Moved the flag out of the actual sample line update function into the operator execute. Now only the operator enables/disables overall sample line drawing, while the rest of the update works as before.
2013-10-05Fix for my last customdata fix, accidentally left in comments.Brecht Van Lommel
2013-10-05rename presets not to use '+' character, also some typo fixes.Campbell Barton
2013-10-05Fix for unnecessary customdata warning with empty meshes.Brecht Van Lommel
2013-10-04Remove prints from own r60549, sorry for the noise.Bastien Montagne
2013-10-04Fix obvious bug in particle code (copying normal into nor when in if(ornor) ↵Bastien Montagne
block...), though probably harmless in current code...
2013-10-04Fix #36930: dynamic topology sculpting with masks gave bad results:Brecht Van Lommel
* The mask was not subdivided properly on splitting edges, which gave interesting but definitely wrong fractal-like borders around masks. * Edge splitting was only done where the mask was < 50%, with the reasoning that you can't do a 50% topology update. But this gives an ugly border in the mesh. The mask should already make the brush move the vertices only 50%, which means that topology updates will also happen less frequent, that should be enough.
2013-10-04Fix #36939, Objects with nodes appear in gray in viewport, using Solid ↵Lukas Toenne
shade, and the Blender Engine (or Game Engine). The "active ID node" concept has become slightly more complex with pynodes. To find the active material or other ID links in a node tree recursively requires a hash key based on the "parent" tree of the current node group. To avoid returning NULL in case this key is not yet initialized (i.e. ID node has not been activated yet), just accept 0 key as well for the base node tree.
2013-10-03set mempool debug in the game-engine-player too. also remove redundant ↵Campbell Barton
mempool includes.
2013-10-03Fix an own regression introduced in the dyntopo cleanup commits. Do notAntony Riakiotakis
remove a vertex from the pbvh if the only face it was part of was removed from the pbvh. This should work but no time to investigate now properly, and better have a solid release. The problem could be seen when sculpting to open meshes. Some vertices and faces on the boundaries would become stuck and unresponsive.
2013-10-02fix [#36919] Cannot delete keyframe of animated simulation parameter if ↵Campbell Barton
simulation has been disabled
2013-10-01style edits and use macro for prefix checkCampbell Barton
2013-10-01bugfix [#32346] Node animation, removing nodes keeps FCurves.Dalai Felinto
The same bug happens for modifiers, but better to address it separately. Contribution and review by Lukas Toenne and Brecht van Lommel
2013-10-01Fix use of uninitialized variable in recent node tree changes.Brecht Van Lommel
2013-10-01add assert for bone renaming, to check if the chanhash is still valid.Campbell Barton
2013-10-01Fix issues reported by coverity scan in recent changes to customdata code.Brecht Van Lommel
2013-10-01replace inline searches for BLI_findindexCampbell Barton
2013-10-01Yet another fix for node groups localization: The ntreeLocalMerge function ↵Lukas Toenne
can not be used to free localized node groups, because it is not commonly called to free the localized node trees. Instead these data blocks are freed using the standard ntreeFreeTree function, so freeing localized node groups has to be done there. This means an ugly loop over G.main to detect localized groups, but should not be a big problem in practice.
2013-10-01Mark some CCG funcrions as inlinedSergey Sharybin
This seems to be giving speedup up to 10% in own tests. -- svn merge -r60104:60105 ^/branches/soc-2013-depsgraph_mt
2013-10-01Fix for own commit r60468: All the localized node groups ended up in the ↵Lukas Toenne
main library ... This was because of the G.main check in ntreeCopyTree_internal, which determines whether a node tree gets put into main or is an independent data block. This can now be controlled by passing an explicit Main pointer, so we can ensure localized node groups don't pollute main.
2013-10-01fix for error setting vector handles to free when both vector handles were ↵Campbell Barton
selected but not the mid-point. only one of the handles would be changed to the HD_FREE. effected curves and fcurves.
2013-10-01Fix #36850, Material Node Editor Crash Always.Lukas Toenne
This problem was introduced with pynodes merge in r55373. It's caused by missing localization of node groups in shaders in cases where GLSL + node previews causes threading conflicts. I'm not quite sure why we didn't do this before, but now all node groups also get localized recursively.
2013-10-01remove assert for poly_find_ear(), added recently but its incorrect, also ↵Campbell Barton
minor style edits.
2013-10-01Follow-up to r60433 (related to Bug #36878): additional checks for NULL line ↵Tamito Kajiyama
styles.
2013-10-01Fix [#36422] Trimmed audio files (hard cut only) in a metastrip have their ↵Bastien Montagne
trim removed Meta sound update (seq_update_sound_bounds_recursive_rec) was not taking into account hard trim (anim_startofs) when setting sound's start, while default sound strip update (sound_move_scene_sound_defaults) did... This could use some refactor, though, with a single func used in both cases, to avoid such issue. Also added soft trim to sound panel, only hard one was available.
2013-09-30add asserts for id property functions (ensure invalid types aren't passed)Campbell Barton
2013-09-30Fix for plane track jitteringSergey Sharybin
Jittering was caused by homography not being estimated accurate enough. Before this, only algebraic estimation was used, which is indeed not so much great, Now use algebraic estimation followed with refinement step using Ceres minimizer. The code was already there since keyframe selection patch, made such estimation a generic function in multiview/ and changed API for estimation in order to pass all additional options via an options structure (the same way as it's done fr Ceres). This includes changes to both homography and fundamental estimation. TODO: - Need to document Ceres functors better. - Need to support homogeneous coordinates (currently only euclidean coords are supported).
2013-09-30more fixes relating to [#36878], freestyle was only checking for NULL ↵Campbell Barton
linestyles in some places.
2013-09-29Followup to r60416, we need to get cdlayers from bmesh everywhere! sorry...Bastien Montagne
2013-09-29Fix [#36847] If Force Field in Ridgid Body group, crash at first frame of ↵Bastien Montagne
animation on playback Not all objects in RB group actually have a "rigid body object", needs to be checked.
2013-09-29Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crashBastien Montagne
Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.
2013-09-29Fix [#36841] UV-Maps cannot be renamed in EditModeBastien Montagne
Own error in r60260, in edit mode we need to use bmesh's cdata!
2013-09-28Fix [#36831] Grease Pencil dont create a drawing in current frame less than 1Bastien Montagne
Only forbid negframes when user has not allowed them in whole Blender (userpref, editing). Else, it's more than annoying to not be able to draw negframed gpencil.
2013-09-28Fix [#36827] 2.69 bug with smoke domain, particle emitter and a force field ↵Bastien Montagne
causes a crash fuel array might be null!
2013-09-27Fix #36630, Particlesystem - boids - goal - collision.Lukas Toenne
Problem was introduced with r54648, which determined the initial interval for the Newton-Raphson method using the "total_time" of the collision - but this info is only defined for regular collisions, not for the raycasting used in boids to find the "ground object". To ensure correct behavior, now clear the collision info before using it (good practice in any case), then check the inv_total_time variable and use the standard 0.001 step if not defined.
2013-09-26Fix cycles issue with mapping node rotation and scale order. When using bothBrecht Van Lommel
scale and rotation in mapping node, there would be shearing, and the only way to avoid that was to add 2 mapping nodes. This is because to transform the texture, the inverse transform needs to be done on the texture coordinate Now the mapping node has Texture/Point/Vector/Normal types to transform the vector for a particular purpose. Point is the existing behavior, Texture is the new default that behaves more like you might expect.
2013-09-25fix error where BKE_mesh_cd_validate layer renaming would use invalid index ↵Campbell Barton
values. from r60260 also correct some comments.
2013-09-24fix [#36781] triangulation modifer creasesCampbell Barton
new geometry was initializing its original index to 0 (so all edges displayed with the first edges crease value). now initialize to NONE.
2013-09-24allocate bmesh data from known sizes where possible (was still using ↵Campbell Barton
defaults in places), add macros for initializing BMAllocTemplate's, also add assert on invalid use of bmesh_sfme()
2013-09-24modifiers_isCorrectableDeformed now checks a modifier is enabled before ↵Campbell Barton
returning true, also check deformMatricesEM callback for modifier_isCorrectableDeformed() rather then checking modifier types.
2013-09-24Fix #36793: missing update on undo with proxy object that is not using a ↵Brecht Van Lommel
proxy group.
2013-09-23Fix #36797 make linked node groups local does not work. Node tree library ↵Lukas Toenne
functions where missing the ntreeMakeLocal entry, was still marked as 'not implemented'.
2013-09-22Fix [#36791]: Fire ignores force fields when smoke is set to 0.0Miika Hamalainen
2013-09-21bugfix: [#36786] customdata layers are not merging taken the names into ↵Dalai Felinto
consideration (which is also "[#36749] Joining objects with more than one uv map depends on list order") Thanks Bastien Montagne and Brecht van Lommel for reviewing and some advice.
2013-09-20Fix [#36759] UV Project - Specified UV Map doesnt work properlyBastien Montagne
In fact, the issue was that names of mloopuv/mtespoly layers could very easily get out of sync (a simple rename was enough), while most tools (such as the UVProject modifier) expect matching layers to have the same name! Now matching names are check on load, and renaming of a layer through RNA is guaranted to be synchronized with its counterparts. Thanks to Brecht & Campbell for reviews.
2013-09-20correct include guards and add checks in check_style_c.py for them.Campbell Barton
2013-09-19fix [#36625] Particle Instances ignores Group offsetsCampbell Barton
in fact this failed for all nested dupli types except for dupli-groups, (which ignore the 'par_space_mat' object_duplilist_recursive()).
2013-09-18Fix warnings message on load about packed images:Brecht Van Lommel
ERROR: Image not available. Keeping packed image This was due to recent bugfix for #36639, the image should only be reloaded if the path actually changed and it's not a packed file.