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-02-14Divide by 3 instead of multiplying by variations of 0.333Sergej Reich
Fixes small precision problems.
2013-02-12rigidbody: Don't cancel add operator if rigid body already existsSergej Reich
In some cases objects might have rigid bodies but aren't in the rigid body group, just add objects to the group then. Also allow changing the rigid body type by using the add acive/passive buttons. This avoids having to remove objects just to change type.
2013-02-12rigidbody: Clean up wm notifiers in rigid body operatorsSergej Reich
Remore group notifiers, they're already sent by add/remove group operators. Add pointcache notifiers. Fixes UI not being updated properly in some cases.
2013-02-11fix [#34169] dynamic paint bake from python + command line = segfaultCampbell Barton
2013-02-09rigidbody: Add missing updates for rigidbody operatorsSergej Reich
Fixes cache not being invalidated when using change collision shape and calculate mass operators.
2013-02-05Fix #34040: Moving Normal Node with enabled Cycles Material Preview crashesSergey Sharybin
Issue was caused by couple of circumstances: - Normal Map node requires tesselated faces to compute tangent space - All temporary meshes needed for Cycles export were adding to G.main - Undo pushes would temporary set meshes tessfaces to NULL - Moving node will cause undo push and tree re-evaluate fr preview All this leads to threading conflict between preview render and undo system. Solved it in way that all temporary meshes are adding to that exact Main which was passed to Cycles via BlendData. This required couple of mechanic changes like adding extra parameter to *_add() functions and adding some *_ex() functions to make it possible RNA adds objects to Main passed to new() RNA function. This was tricky to pass Main to RNA function and IMO that's not so nice to pass main to function, so ended up with such decision: - Object.to_mesh() will add temp mesh to G.main - Added Main.meshes.new_from_object() which does the same as to_mesh, but adds temporary mesh to specified Main. So now all temporary meshes needed for preview render would be added to preview_main which does not conflict with undo pushes. Viewport render shall not be an issue because object sync happens from main thread in this case. It could be some issues with final render, but that's not so much likely to happen, so shall be fine. Thanks to Brecht for review!
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2013-02-02style cleanup: also correct doc example for 'foreach_get/set'Campbell Barton
2013-02-01Move opencl and reigidbody from source/blender/ to intern/Sergey Sharybin
This modules does not depend on any blender-specific data structures or algorithms and due to our policy better be placed to intern/ Shall be no functional changes, tested CMake and SCons on Linux, hopefully other platforms will work as well. P.S. SVN history shall be preserved for the files.
2013-01-27Bunch of fixes for UI messages.Bastien Montagne
Also generate rigid body constraint types in py bullet code from RNA enum values (simpler than having to sync the code when something is changed here!). Side note: RNA API about icons still needs to expose icons for enum values, and conversion funcs between icon_name and icon_value!
2013-01-26Revert r54058, caused crash when adding paritcles in particle edit modeSergej Reich
MEM_recallocN() doesn't allocate memory when used on a null pointer. Just revert commit since there is no real benefit to using MEM_recallocN() in this case.
2013-01-25rigidbody: Improve add/remove operatorsSergej Reich
Now all add/remove operators for rigid body objects and constraints automatically add objects to the appropriate groups and create groups if they don't exist yet. This makes handling rigid bodies easier but doesn't take away functionality. If users want to handle groups manually they just need to create them before adding any objects. The previous behaviour was confusing and was even considered to be a bug since clicking on rigid body in the physics tab seemed to do nothing.
2013-01-24replace calloc + memcpy with recalloc.Campbell Barton
2013-01-23Fix #33896: particle add brush with radius 1 would give duplicated and NaN ↵Brecht Van Lommel
hairs.
2013-01-23make bullet optional againCampbell Barton
2013-01-23rigidbody: Add rigid body constraintsSergej Reich
Constraints connect two rigid bodies. Depending on which constraint is used different degrees of freedom are limited, e.g. a hinge constraint only allows the objects to rotate around a common axis. Constraints are implemented as individual objects and bahave similar to rigid bodies in terms of adding/removing/validating. The position and orientation of the constraint object is the pivot point of the constraint. Constraints have their own group in the rigid body world. To make connecting rigid bodies easier, there is a "Connect" operator that creates an empty objects with a rigid body constraint connecting the selected objects to active. Currently the following constraints are implemented: * Fixed * Point * Hinge * Slider * Piston * Generic Note: constraint limits aren't animatable yet).
2013-01-23rigidbody: Add rigid body simulationSergej Reich
Add operators to add/remove rigid body world and objects. Add UI scripts. The rigid body simulation works on scene level and overrides the position/orientation of rigid bodies when active. It does not deform meshes or generate data so there is no modifier. Usage: * Add rigid body world in the scene tab * Create a group * Add objects to the group * Assign group to the rigid body world * Play animation For convenience the rigid body tools operators in the tools panel of the 3d view will add a world, group and add objects to the group automatically so you only have to press one button to add/remove rigid bodies to the simulation. Part of GSoC 2010 and 2012. Authors: Joshua Leung (aligorith), Sergej Reich (sergof)
2013-01-21Avoid using python keyword as operator property nameSergey Sharybin
2013-01-20fix for possible null pointer dereference in PE_create_particle_editCampbell Barton
2013-01-07style cleanupCampbell Barton
2012-12-21Bug fix #33647Ton Roosendaal
Particle combing didn't always respond as expected. The combed effect was depending on the center of object in view, instead of on the center of selected hairs. That made combing in certain close ups impossible. Same was actually true for transform tools for hairs! And even worse - there was an optimize break in calculating center which wasn't true even. Causing centers for transform to fail similar in other cases.
2012-12-21Fix #33640: Blender crashes when I click on "Connect Hair" in "Particles" pannelSergey Sharybin
Issue was caused by disabled particle system modifier, now connect hair will check on that and give an error message if modifier is disabled.
2012-12-21replace MIN/MAX 3,4 with inline functionsCampbell Barton
2012-12-21fix own regression in 2.65 [#33643] Rotation does not work at certain zoom levelCampbell Barton
caused by not projecting points behind the perspective view, even though this worked in 2.64 the values were flipped (rotating direction was reversed and the center point was flipped). added V3D_PROJ_TEST_CLIP_NEAR, when omitted ED_view3d_project_*** will project points from behind a perspective view plane.
2012-12-18style cleanupCampbell Barton
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-15remove modifiers_indexInObject(), just call BLI_findindex directly.Campbell Barton
2012-12-14Fixes for correct UI scaling display:Ton Roosendaal
- Move to layer (and more popups) didn't scale yet - User Prefs and render window now open on right location on Mac Retinas - Brush sizes for painting now scale for Mac Retina
2012-12-11define the size of matrix args for both rows/cols.Campbell Barton
2012-11-26style cleanupCampbell Barton
2012-11-24Fix #33279: crash in particle brush cut tool when cutting hairs that go ↵Brecht Van Lommel
outside the view.
2012-11-23Bugfix [#29186] Object contribute to fluid sim animation start earlier than ↵Daniel Genrich
keyframe Also fix: - Fluid simulation was always lagging 1 frame behind: E.g. the 250th frame in blender showed 249th frame of the fluid simulation. Change: - Animated enabled/disabled property only gets counted as "on" if value >= 1 Note that this bugfix should solve many problems with timings of animated fluid sim properties.
2012-11-14each different remove doubles function used a different property name, use ↵Campbell Barton
'threshold' for all now.
2012-11-07Bugfix [#32939] Fluid sim reversed on X and Y with animated Control objectDaniel Genrich
Bug was introduced in r48531 by accident since fluid control object abuse a variable for another flag which got reset.
2012-11-04code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵Campbell Barton
files since its done throughout the code in some places.
2012-10-31style cleanupCampbell Barton
2012-10-27style cleanupCampbell Barton
2012-10-26Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵Bastien Montagne
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()...
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-23style cleanup: also rename bmesh_decimate.c --> bmesh_decimate_collapse.cCampbell Barton
2012-10-22style cleanupCampbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-18More UI messages and BKE_reportf<->BKE_report fixes...Bastien Montagne
2012-10-16More UI messages and BKE_reportf<->BKE_report fixes...Bastien Montagne
2012-10-12quiet some -Wshadow warningsCampbell Barton
2012-10-11style cleanup:Campbell Barton
also add helper makefile targets: * tbz - makes a tar.bz2 of an svn export * test_style_qtc - outputs style checks in qtc task format.
2012-10-07style cleanup: line length,Campbell Barton
rename V3D_PROJ_RET_SUCCESS -> V3D_PROJ_RET_OK
2012-10-07style cleanup: if();Campbell Barton
2012-10-05code cleanup: use functions to initialize selection user data structs, use ↵Campbell Barton
radius-squared for circle select comparisons. edge_fully_inside_rect() & edge_inside_rect() args were shorts when all callers were passing ints.
2012-10-05fix for circle select ignoring lock selection option for pose and edit ↵Campbell Barton
modes, added macros PBONE_SELECTABLE, EBONE_SELECTABLE