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
2011-02-23add back view 1:1 operator from 2.4x (Shift+PadEnter)Campbell Barton
2011-02-21I swear, it was just an innocence change in guardedalloc!Nathan Letwory
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-17incorrect type passed to BKE_free_animdata()Campbell Barton
2011-02-17Bugfix [#26106] No instant visual feed back for Dupliframes, parentingJoshua Leung
problem and crash - It turns out we still need the "copyob" still, if for nothing other than making sure that the unkeyed transforms can get restored. This was removed originally as I thought that just reevaluating the animation would work. - Removed a buggy line of logic that was causing crashes when there was no animation data. It's better to just assume that if animation data exists, that something exists there. - Make Duplicates Real was not clearing data such as the new animation data or constraints.
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-10Bugfix #26013Ton Roosendaal
Good discovery this one. It appeared that "pose mode" changes were not registered in our undo system. That way the first operator you try to redo after exit posemode fails.
2011-02-10Bugfix [#26002] Outliner Visible layers + Single object & data = brokeJoshua Leung
conections It seems that some of the Outliner hacks used while building the tree was causing problems, as Make Single User (and potentially other code working with ID-data, specifically with the "newid" value there) was making use of the variable used there for other purposes, leading to memory corruption. This bug also occurred in 2.4x, though when I tested there, it crashed immediately. Ton, you may want to double-check this bug!
2011-02-10fix [#26003] Twice applied modifier with Convert to mesh with several ↵Campbell Barton
multi-user objects convert_exec could do with a re-write, getting quite confusing. update md5's for ctest results and some renaming in mesh_validate code.
2011-02-09fix [#25994] Meshes with no vertices gets NaN location on setting origin to ↵Campbell Barton
geometry
2011-02-08Bugfix [#25814] ChildOf constraint: double transformation in objectJoshua Leung
mode with drivers ChildOf constraints added using the PoseBone.constraints.new() method via Python scripts instead of using the operator (this latter method is still the preferred/recommended method) were not getting some critical flags set, causing errors arising from space conversions being performed more than once.
2011-02-08Bugfix: Constraint target validation code was brokenJoshua Leung
While testing Apply Visual transforms last night, I noticed that setting a constraint to use its owner as its target was allowed and didn't trigger any warnings. This clearly doesn't do any good and is different from the old behaviour.
2011-02-08minor edits, no functional changes.Campbell Barton
- BGE was getting MCol array and not using it. - use list lookup functions for getting constraint from pose bone. - use const char * in more places.
2011-02-07Bug fix: adding force fields from the add menu didn't sort the depsgaph, so ↵Janne Karhu
hair didn't update straight away to force field settings changes.
2011-02-02- some parts of the code to remove rotation were not removing axis/angle ↵Campbell Barton
rotation (only functional change of this commit). - use BLI_math functions for removing rotations from objects and pose channels. - add unit_axis_angle() to avoid setting the Y axis inline anywhere rotation needs removing.
2011-01-31Bugfix [#25876] bpy.ops.constraint.childof_set_inverse has no effectJoshua Leung
This was a two-part bug: a user error + API error. * User Error: before calling bpy.ops.constraint.childof_set_inverse() for a constraint defined on a bone, you firstly need to explicitly make that bone the active bone. To do that, you do armature.bones.active = posebone.bone # or something similar * API Error: active bone setting was a bit too strict. It only allows setting the active bone if the new bone comes from the same armature, but was overlooking the fact that RNA pointers may have been created through the object using the armature instead.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-29Bugfix #25750Ton Roosendaal
CTRL+L link modifiers (actually, it copies!) didn't call an update for new dependencies.
2011-01-26- Clear rotation for objects now works on delta transforms too. TheJoshua Leung
only case that doesn't fully work yet is the one where quats/axis- angle are converted to eulers first. - Fixed incorrect comment - Removed obsolete "armature_clear" var from clear origin operator. This was some ancient stuff from 2.4x code that ended up getting ported across...
2011-01-26Refactoring object clear-transform operators to remove out the commonJoshua Leung
parts, like what was done for posechannel clear-transform operators earlier. There shouldn't be any functional changes.
2011-01-23Some ui reorganization of the physics tab:Janne Karhu
* Before the different simulations all had a panel with an "add this" button making the whole tab look really messy. It also rarely makes sense to have more than one or two physics things enabled for a single object, so having all the panels in the tab just added a great deal of visual clutter. * Now there is a single "enable physics for" panel at the top that allows for enable/disable of any simulation. All actual physics panels are hidden until a simulation is enabled. * There was no "add" button for force fields before, but I added a toggle between "none" and "force" to unify the ui even further.
2011-01-22Bugfix #25761Ton Roosendaal
Move-to-layer in 3D window didn't work for linked library objects. That should be possible, as was in 2.49. Layer property is local.
2011-01-22comment dead code and fix 2 missing NULL checks (pointer used after NULL ↵Campbell Barton
check and checking against incorrect pointer before use).
2011-01-21bugfix [#25712] Deletion of vertex groups under script control causes ↵Campbell Barton
incorrect reassignment of vertices in other groups vgroup functions were mixing up active group and one passed as an argument. also made other changes. - removed superfluous call to defvert_find_index() in vgroup_delete_object_mode(), was also doing unnecessary NULL check on each loop. - remove paranoid NULL check from ED_vgroup_vert_remove, callers all check for valid 'ob'
2011-01-18bad spelling; 'indicies' --> 'indices'Campbell Barton
2011-01-14checking wrong null pointer in edit_modifier_poll_generic().Campbell Barton
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-12fix [#25600] Cannot add meta-object when in edit-modeCampbell Barton
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-10add constraint operatorCampbell Barton
- report an error if adding a pose constraint with no active pose channel. - dont run update_pose_constraint_flags() when adding an object constrant to an armature object.
2011-01-08remove unused code & variables.Campbell Barton
2011-01-08Fix for bug [#21534] Multires modifier strange deformationsNicholas Bishop
This adds the "Apply Base" feature from my gsoc2010 branch. Apply Base partially applies the modifier, in that the mesh is reshaped to more closely match the deformed mesh. The upper-level displacements are recalculated so that the highest multires level appears unchanged. Multires does not currently deal well with too large displacements. An easy-to-reproduce example: create any mesh type, add multires, subdivide a few times, then use the sculpt grab brush to drag the entire mesh over a few units. At the highest level, and at level 0, the mesh looks fine, but all of the intervening levels will have ugly spikes on them. This patch doesn't help with situations where you can't modify the base mesh, but otherwise works around the problem fairly well (albeit with a heuristic, not an exact solution.)
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-07patch [#25440] Object.vertex_group fixin'Campbell Barton
from Dan Eicher (dna) From the tracker (with minor edits) ======================== cube = bpy.data.objects['Cube'] foo = cube.vertex_groups.new('foo') foo.add([1,3,5,7], 1.0, 'ADD') for i in range(len(cube.data.vertices)): try: weight = foo.weight(i) print('vert: %i weight: %f' % (i, weight)) except: pass foo.remove([1,3]) cube.vertex_groups.remove(foo)
2011-01-07bugfix [#25519] particlesystem, type hair, hair dynamics enabled: crash with ↵Campbell Barton
amount 0
2011-01-06bugfix [#25488] Game engine crash when try to run after blender app startCampbell Barton
- also found other places where utf8 isnt ensured. - remove duplicate NULL checks in object_edit.c
2011-01-05Bugfix, irc report:Ton Roosendaal
Outliner: using the object-data icons to enter editmode, didn't reset the toolbar Operator redo. It was not using an operator call here. Note to self: more outliner tools don't... Error was that operator-redo then would repeat an action incorrect.
2011-01-05Todo item: linked curve objects behaves incorrect with modifiersSergey Sharybin
Use object's displists for storing deformed tesselated curve. Was unable to totally get rid of curve's displist because of how texture space is calculating.
2011-01-02Spelling fix: itterator->iteratorSergey Sharybin
2010-12-27Small fixes:Ton Roosendaal
- OpenGL still render failed when output format was set to Movie. Now it just doesn't save a file and renders anyway. - Bone heat weight was missing 'wait cursor'. - Waitcursor for Mac Cocoa is back! Made all OS's use the same nice hourglass cursor. (Note: this violates Mac UI guidelines, we should rely on the spinning wheel of death instead. Highly disputable that.)
2010-12-23Bugfix #25341Ton Roosendaal
Child-of constraint issue: on adding, it wasn't checking owner correctly for Bones, resulting in a constraint working in wrong space; it looked as if transform was applied double when moving the object. Only adding via Py API went wrong btw. Also found a silly check for drawing constraints, which caused constraint initialization to happen for every object on every redraw! Implementation note: con->flag CONSTRAINT_SPACEONCE was only used for child-of constraints in Bones, so I've patched it on file reading to always set the flag. Marked with XXX, so it can be removed one day. Now at least things get corrected well for imported armatures.
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-20Bugfix #25312Ton Roosendaal
"Make Local" option "Objects and Data" made materials get lost on save, the tagging was incorrect. Now it makes Materials local too. Implementation note: the code is new (not 2.4) so it misses some of the hairy goodies we had. It's something for another time to really make this reliably work.
2010-12-20bugfix [#25310] Twice applied modifier with Convert to mesh with several ↵Campbell Barton
multi-user objects
2010-12-19Option "Make Single user" now also makes animations local.Ton Roosendaal
Note that the menu option "Animation" only was working for Object level animations, so I've changed the many name accordingly.
2010-12-19Fix compilation, obvious typo.Guillermo S. Romero
2010-12-19Bugfix [#25291] Objects that should not have subsurface modifier haveJoshua Leung
it (eg cameras) When trying to add a modifier to non-geometry objects, warnings are now shown instead of just adding some (useless) modifiers that cannot be removed later.
2010-12-17no functional change: only check against OB_RECALC_ALL but don't use for ↵Campbell Barton
assignment. Makes adding new flags give ambiguous results and also makes it less easy to tell whats intended. In some places it looks like OB_RECALC_TIME should be left out too.