Commit Graph

15240 Commits

Author SHA1 Message Date
Nicholas Bishop
1439a5dc32 Renamed RNA EnvironmentalMap to EnvironmentMap 2009-01-03 07:20:11 +00:00
Matt Ebb
f873a0a132 * Added icons for RNA modifier data to datablocks outliner view 2009-01-03 06:34:40 +00:00
Joshua Leung
4b320c26a3 2.5 - Action Editor: IPO Curve Protect works now
* Added the relevant filtering necessary for this to work, into the animation-channel filtering code. 
* Updated most of the keyframe-editing tools to respect this
* Renamed keyframe-editing API loopers (added ANIM_ prefix) for consistency
* Added function for mapping keyframes to/from NLA-mapping for Ipo-Curves in addition to the one for IPO blocks. As a result, renamed the latter for consistency.
2009-01-03 06:01:11 +00:00
Matt Ebb
61f7ba6fa2 * Added some notifications to object/lamp/material RNA properties
For now, I've made a distinction between (eg.) ND_LIGHTING and ND_LIGHTING_DRAW,
with the 'draw' variety being properties that get displayed in the 3D View

* Also did some cleaning in lamp RNA, moved sun/sky settings to its own struct
2009-01-03 05:41:58 +00:00
Nicholas Bishop
9f7b9f3355 Added RNA for EnvMaps. Also some more properties for Textures. 2009-01-03 05:18:11 +00:00
Nicholas Bishop
2163a16496 Exiting editmode crashed on this old multires line. 2009-01-03 02:22:51 +00:00
Nicholas Bishop
acc2c24e79 Changed a couple pointer properties to the texture type. 2009-01-03 02:11:27 +00:00
Nicholas Bishop
fcad4f4112 Added a bunch of RNA properties for textures. 2009-01-03 01:55:37 +00:00
Nicholas Bishop
de32cba536 After more careful reading of RNA docs, added underscores to enum identifiers. 2009-01-03 01:37:57 +00:00
Nathan Letwory
bdf6a002aa 2.5 / Nodes
* add Context accessor for selected nodes
* node translation uses transform code
* put transform defines in an enum (mode and numinput flags)
2009-01-02 23:58:03 +00:00
Nicholas Bishop
25aaa7b92e Made the basic RNA changes for Tex(ture), no properties wrapped yet. 2009-01-02 23:05:28 +00:00
Nicholas Bishop
012b33d30d Added RNA for Shrinkwrap, Mask, and SimpleDeform modifiers. That's all the modifiers for now. 2009-01-02 19:22:43 +00:00
Ton Roosendaal
a6721c60d9 2.5
From the anti-globalization department: 
G.obedit terminated!

Wherever possible, use CTX_data_edit_object(C) to get this
now. It's stored in scene now, and the screen context has
it defined.
2009-01-02 19:10:35 +00:00
Brecht Van Lommel
16ca4b572e RNA
* DNA_object_types.h done.
* Scriptlink skeleton added.
* Fix cmake compile.
2009-01-02 16:58:09 +00:00
Brecht Van Lommel
6b73bc9b06 RNA
* Finished last Lattice properties, is done now.
* Some tweaks to Mesh structs naming.
2009-01-02 14:48:03 +00:00
Ton Roosendaal
70fe666456 2.5
- Lasso select back (CTRL+LMB), object centers only, 
  and for editmesh. See template in wm_operators.c

- Circle select for editmode back. Currently it still
  uses Ckey, and is only a temporary mode, not persistant.
  Persistant circle select can be added later with 
  tweak gesture keymap? We'll see. :) The old circle
  select was actually annoying that it was so sticky.
2009-01-02 14:11:18 +00:00
Brecht Van Lommel
a371f5513a RNA
* Added skeleton code for particle/object_force/userdef.
* More Object properties wrapped.
* Added User Preferences display in outliner.
2009-01-02 13:47:33 +00:00
Joshua Leung
326b3122cf 2.5 - Action Editor: Toggle settings
* Added back enable (Ctrl-Shift-W), disable (Alt-W), and toggle (Shift-W) operators to channels view. They are separate operators which use the same backend code.

* Fixed icon-drawing for IPO-curve 'protect' buttons. After doing this, I've realised that many tools will need some alterations to take this into account. That commit will come later.
2009-01-02 11:06:27 +00:00
Ton Roosendaal
ad4e1df46b 2.5
Bugfix in OSX ghost!
The GHOST_TWindowState was set to 'invisble' always... which is a
state now handled correctly in Blender. It caused the window to not 
refresh when resizing.
2009-01-02 10:58:30 +00:00
Nicholas Bishop
a167816d8b Added RNA for the ParticleInstance, Explode, and Bevel modifiers. 2009-01-02 10:19:58 +00:00
Michael Fox
7eefa2a7b9 2.5
*******
small commit, after some help from ton i have fixed the clear transformation modifiers, they now redraw correctly, they was missing a depsgraph tag, also did a little tidying up
2009-01-02 09:57:05 +00:00
Campbell Barton
52214a5e88 * renamed some of the RNA sound identifiers
* was missing a MEM_freeN in previous commit
2009-01-02 09:35:33 +00:00
Nicholas Bishop
e150f5ba8e Added RNA for the MeshDeform, Cast, and Smooth Modifiers. Also some changes to pointer types in other places. 2009-01-02 08:03:20 +00:00
Campbell Barton
5d23eaa8f4 python support for reporting with operators.
* errors in python called operators are raised as errors
* Python defined operators errors are reported as errors (not full traceback yet)
* added BKE_reports_string, same as BKE_reports_print but it returns a string rather then printing it.
* WM_operator_name_call optionally takes an initialized report struct
2009-01-02 07:54:38 +00:00
Nicholas Bishop
cf43c6b0a1 Added RNA for the UVProject modifier.
Had a couple problems with this one; the uv layer and the projectors. The projectors in particular is confusing; I figured this would be one of the cases handled by RNA automagically, but maybe I need to define custom functions for it? Anyway, marked the code with XXX.
2009-01-02 07:29:35 +00:00
Joshua Leung
95753c04f5 2.5 - Silencing more MSVC warnings 2009-01-02 06:03:53 +00:00
Nicholas Bishop
9832821750 Added RNA for the Displace modifier. Once again, not sure how to handle uvlayer. 2009-01-02 05:20:44 +00:00
Nicholas Bishop
332e4718f5 Added RNA for the Array modifier. 2009-01-02 04:45:13 +00:00
Nicholas Bishop
8925b024cb Made CMake build a little faster by not rebuilding the DNA and RNA stuff when building creator. 2009-01-02 03:42:16 +00:00
Nicholas Bishop
88e00344fc Added RNA for the Boolean and EdgeSplit modifiers. 2009-01-02 03:38:15 +00:00
Michael Fox
af2304f3cb 2.5
********
- added clear location/rotation/scale/origin
	- each action is a seperate operator
	- Drawing is delayed as the tag_region_redraw does not seem to have an effect perhaps a transformation notifier is needed
	- for the view to update just do some transformation, like press G

 - changed the shortcut key for area rip to alt-ctrl-r so it dosn't conflict with clear rotation
2009-01-02 03:16:38 +00:00
Nicholas Bishop
ada3868efd Added RNA for Hook modifier. 2009-01-02 02:37:54 +00:00
Nicholas Bishop
d812fc0bd0 Fixed up the range and UI ranges for the modifiers I've done. 2009-01-02 02:25:29 +00:00
Joshua Leung
96d80b28b2 2.5 Animation Channels - Borderselect Tool
Added BorderSelect operator for animation channels.
2009-01-02 01:28:05 +00:00
Nicholas Bishop
f4a4279611 Added RNA for Armature modifier 2009-01-02 01:28:02 +00:00
Joshua Leung
e6838f621d 2.5 - Animation and View2D
* Added back deselect all (and invert all) tools for Animation Channels (i.e. channel list in Action Editor).

* Resolved all MSVC warnings (I came across) in View2d code. Also, added a new API method to get the coordinates (in 'view' space) of a listview 'cell' given the row + column the cell is in.

* Tidied up a few comments here and there
2009-01-02 00:56:48 +00:00
Nicholas Bishop
c32fbee896 Added RNA for Wave modifier.
Note: I didn't set up the property for uvlayer_tmp (used when the wave is modulated using UV texture coordinates.) Wasn't sure how to do this properly.
2009-01-02 00:53:49 +00:00
Nicholas Bishop
8d82334b57 Added RNA for decimate modifier. 2009-01-01 23:47:32 +00:00
Nicholas Bishop
990ac1477d Added RNA for Curve modifier. 2009-01-01 23:32:49 +00:00
Nicholas Bishop
b01c390d23 Added RNA for Mirror modifier. 2009-01-01 22:43:58 +00:00
Nicholas Bishop
99dd981329 Added RNA for the Build modifier. 2009-01-01 21:49:04 +00:00
Nicholas Bishop
14776f4873 Added RNA for the Subsurf and Lattice modifiers. 2009-01-01 21:16:16 +00:00
Brecht Van Lommel
112385660a RNA
* Object has some more properties wrapped, mostly game related.
* Scene frame changes now send a notifier.
* Added functions to create/free operator properties for calling
  operators. This also simplifies some duplicated code that did
  this. Ideally though this kind of thing should use the properties
  pointer provided by buttons and keymap items. Example code:

PointerRNA ptr;

WM_operator_properties_create(&ptr, "SOME_OT_name");
RNA_int_set(&ptr, "value", 42);
WM_operator_name_call(C, "SOME_OT_name", WM_OP_EXEC_DEFAULT, &ptr);
WM_operator_properties_free(&ptr);
2009-01-01 20:44:40 +00:00
Nathan Letwory
ddabed9c96 2.5 / Nodes - menu header items aligned 2009-01-01 20:31:13 +00:00
Roland Hess
a0c6a4c712 Added Sound Listener rna. 2009-01-01 20:22:17 +00:00
Nathan Letwory
0f666dc53e 2.5 / Nodes
* zoom in/out added also as menu entry
* view all operator is now only executed, not invoked.
2009-01-01 20:08:57 +00:00
Roland Hess
c2b222d7bb Added bSample rna, and tweaked a couple of things in Sound rna. 2009-01-01 19:34:41 +00:00
Ton Roosendaal
1ae7f038cd 2.5
Removed AUX buffer for OSX, was taking too much OGL memory, 
and since AUX was not used for other platforms, its benefits
faded away in the course of the time (it was just drawing
always).
2009-01-01 19:19:50 +00:00
Ton Roosendaal
81243af057 2.5
- View3D backbuffer select is back ("occlusion select").
  It doesn't use the old 'afterqueue' yet, which ensured backbuffers
  to draw immediate after swapbuffers. Will with that.
2009-01-01 19:18:03 +00:00
Nathan Letwory
d130a1ec28 2.5 / Nodes
* invoke View all through header menu :)
2009-01-01 19:03:40 +00:00