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
path: root/source
AgeCommit message (Collapse)Author
2012-01-24Misc picky edits to UI messages.Bastien Montagne
2012-01-23BLI_array_reserve from bmesh.Campbell Barton
2012-01-23Fix #29970: Crash trying to track disabled markerSergey Sharybin
2012-01-23Fix #29934: New Carve library can't execute boolean operations in some casesSergey Sharybin
Issue was caused by left boolean operand consist of several intersecting manifolds which make Carve triangulator confused and which can't be resolved in general case. Added mesh pre-processing before actual applying boolean operator on it. This preprocessing applies union operation on intersecting manifolds of the same object so intersection edge loop with second object wouldn't confuse tesselator and correct result would be returned. Detecting of intersecting manifolds is based on AABB intersection check which leads to some extra union operation called, but it's possible to speed things up from Carve side so union operation of two not intersecting meshes would work faster. Additional condition for running union for manifold is this manifolds intersects AABB of second operand, so mesh topology wouldn't be changed at all in areas where there's definitely no intersection between operands. It might be improved so only manifolds which actually intersects second operand would be joined together, but it'll slow things down a bit and prefer to do it only if it'll be really a problem. Additional change is fixed memory leak when boolean operation fails to run - it was missed "delete" call if exception happens in Carve library. From side effects of this change might be named boolean operation between suzanne and another object: suzanne is consist of three intersecting open manifolds, so this new meshes preprocessing leads to missed eyes in result because of failure of merging two open manifolds. Don't think making suzanne work for all setups should really be a goal, it's a bit crappy mesh for CSG algorithms.
2012-01-23In order to maintain consistency with other uses of .remove(), these ↵Andrew Hale
functions will be removed and reimplemented after the BMesh merge. The main issue in an implementation of these functions is the need to constantly edit the vertex array and subsequently update the face and edge arrays.
2012-01-23modifier Apply as Shape is now Apply as Shape Key. Was confusing some usersDaniel Salazar
2012-01-23Cloth: Add "velocity damping" to damping options. This will help with the ↵Daniel Genrich
"cloth wobbling" problem which accurs quite often when having animated characters with cloth.
2012-01-23Fix for "[#29911] Crash on reading BL_ActionActuator.channelNames"Mitchell Stokes
The crash occurred when an action actuator was attached to a non-armature object because objects that aren't armatures do not have pose data. A NotImplementedError is now raised if someone tries to access any of the following with an action actuator attached to a non-armature object: BL_ActionActuator.channelNames BL_ActionActuator.getChannel() BL_ActionActuator.setChannel()
2012-01-23Ocean Modifier UI fixes:Thomas Dinges
* Modifier Icon was missing in the outliner * Fluid icon was used in the rna struct, fixed Note: Ocean uses the Wave modifier icon atm, if we find a better one, this can be changed.
2012-01-23Committing patch "[#27676] Change window size/resolution in realtime" by me.Mitchell Stokes
Description: This patch allows the user to change the size of the window (or the resolution in fullscreen mode) using the new bge.render.setWindowSize() method. This only works in the Blenderplayer since it doesn't make a whole lot of sense for the embedded player.
2012-01-23restrict stitching of same island uvs to only midpoint, without snapping caseAntony Riakiotakis
2012-01-22minor edit for operator error macro so it can return different values.Campbell Barton
2012-01-22error in outliner parent patch - was using set string on an enum property.Campbell Barton
2012-01-22Add weight preview to WeightVG modifiers, and first, simple/basic refactor ↵Bastien Montagne
of how modifiers can generate preview. User side: * Preview for DynamicPaint should keep the same behavior (for now). Weight preview should be somawhat quicker, though. * Preview for WeightVG modifiers is only active in WeightPaint mode, and if the affected vgroup is the active one. * Last active preview modifier in stack wins! Note: that modifier preview topic is yet to be further refined, quite raw/incomplete for now. Dev side: * In draw code, renamed DRAW_DYNAMIC_PAINT_PREVIEW flag to DRAW_MODIFIERS_PREVIEW * Removed use of MOD_DPAINT_PREVIEW_READY in DynamicPaint code (seems unecessary, and if it was, should be of more general scope). * Added eModifierTypeFlag_UsesPreview to ModifierTypeFlag, for modifiers that can generate some preview data. * Added three new modifier funcs, to handle preview modifiers in draw code / mod stack. * For weights preview: added the generic DM_update_weight_mcol func, which can update WEIGHT_MCOL layer with either a given array of weights (currently used by DynamicPaint only), or from current active vgroup(s). So now, draw code is fully generic (i.e. no more modifier-type checking in it). Mod stack code is generic to some extent, but will need more work.
2012-01-22Quiet warnings in text editorCampbell Barton
2012-01-22use inline BLI_math functions for dot product and length calculation.Campbell Barton
2012-01-22Fix #29935: missing cycles update/crash when removing world datablock form ↵Brecht Van Lommel
scene.
2012-01-22Bugfix for r.43592Joshua Leung
A typo (?) meant that enum menus, such as the Set Parent (Ctrl P) menu would get shown with empty string labels.
2012-01-22Patch [#27790] Drag and drop parenting in outlinerJoshua Leung
Submitted by Perry Parks (scuey) From the patch: This patch enables drag and drop parenting for objects in the outliner. Drag and drop is supported for a selection of multiple objects as well. Also, all of the "special" parenting tasks (armature, curve, lattice) are possible through the usual parenting context menus. For example, drag a mesh object onto an armature and you are prompted for using bone envelopes, automatic weights, etc. Demonstration on Vimeo: http://vimeo.com/25698606
2012-01-22Fix a crasher in WeightVG modifiers.Bastien Montagne
Problem was, if no vertices were ever added to one of the obect's vgroups, there is no CD_DEFORMVERT layer, even though there might be several valid vgroup indices... Odd no one noticed that earlier. Many thanks to miikah for finding that bug!
2012-01-22Patch [#28608] Add search match colour to theme settingsJoshua Leung
Submitted by Shane Ambler (sambler) From patch description: As a follow on from #23443 - committed in r40066 I have added the outliner filter match highlight colour to the theme settings. Default colour is a light green matching what was originally hard coded.
2012-01-22Committing patch "[#29763] Adding an active_events property to ↵Mitchell Stokes
SCA_PythonKeyboard and SCA_PythonMouse" Here is the description: As the summary says, this patch adds a new event to both SCA_PythonKeyboard and SCA_PythonMouse. This property is similar to the events property that both have, but it only returns events which are not KX_NO_INPUTSTATUS. This moves the "no input" check from Python to C, which gave my input handling code a 2x speed up. Python sucks (performance-wise) with iterating lists and SCA_PythonKeyboard has close to 200 events (I think something like 177, but I don't know for sure).
2012-01-22Bugfix [#29869] NLA editor keeps resetting my extrapolation mode every time IJoshua Leung
edit a strip in the timeline Tweaked the behaviour of the overwritting of extrapolation mode so that it is less destructive when the problems it sets out to fix aren't likely to occur (namely a top strip blocking everything below it due to extend backwards).
2012-01-22Bugfix [#28468] Cannot enter "Tweak mode" on mutiple objects at the same time,Joshua Leung
though it initially works Problem was that in the past it was possible to have multiple strips/tracks tagged as "active", but now after getting a correct implementation, we can no longer have that, and thus entering Tweak Mode only works on the last selected strip. However this is problematic in cases when you want to tweak the keyframes of several objects (which may only have a single strip each) in order to get them to line up with each other. This hack caters for this case (selecting multiple strips from the same AnimData block is still impossible and insane/illogical and is not allowed). This may have implications for some future tools which make assumptions about certain aspects of NLA state. However, it shouldn't cause too many problems (hopefully ;)
2012-01-22fix for own error in recent paint refactor, subtract mode was broken.Campbell Barton
2012-01-22Bugfix [#29822] Driver's target field doesn't update on Bone renameJoshua Leung
This only affected non-object drivers, since the renaming was only getting called on object-animdata.
2012-01-22Fluidsim - Restoring simulation speed control (ZanQdo request)Joshua Leung
This commit restores support for freezing or speeding up physics sims. Animate the "Speed" parameter under Domain->Time, which controls a multiplier factor for the rate at which the sim proceeds (i.e. the old "Fac-Tim" setting). Notes: * Subversion bumped to 4 to patch up defaults for new value so that old sim files will still run correctly * Names/descriptions could do with some tweaking * Porting this across was not that obvious since quite a bit of stuff had changed (as in, been cleaned up). However, from tests so far, it seems to work well.
2012-01-22reduce operator lookups in the UI (could do 4 hash lookups per button).Campbell Barton
2012-01-22cucumber merge: world scaling + video texture constantsDalai Felinto
revisions: 38166,38167,38177,38179,38180,38187,38242 To be implemented after merge: 1) add pydocs(rst) for the video texture new defines 2) see if a NodeSetLocalMatrix would fit well #43439 by kupoman Changing the worldTransform and localTransform python attributes to use BLI_math to simplify the code #38242 by kupoman Adding the constants SOURCE_ERROR, SOURCE_EMPTY, SOURCE_READY, SOURCE_PLAYING, SOURCE_STOPPED to the video texture module. Updates to the documentation will follow after a merge with trunk #38187 by kupoman Updates to the documentation to reflect that worldScale is now writable, and added localTransform and worldTransform to KX_GameObject. #38180 by kupoman The Transform attribute of KX_GameObject was based on world space data. I converted that one to worldTransform, and added a localTransform for local space transform information. #38179 by kupoman Fixed the transform attribute of KX_GameObject's set method to properly deal with negative scaling. #38177 by kupoman Updated the transform property on KX_GameObject so that it is now read/write, and added the corresponding set method. Also simplified the get method by calling GetOpenGLMatrix instead of making the matrix myself. #38167 by kupoman Adding a read only transform attribute to KX_GameObject that returns a 4x4 matrix representing the object's transformations. #38166 by kupoman Adding a worldScale attribute to KX_GameObject. This attribute scales the object independently of its parent's scale.
2012-01-22fix for 'next' being set twice in the for loop from r43588Campbell Barton
2012-01-22patch: 'set the right Action Actuator when duplicating an object' by Daniel ↵Dalai Felinto
Macedo bug and patch not in tracker. little fix by me (replace while loop by for(...;act;...). Thanks Daniel ;)
2012-01-22fix for memory leak displaying shortcuts to buttons which use allocated ↵Campbell Barton
string, also de-duplocate this code which had this error in 2 places. noticed while testing 1023 length paths.
2012-01-22style chang, made mainly because I wanted to be able to add breakpoints to ↵Campbell Barton
MEM_freeN calls which were on the same line as the if's.
2012-01-21Fix for missing NULL check in socket default_value free function. Some ↵Lukas Toenne
sockets (currently only cycles shader sockets) don't actually have a default_value pointer.
2012-01-21change filepath limit from 240 to 1024Campbell Barton
2012-01-21Better api use for paths.Campbell Barton
Avoid possibly copy past buffer.
2012-01-21Added DNA_DEPRECATED attribute to some old data in bNodeSocket. ↵Lukas Toenne
DNA_DEPRECATED is disabled in writefile.c now to allow forward compatibility code writing to deprecated member data.
2012-01-21formatting edits (<120 line length), remove invalid 'defaults' keyword arg ↵Campbell Barton
from docs.
2012-01-21Fix [#29940] Stretch To constraint breaks scaling in Transform constraint.Bastien Montagne
Compute of dist between ob/bone and target was quite odd and causing that bug.
2012-01-21formatted snapquats table so entries line up, rounded to 7 significant ↵Mike Erwin
digits (fp32 respects ~6), no functional change
2012-01-21tidy up ndof handling code -- whitespace, comments, ndof->rvec[0] to ↵Mike Erwin
ndof->rx, etc. no functional changes
2012-01-21quiet warnings and possible NULL checking crash fix for indentation functions.Campbell Barton
2012-01-21modify number button copy/paste to work as if you enter the button, select ↵Campbell Barton
text, type into another button the same value. This means you can copy/paste units and python expressions.
2012-01-21fix 2 bugsCampbell Barton
- box packing wasn't flagging out the right free corner of a vertex in some cases. - tex_space_curve wasn't counting quad displists properly.
2012-01-20Skip subsurf normal allocation/calculation when not needed.Nicholas Bishop
CCGSubsurf has already a function to disable calculation of normals, but seems it wasn't used. This patch changes subsurf UV and subsurf_calculate_limit_positions() to not calculate normals, and also not allocate space for them. Should be no functional changes, just a small speedup/less memory use during subdivision for these cases. Code review link: http://codereview.appspot.com/5558058/
2012-01-20Try fixing modifier keys not working correctly for uv sculpting.Antony Riakiotakis
2012-01-20Minor fix for socket default value conversion. The switch statement would ↵Lukas Toenne
not break correctly.
2012-01-20comment some dead assibnment and set dummy values for image profile ↵Campbell Barton
conversion in case of invalid input.
2012-01-20quiet warnings for using uninialized color var in ED_image_draw_info().Campbell Barton
2012-01-20Cleanup of default_value handling in node sockets.Lukas Toenne
The structs stored in the anonymous void *default_value in bNodeSocket are now handled completely inside node_socket.c. All allocation/freeing/duplicating for this has been replaced by the appropriate calls to generic API functions (declared in NOD_socket.h). This will make the default value handling more reliable for future node socket code. Group socket copying and value conversion has also been moved into the generic socket API file.