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-07-27bugfix [#22027] Group disappears in render after adding a group instanceCampbell Barton
2010-07-27* Partially revert r30763, where PROP_IMAGEPATH was added.Nicholas Bishop
* Brush icon property back to not using image browser until a better solution is decided on.
2010-07-26* Added a new RNA subtype, PROP_IMAGEPATH. It's the same as PROP_FILEPATH, ↵Nicholas Bishop
but for images only. * Changed UI code to display image browser for PROP_IMAGEPATH * Set the icon_filepath RNA property for brushes to use PROP_IMAGEPATH * Changed preview icon drawing to ignore unset icons * Fixed const warnings in brush RNA
2010-07-26[#22617] Using register/unregister alone crashes blenderCampbell Barton
wasnt crashing anymore but made exception message clearer.
2010-07-26bugfix [#23018] Can't run 2.53 buildCampbell Barton
for some reason mbstowcs() was converting '/home/matrem/Téléchargements/' to '/home/matrem/T', where blenders utf8towchar() worked correctly, tried changing my locale but didnt help so using blenders utf8towchar() function.
2010-07-26bugfix [#22836] Alt+MMB view alignment don't respect all axes directionsCampbell Barton
also moved rotation_between_quats_to_quat into BLI_math from python mathutils.
2010-07-25py api mathutils.Quaternion()Campbell Barton
- getting axis, angle wasnt calling read callbacks so it didnt work with RNA. - made setting axis and angle attributes possible.
2010-07-23[#22488] Reloading scripts causes crashCampbell Barton
F8 key enabled again, useful for script UI development. - keying set freeing wasnt freeing from all scenes and the builtin list. - PointerProperty() cant refer to a removed python srna type (fixed in rigify and netrender). - Added a check for freeing a type used by a PointerProperty but its very slow, makes reloading take ~10sec. Only enabled this in debug mode for now. Netrender register() function isnt re-registering the property, probably because the module is cached by python and not re-run.
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
2010-07-20noise python module back from 2.4x, personal request from ant author Jimmy HazeCampbell Barton
Changes: /* 2.5 update * Noise.setRandomSeed --> seed_set * Noise.randuvec --> random_unit_vector * Noise.vNoise --> noise_vector * Noise.vTurbulence --> turbulence_vector * Noise.multiFractal --> multi_fractal * Noise.cellNoise --> cell * Noise.cellNoiseV --> cell_vector * Noise.vlNoise --> vl_vector * Noise.heteroTerrain --> hetero_terrain * Noise.hybridMFractal --> hybrid_multi_fractal * Noise.fBm --> fractal * Noise.ridgedMFractal --> ridged_multi_fractal * * Const's * * Noise.NoiseTypes --> types * Noise.DistanceMetrics --> distance_metrics */
2010-07-17spelling correction: alredy --> alreadyCampbell Barton
2010-07-16== installation paths ==Andrea Weikert
* fix for autosave location -> shouldn't use BLI_gethome anymore * this frees BLI_gethome of having to emulate the local->user->system search path and can now be truly considered as 'home/default location for .blend files' * removed setting the default G.sce from read_history, was out of context there. * fix for creating user dir, leftover from previous commit. jesterKing, please review -> if there are any issues I will fix or revert.
2010-07-16== installation paths ==Andrea Weikert
remove deprecated python BLI_gethome_folder calls Patch by Brecht, thanks a lot
2010-07-15change some references to .B.blend, .Blog to new namesCampbell Barton
2010-07-14Change to text3d: When back or front is enabled, the bevel rim on the other ↵Campbell Barton
side is not created anymore, just as the back/front filling faces are not created when disabled. when both are off the behavior is unchanged. This is needed when rendering alpha text so its possible to have a single layer of faces but use the bevel option to make text thicker. adding a rim on the back when back is disabled also doesnt make much sense IMHO. minor python edits too.
2010-07-11bugfix [#22800] Mathutil bug with vectorCampbell Barton
example wasnt updated.
2010-07-08added imports to templatesCampbell Barton
2010-07-08- duplicating a scene now duplicates all strips (not just selected ones)Campbell Barton
- python change, dont import 'bpy' by default, initially I thaught this would make scripting easier but it ends up being annoying when you want to register a script or if you want to import it. (more trouble then its worth to save 1 line, also not very pythonic).
2010-07-04Patch [#22339] File/installation paths changesAndrea Weikert
Patch Tracker: http://projects.blender.org/tracker/?func=detail&aid=22339&group_id=9&atid=127 This patch implements the proposal outlined here: http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal Original patch by Matt Ebb. Contributions by Nathan Letwory, Damien Plisson and Andrea Weikert NOTE: This is a work in progress commit, some work still needs to be done on the SCons and CMake files for this to work properly, but at least should compile and the files should be created in the right directory. Commit discussed on IRC with Ton and Campbell.
2010-07-03better reporting for file i/o failier, use system error message in more ↵Campbell Barton
places: Permission Denied, No space left, File not found etc. - blend load/save uses os message. - image load gives os message. (remove check for slash at end of line, just let the os report an error) - python api load image/font/text raise errors with message (was just retuning None for image and font) - minor edits to py api errors.
2010-07-03- changes to the sequencer so new strips use the data name.Campbell Barton
- removed the name option for the sequence operators.
2010-06-28== python api docs ==Luca Bonavita
- properties are now listed on alphabetical order - readonly properties use "data" directive, so that we see them in green in the web docs example (after Campbell will rebuild the docs): http://www.blender.org/documentation/250PythonDoc/bpy.types.RenderLayer.html (note that green attributes still need final CSS-ing, but smerch is a bit busy atm) - fixed indentation in http://www.blender.org/documentation/250PythonDoc/bpy.data.html
2010-06-27api reference docs: include bpy.data in the main page since its used everywhere.Campbell Barton
since this isnt a module its self its a little odd to do this but toctree cant make arbitrary cross-references. Also added some usage examples: http://www.blender.org/documentation/250PythonDoc/bpy.data.html
2010-06-26remove math and m module names from python driver namespace. (all math ↵Campbell Barton
functions are merged into the local namespace)
2010-06-25bpy.props.StringProperty()'s maxlen arg was off by 1 since it included the ↵Campbell Barton
null terminator for C strings.
2010-06-23Fix #21369: normals on extruded text and curve objects were flippedBrecht Van Lommel
for the backside, giving problems with e.g. boolean operations.
2010-06-23mathutils.RotationMatrixMartin Poirier
Angles are in radians. Doc and example should reflect reality
2010-06-17== addons ==Luca Bonavita
- release/scripts/ui/space_userpref.py added the change to add a 'warning' field to bl_addon_info warning icons are used to show 'broken' scripts or warnings asked permission to campbell and matt in blendercoders to apply this - source/blender/python/doc/sphinx_doc_gen.py: small fix in the url
2010-06-15- module for reading blend start/end frames and scene name (useful for ↵Campbell Barton
finding the total frame count without loading a blend file) - added render api as unstable to the docs.
2010-06-15== python api docs ==Luca Bonavita
* source/blender/python/doc/sphinx_doc_gen.py: changed the "undocumented" message so that it still links to http://wiki.blender.org/index.php/Dev:2.5/Py/API/Documentation/Contribute but uses flags in the url to help documenting. Example: http://www.blender.org/documentation/250PythonDoc/bpy.ops.node.html#bpy.ops.node.link click on "contribute", the new section has title "bpy.ops.node.link" and a howto message is shown * source/blender/python/intern/bpy.c: fixed a typo
2010-06-14change to recent commit, insert_keyframe(datapath -> data_path ...)Campbell Barton
made region width and height unsigned
2010-06-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-06-14bugfix [#22427] settings bpy.context.active_object gives wrong message.Campbell Barton
2010-06-14bugfix [#21748] KX_Object scaling property not "writing" vector access .:. ↵Campbell Barton
e.g. obj.scaling[2] = 2.0 - made worldspace readonly - mathutils 'set' callbacks can now set their own error
2010-06-12modify my last commit to fix [#22486] add_actuator crashes when name is ↵Campbell Barton
bigger than 32 chars Throwing an exception if the strings too long means scripts need to be aware of string lengths and changing a string length in RNA can too easily break scripts. Instead honor the string length in RNA_property_string_set()
2010-06-12bugfix [#22486] add_actuator crashes when name is bigger than 32 charsCampbell Barton
have pyrna raise an error on strings that are too long.
2010-06-12== python api docs ==Luca Bonavita
* source/gameengine/PyDoc/bge.types.rst: KX_PolygonMaterial was missing the parent class indication (PyObjectPlus) * source/blender/python/doc/sphinx_doc_gen.py: * unified all the "undocumented" descriptions, like http://www.blender.org/documentation/250PythonDoc/bpy.ops.anim.html#bpy.ops.anim.keyframe_delete_button so that it will be easy for Alex to CCS 'em and also now people will have a link to contribute descriptions, see http://wiki.blender.org/index.php/Dev:2.5/Py/API/Documentation/Contribute * moved the note about bpy_struct not being available in the api in a proper note directive, so that it's more evident (I didn't see it at first)
2010-06-09py/rna api:Campbell Barton
- bpy.context wasnt being created from the python bpy.types.Context type defined in bpy_types.py (bpy.context.copy() failed for eg.) - bpy.context.copy() was returning C defined methods like FloatProperty(), which are not useful in this case, removed.
2010-06-06- [#22492] [29159] commit breaks importing of script file that has a reload ↵Campbell Barton
to self in it broke when including the blend path in the modules filename. - new function BLI_path_basename(), matches pythons os.path.basename(). replace a number of cases where BLI_split_dirfile was being used to get the filename only.
2010-06-05get rid of some warnings,Campbell Barton
removed NG_LoopBackNetworkDeviceInterface::GetNetworkVersion(), wasnt used anywhere.
2010-06-04== python api docs ==Luca Bonavita
- small change to indicate the source file we use the proper :file: directive and we link to proper file in svn check for example http://www.blender.org/documentation/250PythonDoc/bpy.ops.cloth.html#bpy.ops.cloth.preset_add after you rebuild the docs
2010-06-03== python api docs ==Luca Bonavita
* source/blender/python/doc/sphinx_doc_gen.py changed syntax for declating attributes type to use :type: instead of *type* os it * source/gameengine/Ketsji/KX_PythonInit.cpp While documenting I've found that we have two naming conventions for constraints in BGE python api, example: KX_CONSTRAINTACT_DIRPZ and KX_ACT_CONSTRAINT_FHPX: the right convention is KX_CONSTRAINTACT_xxx After talking with dalai and cambpell we agreed that this kind of change is better suited for NExyon GSoC so I marked as TODO Also, found 2 duplicate rows, fixed after askin nexyon * source/gameengine/PyDoc/bge.logic.rst there were 2 blocks for constraints, I've put them together in docs and fixed some other lines * source/gameengine/PyDoc/bge.types.rst first cleanup: mainly started using ":type:", it was mixed usage of *type* and **type** started cleaning some bullet list in a way that varibles link to the constant in appropriate page I'll continue later
2010-06-02error in last commitCampbell Barton
2010-06-02rename some rna properties filename --> filepathCampbell Barton
* filename == "foo.ext" * filepath == "/path/to/and/including/foo.ext" this was alredy followed in some places not not everywhere.
2010-06-02include the blendfile name when executing python scripts, so when using ↵Campbell Barton
libraries you can tell where the script is stored which raises an error.
2010-05-30- Python console argument '--python-console', option so you can start ↵Campbell Barton
blender and drop into a python console, (useful for debugging some problems on a renderfarm over ssh) - Also made it so sys.stdin isnt overwritten anymore, instead the interactive consoel overwrites while it executes and restores after. - removed hope folder from sphinx patch path
2010-05-30optional fallback argument for vector angle function.Campbell Barton
vec1.angle(vec2, fallback) in my experiences most uses of this function required a try/except so better to allow a fallback value.
2010-05-30== Sphinx Doc Gen ==Alex Sytnik
Workaround to address attribute description issue. In resulting .rst file attribute's descriptions appeared not indented which sphinx considered as anoter blocks.
2010-05-30reverting previous commit from Mitchell. His commit went to the trunk ↵Dalai Felinto
instead of the branch :) svn merge -r 29067:29066 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-05-30Reversing the last merge because I botched it.Mitchell Stokes