Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 4821 / 5574

November 30, 2008, 14:40 (GMT)
* controller structs, bController, bExpressionCont and bPythoncont RNFiedn*controllers are available in objectsn* some typos in rna_sensor
November 30, 2008, 14:00 (GMT)
PyRNA epydoc style docstrings.

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]




Revision 141f5f7 by Joseph Eagar
November 30, 2008, 13:25 (GMT)
scons build dir was assumed to be relative, this isn't always the case. also, defined BF_PROFILE_FLAGS for win32-ming.
November 30, 2008, 12:00 (GMT)
completed, remaining sensors added, random, radar, message, joystick and others
November 30, 2008, 11:55 (GMT)
== MSVC projectfiles ==
== MSVC projectfiles ==
- update for python RNA API
- update for editors: ed_util.c
- fixed RNA_rna library project, doesn't need the c files included in rna.c



November 30, 2008, 09:00 (GMT)
3 another sensors added: delay, actuator, porperty
Revision 43b26b7 by Joshua Leung
November 30, 2008, 06:15 (GMT)
View2D - Initial commit of Pan-View Operator

* Moved View2D data from space-data to ARegion (aka regions). This has been done because drawing occurs in regions not areas anymore. The View2D struct is currently stored in the ARegion struct (not as pointer), given that most of the regions in use will be 2D anyway (only the 3d-view's "window" region is the exception).
Added version patch code for outliner and timeline only for now. Headers are also likely to need this.

* Added separate keymap for View2D operators. All regions that use View2D will need this added. This includes headers too.

* Pan view operator (ED_View2D_OT_view_pan), currently works for Outliner and Timeline. Use MMB-drag as before.
- It currently doesn't exposed any parameters for redo (via RNA-ID-Props), but only uses some customdata. Suggestions on what these parameters could be are welcomed.
- I've yet to implement the necessary axis-locking features for this panning (which is required in Timeline for example to prevent vertical panning, which moves the markers out of view).

November 30, 2008, 05:07 (GMT)
Added Group type to RNA
November 30, 2008, 03:52 (GMT)
PyRNA
Can now assign RNA arrays from python lists of bools/ints/floats
eg -> rna.scenes["Scene"].layer = [True] * 20

Also added exceptions when trying to set readonly properties.

November 30, 2008, 02:30 (GMT)
mistake in comparing pointers. (causing memfree prints)
November 30, 2008, 01:31 (GMT)

RNA: some fixes for lamp UI text. (Michael Fox)

November 30, 2008, 00:57 (GMT)

RNA
* 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.

November 29, 2008, 23:27 (GMT)
* no write access to bScreen and ScrArea and such
- maybe this will be phased out anyway, but might be handy for querying though.
November 29, 2008, 22:16 (GMT)
added all sensor types without their properties and full RNAfy bNearSensor, bMouseSesnsor, bTouchSensor, bAlwaysSensor
November 29, 2008, 20:37 (GMT)
Step 3/3, merging subdivision/bone creation methods using iterators

This also adds a special Embedding option called "Peel Objects". This option makes the embedding snap consider objects as whole, taking the first and last hit of each of them to calculate the embedding point (instead of peeling with first/second, third/fourth and so on). This option is useful if you have mecanical pieces with lots of details (as single objects) and want to put bones in the middle (think of adding bones to a mecha, for example).
November 29, 2008, 19:53 (GMT)
RNA

Adding support for Cameras. Work in progress, I'm still learning about RNA.

November 29, 2008, 19:08 (GMT)

RNA
* 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.

November 29, 2008, 17:58 (GMT)
PyRNA - can write variables now (float, int, bool, enums, strings - but not pointers, RNA limitation too).
also fixed reading enums.
Revision 6fbeed1 by Robin Allen
November 29, 2008, 16:52 (GMT)
Changed vector math to use library functions.
November 29, 2008, 16:07 (GMT)
more rna_sensor codes
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021