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
2019-12-16Cleanup: pep8, unused vars, line lengthCampbell Barton
2019-10-29Cleanup: pep8, remove redundant parenthesisCampbell Barton
2019-09-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-05-09Cleanup: unused args/vars/imports in bl_operatorsCampbell Barton
2019-04-02Fix T61598: Python error from connect rigid body featurePhilipp Oeser
needed update to 2.8
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-11Fix T57776: Error when adding a Torus to the scene.Bastien Montagne
Not all Object.select_set() cases had been updated to new API... Tsst. ;)
2018-09-06UI / Python: rename X-Ray to In Front, Draw to Display.Brecht Van Lommel
See T56648.
2018-08-12PyAPI: update scripts for matrix multiply operatorCampbell Barton
Operators: - add torus - align objects - bake physics - make dupli faces - smart project Templates: - 3D view ray cast Other: - Methods for bones/edit-bones
2018-07-24Fix incorrect active object setting in scripts.Brecht Van Lommel
2018-07-11PyAPI: Use annotations for RNA definitionsCampbell Barton
- Logical use of fields since they define type information. - Avoids using ordered-dict metaclass. Properties using regular assignments will print a warning and load, however the order is undefined.
2018-06-26Merge branch 'master' into blender2.8Campbell Barton
2018-06-26Cleanup: pep8 function indentationCampbell Barton
2017-03-25Merge branch 'master' into blender2.8Campbell Barton
2017-03-25Cleanup: imports, indentation, long linesCampbell Barton
2017-03-20Merge branch 'master' into blender2.8Campbell Barton
2017-03-18PyAPI: remove bpy.utils.register_module()Campbell Barton
In preparation for it being removed, see: T47811
2017-02-07Render Layers and Collections (merge from render-layers)Dalai Felinto
Design Documents ---------------- * https://wiki.blender.org/index.php/Dev:2.8/Source/Layers * https://wiki.blender.org/index.php/Dev:2.8/Source/DataDesignRevised User Commit Log --------------- * New Layer and Collection system to replace render layers and viewport layers. * A layer is a set of collections of objects (and their drawing options) required for specific tasks. * A collection is a set of objects, equivalent of the old layers in Blender. A collection can be shared across multiple layers. * All Scenes have a master collection that all other collections are children of. * New collection "context" tab (in Properties Editor) * New temporary viewport "collections" panel to control per-collection visibility Missing User Features --------------------- * Collection "Filter" Option to add objects based on their names * Collection Manager operators The existing buttons are placeholders * Collection Manager drawing The editor main region is empty * Collection Override * Per-Collection engine settings This will come as a separate commit, as part of the clay-engine branch Dev Commit Log -------------- * New DNA file (DNA_layer_types.h) with the new structs We are replacing Base by a new extended Base while keeping it backward compatible with some legacy settings (i.e., lay, flag_legacy). Renamed all Base to BaseLegacy to make it clear the areas of code that still need to be converted Note: manual changes were required on - deg_builder_nodes.h, rna_object.c, KX_Light.cpp * Unittesting for main syncronization requirements - read, write, add/copy/remove objects, copy scene, collection link/unlinking, context) * New Editor: Collection Manager Based on patch by Julian Eisel This is extracted from the layer-manager branch. With the following changes: - Renamed references of layer manager to collections manager - I doesn't include the editors/space_collections/ draw and util files - The drawing code itself will be implemented separately by Julian * Base / Object: A little note about them. Original Blender code would try to keep them in sync through the code, juggling flags back and forth. This will now be handled by Depsgraph, keeping Object and Bases more separated throughout the non-rendering code. Scene.base is being cleared in doversion, and the old viewport drawing code was poorly converted to use the new bases while the new viewport code doesn't get merged and replace the old one. Python API Changes ------------------ ``` - scene.layers + # no longer exists - scene.objects + scene.scene_layers.active.objects - scene.objects.active + scene.render_layers.active.objects.active - bpy.context.scene.objects.link() + bpy.context.scene_collection.objects.link() - bpy_extras.object_utils.object_data_add(context, obdata, operator=None, use_active_layer=True, name=None) + bpy_extras.object_utils.object_data_add(context, obdata, operator=None, name=None) - bpy.context.object.select + bpy.context.object.select = True + bpy.context.object.select = False + bpy.context.object.select_get() + bpy.context.object.select_set(action='SELECT') + bpy.context.object.select_set(action='DESELECT') -AddObjectHelper.layers + # no longer exists ```
2015-12-11Use Python3.5's unpacking generalizationsCampbell Barton
2014-10-29Fix T42394: Copy Rigid Body Tools would not work as expected if dest ob had ↵Bastien Montagne
no rigidbody yet. Adding new object to RigidBodyWorld obgroup is not a good way to do that, since it only takes effect (create rigid_body for new objects) when you change current frame. Better to use rigidbody.object_add() operator here!
2014-04-25Fix T39886: Transformed parents of Rigid Bodies cause problems with Bake To ↵Sergej Reich
Keyframes Need to convert transforms to parent space for objects with parents.
2014-01-18Code Cleanup: py script float comparisonsCampbell Barton
2014-01-17Rigidbody: Add missing properties to "Copy Rigid Body Settings" operatorSergej Reich
2014-01-17Fix T36190: Rigid Body bake to keyframes bakes wrong the rotations.Sergej Reich
Make sure that quaternions are compatible.
2014-01-17Oops! Should have double checked before pushing that last commit.Joshua Leung
2014-01-17Fix T38157: Rigid body, crazy f-curves after bake to keyframesJoshua Leung
A logic error meant that the wrong "previous rotation" values were being used when decomposing the rigidbody results back to transform channels. Instead of using the previous values for the object in question, it was actually using the rotation value of the previous object that was evaluated.
2013-04-23rna attribute consistency edits, use common prefix for booleans.Campbell Barton
2013-04-20code cleanup: simplify python rigidbody operators.Campbell Barton
2013-03-28code cleanup: python/pep8 and double-promotion warnings.Campbell Barton
2013-02-24Some UI messages fixes...Bastien Montagne
2013-02-24rigidbody: Don't abort connect operator if last selected object is activeSergej Reich
Was silly logic error.
2013-02-21rigidbody: Add option to create chanis for the connect operatorSergej Reich
Connects objects based on distance. Based on a patch by Brandon Hechinger (jaggz), thanks!
2013-02-21rigidbody: code cleanupSergej Reich
Use bpy.data.objects.new() instead of the object.add() operator.
2013-02-21code cleanup: no need to use list(range()), just use range()Campbell Barton
2013-02-17ribidbody: Fix setting "Bake to Keyframes" start frame above 2Sergej Reich
Simulation needs to run from the beginning to work properly.
2013-02-10pep8 cleanupCampbell Barton
2013-02-06rigidbody: Use ARROWS empty draw type when creating constraintsSergej Reich
Since we don't have constraint visualization yet, it's useful to see where the individual axes point.
2013-01-28fix for rigid body assuming active object would be selected, also don't ↵Campbell Barton
check length of selected objects in poll function (getting and throwing away object selection array on every redraw is no good).
2013-01-28use more conventional names in rigid body script.Campbell Barton
2013-01-28rigidbody: Don't show dialog for "Connect" operatorSergej Reich
Use redo last panel to change settings now. This is more in line with how the rest of blender operates. Also fix tootip
2013-01-28Made the tooltip for rigid body constraint "Connect" operator clearerJoshua Leung
Previously it wasn't clear what it was supposed to be doing, or what was required for it to work. TODO: figure out why the operator redo settings panel won't work. The workflow here is still a bit clunky.
2013-01-27Bunch of fixes for UI messages.Bastien Montagne
Also generate rigid body constraint types in py bullet code from RNA enum values (simpler than having to sync the code when something is changed here!). Side note: RNA API about icons still needs to expose icons for enum values, and conversion funcs between icon_name and icon_value!
2013-01-25rigidbody: Improve add/remove operatorsSergej Reich
Now all add/remove operators for rigid body objects and constraints automatically add objects to the appropriate groups and create groups if they don't exist yet. This makes handling rigid bodies easier but doesn't take away functionality. If users want to handle groups manually they just need to create them before adding any objects. The previous behaviour was confusing and was even considered to be a bug since clicking on rigid body in the physics tab seemed to do nothing.
2013-01-23code cleanup: dont use 'bpy.context' when 'context' is availableCampbell Barton
2013-01-23rigidbody: Add generic spring constraintSergej Reich
Behaves like the generic constraint but has optional spring on each axis. TODO: Add option to set rest length. Patch by Markus Kasten (markus111), thanks!
2013-01-23rigidbody: Add rigid body constraintsSergej Reich
Constraints connect two rigid bodies. Depending on which constraint is used different degrees of freedom are limited, e.g. a hinge constraint only allows the objects to rotate around a common axis. Constraints are implemented as individual objects and bahave similar to rigid bodies in terms of adding/removing/validating. The position and orientation of the constraint object is the pivot point of the constraint. Constraints have their own group in the rigid body world. To make connecting rigid bodies easier, there is a "Connect" operator that creates an empty objects with a rigid body constraint connecting the selected objects to active. Currently the following constraints are implemented: * Fixed * Point * Hinge * Slider * Piston * Generic Note: constraint limits aren't animatable yet).
2013-01-23rigidbody: Add "Copy Rigid Body Settings" and "Bake To Keyframes" operatorsSergej Reich
Based on a script by liero, thanks!