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
2008-12-13RNA: start of wrapping for ConstraintsJoshua Leung
Still need to find out how to get the variable struct-type for constraint->data to work correctly. Any ideas brecht?
2008-12-12started whiping cmake into shape for 2.5 still need to figure outKent Mein
the rna stuff but its close. Need to get it working for blender then copy over same to game engine. Kent
2008-12-11RNA - Finished wrapping Armatures + BonesJoshua Leung
Notes: - I'm not sure whether we want to move out the PoseMode hide flags from here, but PoseChannels directly get most of their flags from here. - Some of the settings for Bones have not been exposed, as they are mostly internal flags or used only by transform - I'm not sure whether we should be exposing EditMode settings like head/tail/roll directly here...
2008-12-10RNA - Wrapped a few more Armature/Bone settingsJoshua Leung
* I've only got a few more Armature settings to go (path stuff) * Bones have still only got name + layers so far
2008-12-10UI: don't use operators anymore for handling user interface events, but ratherBrecht Van Lommel
a special UI handler which makes the code clearer. This UI handler is attached to the region along with other handlers, and also gets a callback when all handlers for the region are removed to ensure things are properly cleaned up. This should fix XXX's in the UI code related to events and context switching. Most of the changes are in interface_handlers.c, which was renamed from interface_ops.c, to convert operators to the UI handler. UI code notes: * uiBeginBlock/uiEndBlock/uiFreeBlocks now takes a context argument, this is required to properly cancel things like timers or tooltips when the region gets removed. * UI_add_region_handlers will add the region level UI handlers, to be used when adding keymap handlers etc. This replaces the UI keymap. * When the UI code starts a modal interaction (number sliding, text editing, opening a menu, ..), it will add an UI handler at the window level which will block events. Windowmanager changes: * Added an UI handler next to the existing keymap and operator modal handlers. It has an event handling and remove callback, and like operator modal handlers will remember the area and region if it is registered at the window level. * Removed the MESSAGE event. * Operator cancel and UI handler remove callbacks now get the window/area/region restored in the context, like the operator modal and UI handler event callbacks. * Regions now receive MOUSEMOVE events for the mouse going outside of the region. This was already happening for areas, but UI buttons are at the region level so we need it there. Issues: * Tooltips and menus stay open when switching to another window, and button highlight doesn't work without moving the mouse first when Blender starts up. I tried using some events like Q_FIRSTTIME, WINTHAW, but those don't seem to arrive.. * Timeline header buttons seem to be moving one pixel or so sometimes when interacting with them. * Seems not due to this commit, but UI and keymap handlers are leaking. It seems that handlers are being added to regions in all screens, also in regions of areas that are not visible, but these handlers are not removed. Probably there should only be handlers in visible regions?
2008-12-09RNA: Start of RNA wrapping for ArmaturesJoshua Leung
Wrapped most of Armature settings, but bones are not yet complete.
2008-12-04RNA:Brecht Van Lommel
* DNA_key_types.h: wrapped KeyBlock.data, and added back position and current value, now done.
2008-12-04RNABrecht Van Lommel
* Remove some unnecessary defining of struct types for pointers. * Review of DNA_key_types.h and added Key for Mesh and Curve.
2008-12-042.5 - compile fixes for Elubie's commitJoshua Leung
2008-12-04RNAAndrea Weikert
* rna for DNA_key_types.h, also linked to key member of Lattice, others need to be checked.
2008-12-04Forgot this file in my last commit.Brecht Van Lommel
2008-12-03RNABrecht Van Lommel
* Added a function to define booleans negative, to turn negative properties into positive ones gettin rid of the no_ prefix, and also got rid of the use_ prefix for two booleans. * Also made the function for enum bitflags separate, this is quite rare so don't need to bother with this in most cases. * Removed svn:executable flags from some files.
2008-12-03RNA: review of commits in the past days, check the diffs for theBrecht Van Lommel
many small changes, but the two bigger ones are: * Sensors and controllers now use inheritance, rather than pointing to the data in a separate struct. Had to add some new RNA define functionality to support this better. * DNA_meta_types.h was marked as done but still missing many things, now completed.
2008-12-02Added RNA functions from PyRNACampbell Barton
* RNA_property_enum_value * RNA_property_enum_identifier To get an enum string from a value and a value from an enum. BPy_StructRNA types (objects, meshes, images etc) can now be used as dictionary keys.
2008-12-02RNA - Wrapped a few more simple Object transforms.Joshua Leung
Note: Rotations are still exposed directly in radians. We should probably do some wrapping around this, perhaps at UI-level?
2008-12-02* rna_property completedHamed Zaghaghi
CAUTION: some defines like PROP_INT in DNA_property_types.h are the same as enums in RNA_types.h, and may be encounter hidden errors in future.
2008-12-02RNAAndrea Weikert
* DNA_packedFile_types: added rna definitions for packed files * also experimentally filled in correct struct 'PackedFile' in image rna for testing. * updated MSVC projectfiles (also for rna_curve.c and rna_vfont.c) Note: I removed PackedFile->flags, I did grep through source and a complete recompile of blender trunk svn without them too, so they obviously aren't needed anymore. A bit of cleaning up :)
2008-12-02RNA: Added missing *srna's to curve functions.Juho Vepsalainen
2008-12-02* add debug symbols when building BF_DEBUG=TrueNathan Letwory
2008-12-01RNA: Curves and VFontJuho Vepsalainen
Implemented RNA wrappers for curves and VFont. Only issue I could not yet solve is related to struct CharInfo curinfo; . This particular line proved to be hard to wrap and I therefore marked it as a TODO should someone want to fix this issue. I also cleaned up makesrna.c a bit by unifying brush/meta parts under one call just the way it is done in the case of other wrappers.
2008-12-01PyRNA structs and properties can now be subtyped to add functionality in python.Campbell Barton
rna_actuator.c was missing an enum
2008-12-01* ray_mirror naming for property groupingNathan Letwory
2008-12-01RNA:Juho Vepsalainen
Implemented RNA wrapper for ModifierData. Note that actual interface to access data of any specific modifier is still missing. I also marked a couple of parts as TODO that should be reviewed to decide whether or not to expose those specific parts via RNA.
2008-12-01RNA: brush wrappingJuho Vepsalainen
Wrapped most of brush. Brush is still missing a link to texture and to BrushClone. Also PAINT_TOOL_DRAW etc. flags found on DNA_brush_types.h need to be associated to a brush somehow. Currently they are linked to a brush via ImagePaintSettings. Also changed identifiers in metaball wrapping to conform with the standards.
2008-12-01RNAWillian Padovani Germano
* Tiny updates/fixes to Ipo wrapping.
2008-12-01RNAWillian Padovani Germano
- Minor updates to Camera and start of Ipo (+ IpoDriver and IpoCurve) wrappings.
2008-12-01* added rna_world with porperties of two first panel in the current UIHamed Zaghaghi
2008-11-30RNA: Support for Metaballs and Metaelements. I did not figure out a way to ↵Juho Vepsalainen
test latter but hopefully it works as well.
2008-11-30* changed NULL properties into UnknownPropertyHamed Zaghaghi
* added rna_property.c and rna_actuator * enabled access to properties and actuators from object Note that because we have RNA_Property in the RNA itself, you can find properties in gamelogic of and object under the name of RNA_GameProperty
2008-11-30RNA:Brecht Van Lommel
* DNA_image_types.h done, except for some properties not being editable.
2008-11-30RNAAndrea Weikert
* DNA_lattice_types: added rna definitions for lattice u,v,w and some flags * updated MSVC projectfiles
2008-11-30RNABrecht Van Lommel
* DNA_radio_types.h: done. (patch by Jorge Bernal). Also adds some #defines in the radiosity DNA since it was using hardcoded values. * Added an "UnknownType" which has no properties, useful as a placeholder for pointers that have no defined type yet. * Sort a few lists in the code alphabetically.
2008-11-30* controller structs, bController, bExpressionCont and bPythoncont ↵Hamed Zaghaghi
RNFied\n*controllers are available in objects\n* some typos in rna_sensor
2008-11-30PyRNA epydoc style docstrings.Campbell Barton
examples... RNA Lamp: Lamp ============== @ivar rna_type: RNA type definition. *readonly* @type rna_type: PyRNA PointerProperty @ivar name: Unique datablock ID name. (22 maximum length) @type name: string @ivar adapt_thresh: Threshold for Adaptive Sampling. in (0.000, 1.000) @type adapt_thresh: float @ivar area_shape: Shape of the Area lamp @type area_shape: enum in [SQUARE, RECTANGLE] @ivar area_size: Size of the area of the Area Lamp. in (0.000, 100.000) @type area_size: float @ivar area_sizey: Size of the area of the Area Lamp. in (0.000, 100.000) @type area_sizey: float - snip RNA Object: Object ================== @ivar rna_type: RNA type definition. *readonly* @type rna_type: PyRNA PointerProperty @ivar name: Unique datablock ID name. (22 maximum length) @type name: string @ivar data: Object data. *readonly* @type data: PyRNA PointerProperty @ivar fake_user: Saves this datablock even if it has no users @type fake_user: bool @ivar library: Library file the datablock is linked from. *readonly* @type library: PyRNA PointerProperty @ivar loc: in (-inf, inf) @type loc: float[3]
2008-11-30scons build dir was assumed to be relative, this isn't always the case. ↵Joseph Eagar
also, defined BF_PROFILE_FLAGS for win32-ming.
2008-11-30completed, remaining sensors added, random, radar, message, joystick and others Hamed Zaghaghi
2008-11-303 another sensors added: delay, actuator, porpertyHamed Zaghaghi
2008-11-30Added Group type to RNACampbell Barton
2008-11-30mistake in comparing pointers. (causing memfree prints)Campbell Barton
2008-11-30RNA: some fixes for lamp UI text. (Michael Fox)Brecht Van Lommel
2008-11-30RNABrecht Van Lommel
* Added more DNA_color_types.h, starting from patch by Sebastian Skejø. What's missing is write access to some things like point location, hard to retrieve the CurveMapping for proper update still.. * Added all datablocks as ID pointer in Main already, now only have to change the type from ID to the specific type. Also added filename to Main, which is basically the only non-internal property. * Fixed setting shadow buffers size in lamps, also ensured it to be a multiple of 16.
2008-11-30* no write access to bScreen and ScrArea and suchNathan Letwory
- maybe this will be phased out anyway, but might be handy for querying though.
2008-11-30added all sensor types without their properties and full RNAfy bNearSensor, ↵Hamed Zaghaghi
bMouseSesnsor, bTouchSensor, bAlwaysSensor
2008-11-29RNAWillian Padovani Germano
Adding support for Cameras. Work in progress, I'm still learning about RNA.
2008-11-29RNABrecht Van Lommel
* Fix sensor data pointer code, also made sensor type non editable, would need to do more work than just setting the type. * Fix a fairly obscure bug related to inheritance and sorting. * Complete DNA_ID.h wrapping, just a few extra properties and the Library struct, most of this is internal.
2008-11-29more rna_sensor codesHamed Zaghaghi
2008-11-29* Fix Makefiles to compile python.Brecht Van Lommel
* Tweak SConscript priorities to link ed_util. * Added RNA_struct_is_ID function for python.
2008-11-29* scrarea vertsNathan Letwory
2008-11-29RNABrecht Van Lommel
* Added more lamp properties. (patch by Michael Fox) * Fix a number of warnings in the RNA code. * Converted DOS line endings to UNIX. * Added some information on defining ID structs, and fixed use of "ID" inheritance for some non-ID structs. * Added text on naming conventions to the RNA documentation, and applied it to the current code. http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA#Naming_Conventions
2008-11-29* more work on screenNathan Letwory