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
2021-01-06Fix T83372: Point.select can be True when unselectedCampbell Barton
2020-06-29RNA: properly tag 'embedded' ID pointers as owned.Bastien Montagne
This is important at several level, mainly for overrides currently. Note that this also includes shape keys, since from RNA point of view those are also 'embedded' (they are not editable, not linkable, ...).
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-08-23RNA: Cleanup PointerRNA structJacques Lucke
The old layout of `PointerRNA` was confusing for historic reasons: ``` typedef struct PointerRNA { struct { void *data; } id; struct StructRNA *type; void *data; } PointerRNA; ``` This patch updates it to: ``` typedef struct PointerRNA { struct ID *owner_id; struct StructRNA *type; void *data; } PointerRNA; ``` Throughout the code base `id.data` was replaced with `owner_id`. Furthermore, many explicit pointer type casts were added which were implicit before. Some type casts to `ID *` were removed. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5558
2019-06-03Cleanup: style, use braces in RNACampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-09-24Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-24Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3719
2018-07-05Merge branch 'master' into blender2.8Campbell Barton
2018-07-05RNA: correct callback typeCampbell Barton
Missed when changing callbacks from int to bool type.
2018-06-09Merge branch 'master' into blender2.8Campbell Barton
2018-06-09Cleanup: trailing space in RNACampbell Barton
2017-06-08Replace all old DAG calls with direct calls to new DEG and remove ↵Luca Rood
BKE_depsgraph.h This removes BKE_depsgraph.h and depsgraph.c
2016-09-22RNA/UI: Allow displaying in tooltip why RNA property isn't editableJulian Eisel
This commit allows RNA properties to return additional info on their editable state which may then be displayed in tooltips. To show how it works, it also adds some info for the editable check of proxies. For generally un-editable properties or properties of a linked data-block, RNA returns default strings. | {F362785} | {F362786} | {F362787} | Reviewed by brecht, thanks! Differential Revision: https://developer.blender.org/D2243
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-10-23Cleanup: rename 'datablocks' -> 'data-blocks'Campbell Barton
Similar to addons -> add-ons, for reading it fits better to hyphenate.
2015-10-06Cleanup: return PROP_EDITABLE rna flagCampbell Barton
Harmless, since the flag happens to be 1.
2014-02-12Fix T38610: lattice U/V/W should not be animatable, is not supported.Brecht Van Lommel
2014-01-02Fix T38025: Key-framing lattice points failsJoshua Leung
Clarified the tooltip/description on the LatticePoint.co property to make it clear that it shouldn't be edited, and that LatticePoint.co_deform should be used instead.
2013-12-17'Transform' Python Function for armature, curve and lattice.Campbell Barton
patch by Paolo Acampora with some edits.
2013-07-04fix [#35984] no way to know if a datablock is in editmodeCampbell Barton
the report explains the issue in detail, but basically you couldn't know if a mesh was in editmode without checking all the objects that use it. add `is_editmode` readonly property for all datatypes which support editmode. also make rna fail to build on implicit function declarations.
2013-06-24fix for editing lattice interpolation and options in editmode had no effect ↵Campbell Barton
(exiting editmode would loose changes too).
2013-06-24lattice: use functions rather then defines, also added a function to get uvw ↵Campbell Barton
from an index. - BKE_lattice_index_from_uvw() - BKE_lattice_index_to_uvw()
2013-03-07use bool for rna funcs.Campbell Barton
2012-10-09RNA minor fixes:Bastien Montagne
*Bezier points' softbody weight was called just "weight", when it is "weight_softbody" for NURBS ones, made it the same! *Added "weight_softbody" to Lattice points as well.
2012-07-19add lattice selection to rnaCampbell Barton
2012-05-22expose absolute shape keyblock interpolation in the uiCampbell Barton
2012-05-12style cleanup: mostly whitespace in rnaCampbell Barton
2012-05-05code cleanup: naming - pose/armature/image Campbell Barton
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-03-18Code style edits (mostly spliting long lines, and removing trailing spaces).Bastien Montagne
Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines): * The node types definitions into rna_nodetree_types.h * The vgroup name functions into rna_particle.c
2012-03-06Code cleanup in rna files (huge, higly automated with py script).Bastien Montagne
Addresses: * C++ comments. * Spaces after if/for/while/switch statements. * Spaces around assignment operators.
2011-11-26A bunch of fixes and tweaks in RNA messages, found while translating them in ↵Bastien Montagne
french...
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-10-01add a collection function slot for assignment (not used yet).Campbell Barton
2011-05-31tag unused rna args.Campbell Barton
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
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-03DAG_id_tag_update was being called with non object ID's and OB_RECALC_* ↵Campbell Barton
flags which only apply to objects. harmless but misleading.
2010-12-13fix for error in recent commit.Campbell Barton
2010-12-13Lattices now have AnimDataJoshua Leung
This allows manual (point by point) animation of their control verts, although many other settings cannot really be animated with any visible effects yet. Interestingly, lattices also had IPO block pointers, though they were never really used (AFAIK). Todo: - Animation Editor support has yet to be added. I've got a few other things to add to, so will group those changes together.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-08-18rna renaming, still only adjusting properties that wont be animated (at ↵Campbell Barton
least its very unlikely).
2010-08-10- Enable shape key switching in edit mode for curves, surfaces and latticiesSergey Sharybin
- Disable changing of lattice size if there are shape keys