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
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-12Fix T42883: ID-Prop arrays longer than 'shot' failCampbell Barton
2014-11-10Fix/workaround T37073: Crash updating custom props visible in the UICampbell Barton
2014-11-03Cleanup: remove rarely used IDProp iteratorCampbell Barton
2014-08-11Fix compilation error with debug sconsSergey Sharybin
The issue is that we've got hell with DEBUG and _DEBUG, theu're defined really inconsistent acros CMake and SCons. Used more reliable NDEBUG definition for IDP_spit.
2014-08-04Tweaks to macrosCampbell Barton
2014-08-01Prevent macros hiding casts from `const` pointersCampbell Barton
2013-12-12Fix T37595: Switching modal transform broke with trackball rotation.Campbell Barton
Id properties may have different sized "values" array depending on the transform operator
2013-12-12Code Cleanup: use const's and bools for idpropsCampbell Barton
2013-10-16add IDP_FreeFromGroup(), replaces IDP_RemFromGroup(), IDP_FreeProperty(), ↵Campbell Barton
MEM_freeN().
2013-09-01Move GCC attributes into a centraized definesSergey Sharybin
Instead of having ifdef __GNUC__ all over the headers to use special compiler's hints use a special file where all things like this are concentrated. Makes code easier to follow and allows to manage special attributes in more efficient way. Thanks Campbell for review!
2013-07-02remove nan copyrights from code added since blender become opensource (copy ↵Campbell Barton
paste errors), also remove BKE_script.h
2013-03-24code cleanup: move doxy docs from headers into source. also replace ↵Campbell Barton
strncpy();str[len]=0 with BLI_strncpy() in BLI_stringdec().
2013-01-03add id property clear function (matching the same python function for ↵Campbell Barton
dicts/lists)
2012-11-03code cleanup: float <> double conversion.Campbell Barton
2012-11-01fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menuCampbell Barton
comparing keymaps was too sloppy or too strict, now sloppy keymap comparison works by setting all the operator properties to their default values if they are not already set, then compare this with the keymap item (ignoring values missing from either one). ... this way any non default keymap setting wont match with an operator menu item which doesnt set this operator at all (a problem sighted in this bug report). developer notes: - IDP_EqualsProperties_ex() function adds an argument to treat missing members of either group to act as if there is a match. - WM_operator_properties_default() function to reset RNA values to their defaults. - add IDP_spit(), debug only function to print out ID properties.
2012-10-31add IDP_MergeGroup(dst, src, overwrite) function,Campbell Barton
like PyDict_Merge()
2012-07-08correct another case of nonnull (all should be correct now), and comment ↵Campbell Barton
about color conversion.
2012-07-08correct use of nonull attributeCampbell Barton
2012-07-08use gcc attrubutes to warn on unused return values and arguments which ↵Campbell Barton
shouldnt be NULL. also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-11-15pass a pointer to IDP_New's IDPropertyTemplate rather then a copy.Campbell Barton
2011-11-15support for non-null terminated byte strings in id properties (as a subtype ↵Campbell Barton
of IDP_STRING types)
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-04-08doxygen comments, removal of superfluous backslash.Nathan Letwory
2011-02-18doxygen: blenkernel under core as module.Nathan Letwory
2011-02-07Type checks for internal ID-Property UI min/max/tip & use defines to get ↵Campbell Barton
values from ID-Props. Probably wouldn't cause a problem but manually editing these types through python could easily crash blender. also changed cmake, stub-makefile default build dir to be lower case and leave out architecture string, easier for documentation. Use ../build/linux/ rather then ../build/Linux_i686/
2010-11-19use 'const char *' for imbuf and file ops.Campbell Barton
2010-10-21Enable /WX in blenkernelNathan Letwory
Silence warnings
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-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-02-15Proxy ID property syncingCampbell Barton
This means pose bones on proxy poses can have their own values as long as the name and type matches that of the library pose bone. without this the only way to add new values on a pose bone proxy is to protect in the lib, reload the proxy blend and save.
2010-02-12correct fsf addressCampbell Barton
2010-01-05IDGroup utility function to copy a group inside another oneMartin Poirier
2009-11-18ID properties that are displayed via RNA can now define their own UI settings,Campbell Barton
only implimented min/max precision & step. at the moment there is no way to edit these other then via python example of setting UI limits... >>> C.object['foo'] = 0.5 >>> C.object['_RNA_UI'] = {'foo': {'step': 0.5, 'soft_max': 10.0, 'soft_min': 0.0, 'precision': 2, 'description': 'Some setting'}} Also fixed typo's: precission -> precision
2009-01-292.5:Brecht Van Lommel
* Automatic shortcut keys in menus now compare operator properties as well. Implemented IDP_EqualsProperties for this. * I imagine all these compares may be a bit slow, for this case it's not so bad though because it only happens for one menu when it is opened.
2008-12-31RNABrecht Van Lommel
* Store RNA collections different in ID properties, using a generic ID property array, using the patch provided by Joe. * Fix bug accessing registered operator properties in the wm from the outliner. * In the outliner, only use the RNA icon for RNA data, and use dot again for unknown icon. * Also, show pointer properties data in the second column, and auto expand two levels when opening them. * Added small RNA_struct_defined_properties function to get only the defined properties without builtin and undefined id properties (for py operators).
2008-11-17RNABrecht Van Lommel
* Added support for ID properties, mapped as follows: * IDP Int = RNA Int * IDP Float, Double = RNA Float * IDP_String = RNA String * IDP Group = RNA IDPropertyGroup Struct * IDP_Array = RNA Array * PropertyRNA and StructRNA are now defined private for the module, to force external code to always use accessor functions.
2008-07-24added support for doubles to the id property code, and made the python code ↵Joseph Eagar
use them by default
2008-05-12== FFMPEG ==Peter Schlaile
Add ffmpeg expert option (meaning _all_ ffmpeg option) to render dialog using properties. Also adds: H264 preset, that doesn't screw up output.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2007-07-10=ID Property update=Joseph Eagar
ID Properties weren't being duplicated (by shift-D or any of the other duplication functions). So now ID properties are duplicated in the main copy_libblock function, which (as far as I can check) covers all ID-contained ID properties. I also updated the constraint system to copy pyconstraint ID properties on shift-D. This would probably be a good thing to add to the stable branch, btw.
2007-05-22=ID Properties=Joseph Eagar
The code for preserving ID properties was apparently not working. Fixed that by adding a new function, IDP_ReplaceInGroup, that automatically handles overriding a property in a group while preserving the property order. Its odd though that the previous fix I had wasn't working :/
2006-12-17=IDProperties Python update= Joseph Eagar
Updated id properties interface as per discussed in python meeting. Basically, id properties are now entirely accessed through the dict-like interface if IDGroupType. Also, tp_getsetters are used throughout the code now. Using the dict interface allowed for a major cleanup of the wrapping code. The biggest change is that ID properties are no longer wrapped in a structure with .type .name and .data members; instead when you get properties from the group it returns the direct value. Ints, strings and floats return simple python types, while arrays and groups return special wrappers though. This means to detect the type of an ID property, you have to use type(). For string and int types this is easy; for group and array types (which of course have their own wrappers) you use type() with Blender.IDGroupType or Blender.IDArrayType. Update of epydocs plus a temporary gui script will be forthcoming; the gui script will be removed before release as of course by then we'll have a built-in gui for id properties.
2006-12-06=IDProperties C-API tiny update= Joseph Eagar
IDP_GroupIterNext returned void* rather then IDProperty*. Made it IDProperty*. BTW, any people out there interested in using IDProperties from the C side, feel free to email me comments and (especially!) file bugreports assigned to me in the tracker. :)