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
2010-04-16Fix [#21492] "Align to view" option from tools panel's operator part doesn't ↵Matt Ebb
works. Also changed some usage of CTX_wm_region_view3d(C) to ED_view3d_context_rv3d(C)
2010-04-15Merge various small changes from render branch:Brecht Van Lommel
* Division by zero fix for TNT SVD code. * Sound fix, in case ffmpeg decode fails, don't use the samples. * Fix for incorrect bounds of transformed objects in new raytracing code. * Gave memory arena's a name used for allocations for easier memory usage debugging. * Dupligroup no_draw option was using layers but not restrict view/render setting. (not a bugfix exactly but would do display list context switching while drawing for no reason). * Fix objects instanced on hair particles not giving consistent results when the object is transformed. * New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4, mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4. * mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple arguments. * endjob callback for WM jobs system. * Geometry node uv/color layer now has search list/autocomplete. * Various small buildsystem tweaks, not strictly needed yet in trunk.
2010-04-15Make memstat easier to read, add missing Intel ID and cleanups.Guillermo S. Romero
2010-04-13fixed make local bug; it was only looking at editable objects, which of ↵Joseph Eagar
course lib objects are not.
2010-04-13Todo #21831: Deform modifier is applied to base mesh instead ofSergey Sharybin
multires modifier if both are in the stack (patch #21965) This patch also removes limitation of multires reshaping when destination object has got modifiers after multires modifier.
2010-04-12Fix [#21982] Operator bug: Edit modeMatt Ebb
Hid the 'Enter Edit Mode' property when adding an object, not necessary anyway.
2010-04-12booleanops.c was moved to MOD_boolean_util.c, remove empty file.Campbell Barton
2010-04-12Copy Constraints OperatorDalai Felinto
the C code to copy the constraint was already there (same as 2.49) so this operator simply exposes it. I'm using the name Copy Constraints to Others based on what we have in material operators (e.g. Copy Material to Others). If we bring back the whole Copy Attributes menu (old Ctrl+C) having the individual operators is still important for scripts. Nevertheless I'm not comfortable with the name (to Others sounds unnecessary verbose) but so far having the functionality back is important (request from Caju Studio). I'll be glad to make any change later if needed. (no shortcut for that, to use it go to userpref->keymap and assign a shortcut for this operator or add it to the toolshelf)
2010-04-08no functional changeCampbell Barton
- convert solidify edge crease values into chars once rather then for each edge. - sort vertex was checking the array all the time when it wasnt needed.
2010-04-07Modes are now toggled on using operators on load if the file was saved inBrecht Van Lommel
that mode. This ensures proper initialization happens like creating the cursor or building an acceleration structure. It also means edit and particle mode are now saveable. Not sure yet if this is a good feature, though personally I like being able to load my exact state again after saving, but maybe entering edit mode is too slow in some cases? It's easy to make it work only for the sculpt/paint modes again if wanted. This fixes bug #21004 about a missing sculpt cursor on load.
2010-04-05Fix #21828: vertex group remove function removes vertices from all groups.Brecht Van Lommel
2010-04-05Bugfix #21212: Segfault when object.add_vertex_to_group() called with ↵Joshua Leung
invalid vertex index Safety checks are now performed before indexing into the dvert array obtained.
2010-04-02Simple crasher fix: TAB to change mode crashed after moving all the scene's ↵Joshua Leung
objects to a hidden layer.
2010-03-31svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 ↵Campbell Barton
-r27875:27895
2010-03-31Fix [#21832] Add Modifier, Pinned ContextMatt Ebb
Added convenience function ED_object_active_context(C) to get either the object in the data context, or if not, the active object.
2010-03-30- Call DAG_id_flush_update for each object in convert operator if keep_originalSergey Sharybin
option is switched off. This fixes trouble when user converts curve which is set as taper/bevel object to mesh (scene kept unchanged until object recalculation). - Moved checking of taper/bevel objects type to RNA property update handlers. - Added resetting taper/bevel object in do_makeDispListCurveTypes it this objects aren't curves.
2010-03-30Baking for dupligroup & linked library objectsBrecht Van Lommel
- library data allows pointcache writing (hard to know how this should work long term so ifdef'd for now) - changing the frame now updates the dupligroup objects - BKE_ptcache_ids_from_object(), option to get the id's from duplis note! scene_update_tagged() is called from the main() loop, and runs BKE_ptcache_quick_cache_all(), this could become a performance issue, especially with duplis, should probably not call BKE_ptcache_quick_cache_all() all the time, even when not playing back animation. (commits 27856 by Campbell from render25 branch)
2010-03-30* Multiply for panorama camerasBrecht Van Lommel
* Some cases of struct name being set where it shouldnt have been. * Spelling: wich --> which * Copy and initialize uv modifier scale, remove unneeded enum. * Ability to pin any object into the context. * Update uv window while transforming (useful when used with UVProject modifier) * Patch by Wahooney, so new template's are internal text and dont get saved over by mistake. * Fix for https://bugzilla.redhat.com/show_bug.cgi?id=572186 Bug 572186 - [abrt] crash in blender-2.49b-5.fc12: Process /usr/bin/blender.bin was killed by signal 6 (SIGABRT). Original fix submitted by Jochen Schmitt. * [#21816] bpy.data.add_image has stopped working on Windows. moved to bpy.data.images.load(), missed this call. (commits 27726,27825,27828,27831,27832,27833,27834,27836,27837,27838,27839,27858 by Campbell from render25 branch)
2010-03-29Fix [#21542] Clear origin shortkey Alt+O in object mode doesn't workMatt Ebb
2010-03-27Second attempt at committing the different render slot implementation. ThisBrecht Van Lommel
has a fix that hopefully solves the problem on mac/win. Also fixes #21322, render slots not working well with FSA.
2010-03-27Check result of object_add_duplicate_internal() before using it.Sergey Sharybin
This prevents segmentation fault when object in pose mode is duplicating.
2010-03-26Fix vertex paint not getting restored after exiting editmode,Brecht Van Lommel
and fix the opposite problem when going to object mode from the menu. (commit 27747 by Brecht from render25 branch)
2010-03-264 Devs in Agreement - End of the Road for Old Track Joshua Leung
This commit removes the Old Track method (used to be found under Object -> Animation -> Track), with all existing instances of this being converted to Track To Constraints. In fact, while performing this removal, I found that this was supposed to have happened in version 2.27 already, but for some reason the options were left in, and this function managed to survive for a further decade. I've left the tracking axes around still, since it seems some curve tools still use that. However, that usage should probably get faded out in future too? Misc notes: * Fixed compiling error with constaints from harkyman's Maintain Volume patch. * Subversion of 2.52 now bumped up to .2
2010-03-25More assorted Keying Sets changes for Cessen (mainly api stuff):Joshua Leung
* Added operator (Ctrl Shift Alt I) to show menu for changing the active Keying Set in the 3D view (todo item from last commit) * KeyingSetInfo (i.e. the Builtin Keying Set classes) can now be accessed from Keying Set instances with ks.type_info * Added ks.remove_all_paths() function to remove all the paths for a Keying Set. --- These two changes mean that builtin Keying Sets could be refreshed in response to context changes by doing: <code> ks = bpy.context.scene.active_keying_set if ks.absolute==False and ks.type_info: ksi = ks.type_info # remove existing paths to fill with new ks.remove_all_paths() # check if Keying Set can be used in current context if ksi.poll(bpy.context): # call iterator() which calls generate() and re-populates paths list ksi.iterator(bpy.context, ks) </code> And then, once this has been done, the paths that the Keying Set will operate on can be accessed as <code> paths = bpy.context.scene.active_keying_set.paths </code>
2010-03-23rna/py-api fix.Brecht Van Lommel
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument. next commit will make order of arguments consistant (currently only changed order that rna wrapped). (commit 27674 by Campbell from render25 branch)
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero
2010-03-20merge own commits into render branch into trunk since 27560Campbell Barton
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-18Fix [#21651] After Fix # 21114 Adding mesh in local at cursor position ↵Matt Ebb
doesn't work Silly bug from yesterday..
2010-03-17Fix [#21114] Graphical cursor displayed in wrong position when switching to ↵Matt Ebb
local ortho.
2010-03-17"Fill deformed" option for 2D curvesSergey Sharybin
Add new option named "Fill deformed". If this option is switched on. 2D curve will be first deformed by modifiers and only then be filled with faces.
2010-03-16Daniel Lara pointed out that adding a Maintain Volume constraint via 3D view ↵Roland Hess
hotkey automatically added an Empty for Target. This should not have been.
2010-03-16== Massive Keying Sets Recode ==Joshua Leung
After a few days of wrong turns and learning the finer points of RNA-type-subclassing the hard way, this commit finally presents a refactored version of the Keying Sets system (now version 2) based on some requirements from Cessen. For a more thorough discussion of this commit, see http://sites.google.com/site/aligorith/keyingsets_2.pdf?attredirects=0&d=1 ------ The main highlight of this refactor is that relative Keying Sets have now been recoded so that Python callbacks are run to generate the Keying Set's list of paths everytime the Keying Set is used (to insert or delete keyframes), allowing complex heuristics to be used to determine whether a property gets keyframed based on the current context. These checks may include checking on selection status of related entities, or transform locks. Built-In KeyingSets have also been recoded, and moved from C and out into Python. These are now coded as Relative Keying Sets, and can to some extent serve as basis for adding new relative Keying Sets. However, these have mostly been coded in a slightly 'modular' way which may be confusing for those not so familiar with Python in general. A usable template will be added soon for more general usage. Keyframing settings (i.e. 'visual', 'needed') can now be specified on a per-path basis now, which is especially useful for Absolute Keying Sets, where control over this is often beneficial. Most of the places where Auto-Keyframing is performed have been tidied up for consistency. I'm sure quite a few issues still exist there, but these I'll clean up over the next few days.
2010-03-15Various warning fixes.Brecht Van Lommel
2010-03-14Rendering from 3d view in local view or with unlocked layer was notBrecht Van Lommel
working yet, now layer is passed along to render engine, changes quite a few files because simple swapping trick no longer works with threading.
2010-03-11Motion Paths + Auto-Keying:Joshua Leung
Revised the conditions under which motion paths get recalculated after transforms (when auto-keying is enabled). Now, the type of path display does not matter, but rather that the object/bone in question has any paths at all. This makes animating with these a much smoother experience.
2010-03-11Send data changed notifier after object conversion.Sergey Sharybin
Need this for refreshing "Object data" page.
2010-03-09rename some functions to use easier to understand names.Campbell Barton
'BLI_makestringcode' --> 'BLI_path_rel' 'BLI_convertstringcwd' --> 'BLI_path_cwd' 'BLI_convertstringframe' --> 'BLI_path_frame' 'BLI_convertstringframe_range' --> 'BLI_path_frame_range' 'BLI_make_cwdpath' --> 'BLI_path_cwd'
2010-03-08Bugfix: multires save external was not working. Just disabled operator pollBrecht Van Lommel
for now, but there's actually a deeper issue here, the modifier is no longer in context after the file browser, not sure how to solve this.
2010-03-08Send object's modifiers were changed in conversion operator.Sergey Sharybin
This will prevent displaying data on modifiers page after conversion is over.
2010-03-08Fixed segmentation fault when converting mesh to mesh with non-empty ↵Sergey Sharybin
modifiers stack.
2010-03-07Fix for convert_exec()Sergey Sharybin
"Keep original" option now works for all objects' types
2010-03-05Constructive modifiers for curves and surfacesSergey Sharybin
Used approach with creating DerivedMesh for curves whet they've got such modifiers. Available modifiers are: array, edge split, mirror, solidify, subsurf.
2010-03-03select roots of the hair verts when converting hair into a mesh.Campbell Barton
2010-03-03[#21436] Do not set BASACT to NULL when new base wasn't created in convert_execCampbell Barton
by Sergey Sharybin (nazgul) (from the patch) When new base wasn't created in convert_exec() function. BASACT will set to NULL, which is not convenient. For example, u can't enter edit mode after converting curve to mesh. Now BASACT changes only if base for active object was changed.
2010-03-02convert to mesh (Alt+C), was failing in cases when MDef was used. make the ↵Campbell Barton
mesh from the original rather then the copy.
2010-02-25select parent/child in object mode with [] keys, like pose mode.Campbell Barton
also needed to extend the RNA api to allow C to set enums without meaningful values.
2010-02-21generic modal operator to make adjusting almost any rna property with the ↵Campbell Barton
mouse possible with a few lines. Example which is similar to interactive lamp adjusting in 2.4x ... wm.context_modal_mouse(path_iter="selected_editable_objects", path_item="data.spot_size") Added lamp Wkey menu back.
2010-02-21Bugfix #21234: Autokey "insert only available" userpref inserts keys for all ↵Joshua Leung
bones in an armature -- Bugfix: When autokey is enabled, notifiers to refresh the animation editors *after* transforms finished for objects were missing. While I understand the need to limit these to not doing this during transform, after transform, this lead to lag/inconsistent UI problems. -- * Added 'Damped Track' Option to 'Make Track' Operator * Improved the code of the 'Clear Track' operator to include other types of tracking constraint too