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
2014-01-23Code Cleanup: find operator once and reuseCampbell Barton
2014-01-16Correct error in own recent commitCampbell Barton
2014-01-16Compilation error fix: mismatch declarationSergey Sharybin
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-09-16replace RNA_property_array_length with RNA_property_array_check where the ↵Campbell Barton
length of the array is only used to check if the property is an array or not. (this isnt reliable since arrays can be zero length).
2013-09-13add back library linking warning when renaming library datablocks in the ↵Campbell Barton
outliner, also typo corrections.
2013-09-02support for vertex parenting in object mode for object types which support ↵Campbell Barton
it (mesh, lattice, curve, surface) previously this had to be done one by one. both single and triagle vertex parents can be made, selected based on distance to the verts. Developer notes: - looks like this was old TODO, enums existed but weren't used. - only meshes currently support using. - added BKE_object_as_kdtree(), may come in handy for similar cases.
2013-08-14quiet compiler warnings.Campbell Barton
2013-08-13Fix crash happening when clearing parent in outliner modes which doesn't ↵Sergey Sharybin
support this.
2013-08-03fix for [#36260] 2,300 Objects Makes Blender UnresponsiveSv. Lockal
- performance of outliner was low because of unoptimal data structures. - now it uses BLI_mempool instead of custom mempool and GHash to make searches for duplicates faster. - also fix undesired behaviour of BLI_mempool_as_arrayN thanks to Campbell Barton and Lukas Tönne for helping me get a better fix put together.
2013-07-30Remove superfluous iterations (caused by typo) and type casts in outlinerSv. Lockal
This significantly lowers the position of outliner_draw_tree_element in profiler and partially fixes [#36260] (2,300 Objects Makes Blender Unresponsive)
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-04fix [#35998] Crash when trying rename Driver in OutlinerCampbell Barton
remove unused script define
2013-04-03Cleanup outliner_dropzone codeDan Eicher
* deduplicated a bunch of code and moved it into outliner_dropzone_find() * moved all the per-dropzone checks into the poll functions * one functional change, disable drop parenting on self & self->parent The basic assumption: if poll() == true then outliner_dropzone_find() will return a valid TreeElement
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-09minor edits to r55134 (recursive outliner select).Campbell Barton
- loop over scene bases rather then looping over all objects, then looking up bases. - shuffle checks so slow ones are last. - rather then having own behavior for recursive select, do the regular operation, then apply the result recursively afterwards.
2013-03-09Outliner: Added recursive select/deselect (CTRL+LMB) and extend (CTRL+SHIFT+LMB)Gaia Clary
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-02-21Dependency Graph: some refactoring which should have no user visible impactBrecht Van Lommel
besides performance in some cases. * DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in most cases. This will clear the dependency graph, and only rebuild it right before it's needed again when the scene is re-evaluated. This is done because DAG_scene_sort is slow when called many times from python operators. Further the scene argument is not needed because most operations can potentially affect more than the current scene. * DAG_scene_relations_update will now rebuild the dependency graph if it's not there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare cases that need it. * Remove various places where ob->recalc was set manually. This should go through DAG_id_tag_update() in nearly all cases instead since this is now a fast operation. Also removed DAG_ids_flush_update that goes along with such manual tagging of ob->recalc.
2013-02-05set drag/drop operators as 'INTERNAL', there not useful to access from ↵Campbell Barton
operator search.
2013-02-02style cleanupCampbell Barton
2012-12-22Reshuffled data view for Outliner.Ton Roosendaal
- The new "Main Data" option is now under the category "Blender File". - That category also displays the Linked Library files. (Including allows browsing what's used from this file) Also fixed CTRL+click on names, crashed.
2012-11-28Fix #33326: outliner numpad minus collapse followed by numpad plus expand ↵Brecht Van Lommel
did not work.
2012-11-26Fix #33310: unnecessary redraw of outliner when editing materials and textures.Brecht Van Lommel
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-26style 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-18Fix #32913: missing cycles viewport update when toggling visibility in outlinerBrecht Van Lommel
with V and R shortcut keys.
2012-09-27fix [#32616] Changing parent does not keep transformationCampbell Barton
add an option to apply the transform of an object when re-parenting. the reason for this is you dont always want to apply transform because... - your object may be driven/animated and the transformation will be lost. - with negative scales and rotation it can end up giving odd/not-useful results.
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-08-22code cleanup: use rect size macrosCampbell Barton
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-12new parameter in assign_material() to specify where material shall be ↵Gaia Clary
assigned: object, obdata, by userpref(default) (as discussed with ideasman_42)
2012-07-15"Fix" [#32033] In the execution result of with_automatic_weight, the ↵Bastien Montagne
difference is seen right and left. This auto/heat vgroup creation seems to be fuzzy/unstable (each run gives a slightly different result). I have not the competences (nor time) to investigate that laplacian stuff, so for now just adding an option when parenting to an armature with envelope/heat, to mirror weights along the X axis (as it is done by default when doing it from the Weight Paint mode).
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-06-11OUTLINER_OT_material_drop -- Drag & Drop materials onto objects in the outlinerDan Eicher
Adds the material at materials + 1 unlike the DnD view3d one which replaces the first one
2012-06-05Fix #31702: Drag and Drop parenting crashes BlenderSergey Sharybin
Crash was caused by recent changes in parent drop operator which were aimed to prevent parenting objects between different scenes (which probably makes sense). The problem was how it was checked if objects belongs to the same scene -- outliner tree with type ID_SCE was used for this which works pretty nice for All Scenes outliner view. But in other view modes there is no scene element in outliner tree which lead to some NULL pointer dereferences. Currently resolved this by assuming that if there's no Scene parent element in outliner tree parent and child belongs to the same scene which is active scene. This is truth for current view modes of outliner but if it'll be changed in the future this assumption shall be updated and re-implemented with some smarter checks of which scene object from outliner belongs to.
2012-05-31style cleanupCampbell Barton
2012-05-29Outliner Drag & Drop fixesDan Eicher
OUTLINER_OT_parent_drop * use scene of child instead of active scene * poll to check if parent and child are in same scene OUTLINER_OT_parent_clear * get scene from child instead of only working on active scene * poll to check if no parent OUTLINER_OT_scene_drop && OBJECT_OT_make_links_scene * memory leak on error * would only link some objects on error
2012-05-29OUTLINER_OT_scene_drop -- "Drag object to scene in Outliner" operatorDan Eicher
Refactored the two (well, three now) other places where an object is linked to a scene into ED_object_scene_link()
2012-05-29Outliner drag/drop parent fix -- added checks for modifiers and contraints ↵Dan Eicher
to the poll functions Parenting was just broken, poll would return true but nothing would happen if you dropped on modifiers or constraints Parent clear now works the same as dropping on a non-ID_OB types but left the actual modifier/contraint instances open to allow for future expansion
2012-05-07style cleanup: outlinerCampbell Barton
2012-05-05code cleanup: BKE_libblock_find_name() now takes an ID constant rather then ↵Campbell Barton
a string.
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05code cleanup: BKE_scene api naming.Campbell Barton
also stop numpy from being found in /usr/include with cmake.
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-26outliner header cleanup (copy pasted headers when split up Im guessing)Campbell Barton
2012-04-26removed unneeded fnmatch include from outliner, comment files as needing ↵Campbell Barton
header cleanup.