Commit Graph

21594 Commits

Author SHA1 Message Date
Campbell Barton fedde2f8e3 rna rename Spline/Curve/Text3D 2010-08-19 17:31:10 +00:00
Campbell Barton 7c98860a0d rna renaming FModifier & GameObjectSettings 2010-08-19 17:10:43 +00:00
Campbell Barton eee445590a rna naming mainly forBoids 2010-08-19 15:49:30 +00:00
Campbell Barton 8e388a8f49 fixes for recent renaming 2010-08-19 14:43:52 +00:00
Campbell Barton 486b3cd2f5 more rna renaming for non-animated properties: mainly Texface, Particle & Pointcache changes.
Changed some names when applying.
- render was use_render, changed to show_viewport so call it show_render
- texface shadow was use_shadow_face, changed to use_shadow_cast since this only affects casting.
- transp was alpha_mode, changed to blend_type since its similar to other overlay blending where this property name is used.
2010-08-19 12:51:31 +00:00
Campbell Barton 736edd547b fix for error in recent renaming 2010-08-19 11:04:46 +00:00
Campbell Barton 4e3390437e - Properties from base classes are now registered too, this allows class mix-in's to define properties.
An example of how this is useful - an importer mixin could define the filepath properties and a generic invoke function which can run the subclasses exec for each selected file.

- Panels and Menus now skip the property check when registering.

- renamed _idproperties_ to _idprops_ in function names, function names were getting very long.
2010-08-19 10:16:30 +00:00
Campbell Barton 98140e234e - pyrna fix for reference counting when unable to register a property
- added modified 'Warp' enum to reserve this ID for durian files until the modifier is merged.
2010-08-19 05:58:22 +00:00
Campbell Barton 5e53012558 utility function for updating animation system values when RNA changes.
- any numnber of attributes are supported for renaming, eg: modifiers["Foo.Bar"].prop.bar
- the path is resolved in blender so each attribute is type checked against the naming list.
- inherited properties are supported by recursively checking parent classes names aganst the name list.
- fcurves and drivers are currently supported.
2010-08-18 18:00:52 +00:00
Campbell Barton 399dda68d8 fix errors with recent commits. 2010-08-18 10:42:00 +00:00
Campbell Barton c04199b3a1 rna naming mainly for Scene/IK/KeyingSet's 2010-08-18 08:58:37 +00:00
Campbell Barton 55ed0f0507 more rna renaming. 2010-08-18 08:26:18 +00:00
Campbell Barton 513a907730 rna rename Bone and Text changes 2010-08-18 07:45:32 +00:00
Campbell Barton 7da5d9faec rna renaming, still only adjusting properties that wont be animated (at least its very unlikely). 2010-08-18 07:14:10 +00:00
Campbell Barton 54e6ea70c0 rna renaming for Render* structs 2010-08-18 04:10:23 +00:00
Campbell Barton 64347d81c4 rna renaming for 'Brush' struct 2010-08-18 03:56:14 +00:00
Campbell Barton 9784a1169d rna naming: verts -> vertices 2010-08-18 03:42:26 +00:00
Campbell Barton f32a35fd9d apply rna naming for ToolSettings 2010-08-18 03:24:52 +00:00
Campbell Barton a34721d24b minor update rna namer and script to automatically apply updates from blender to rna_properties.txt 2010-08-18 03:05:14 +00:00
Dalai Felinto f80f412701 Fix for [#23352] Update Problem in Texture tab
I added a notifier to update the texture panel whenever you change the active texture. This part of the code seems wip, but the notifier should be there if I'm not mistaken.

The other way around has still bugs (e.g. when you add a new texture Outliner doesn't update automatically). To be tackled later
2010-08-17 21:35:18 +00:00
Campbell Barton 3bd039eff9 apply rna rename most of the show_*, names. 2010-08-17 17:03:52 +00:00
Campbell Barton c61127d502 apply logic brick rna renaming 2010-08-17 16:27:10 +00:00
Campbell Barton fab0f053e7 syntax highlighting for decorators, correct doc example 2010-08-17 14:56:10 +00:00
Campbell Barton b278279c95 document rna functions that have the no_self flag set as classmethods 2010-08-17 14:32:14 +00:00
Campbell Barton 08d55cbe98 merged in applied edits from theme/space/prefs 2010-08-17 13:34:30 +00:00
Campbell Barton 7a31417f50 apply UserPrefs and Theme rna naming changes. 2010-08-17 13:14:41 +00:00
Campbell Barton 9dd43244a2 when complaining that an RNA name doesnt exist in the UI, give the struct name as well. 2010-08-17 13:12:58 +00:00
Campbell Barton 8db2707fa2 rna naming changes based on suggestions by Brecht. 2010-08-17 13:11:25 +00:00
Campbell Barton 87477c5d11 fix for error with removing MEM_guardedalloc.h, not sure why I didnt get this warning when rebuilding yesyerday. 2010-08-17 11:10:48 +00:00
Thomas Dinges a3d28f4899 2.5 Nodes:
* Range Limit function for Image Output Frame Start/End properties.
2010-08-17 09:59:55 +00:00
Thomas Dinges 13da233a62 2.5 Nodes:
* Property Ranges for the Vector Blur Node were missing, added them in RNA.
2010-08-17 09:41:56 +00:00
Thomas Dinges 2e2592127e 2.5 Texture Panels:
* Removed "Plugin" Texture Type from the Interface as it is not implemented in 2.5 atm.
2010-08-17 08:56:47 +00:00
Thomas Dinges e0c2791508 2.5 Modifiers:
* Don't show "Copy" Operator for Smoke Modifier in the stack.
2010-08-17 08:34:27 +00:00
Campbell Barton b9d99b9c5b apply all rna naming changes for rna_space.c 2010-08-17 07:49:53 +00:00
Campbell Barton 40bf37e3b6 use 'vertices' rather then 'verts'. 2010-08-17 03:17:51 +00:00
Campbell Barton 5f7045f7af - rna_info.py now outputs array length with types eg. float[16].
- corrected rna property name Controller.states -> state (pointed out by Dalai).
- rna_cleaner_merge script now only merges comment and new name.
2010-08-17 02:42:30 +00:00
gsr b3d d03c94d8d9 Group all AUD libs, duplicate one to avoid linker error. 2010-08-17 01:50:47 +00:00
Thomas Dinges 29ea841d1e 2.5 Modifier/Constraint Template
* Code removal of "compact" feature, after narrow_ui removal this was not functional anyway.
2010-08-16 23:28:20 +00:00
Joerg Mueller 26809f38aa Audaspace: This should fix all missing python includes now once for all... 2010-08-16 20:05:59 +00:00
Joerg Mueller 1964b2329e Scons:
* Should now build again without problems
* Fixed scons having problems to execute makes(d/r)na if build path contains spaces
2010-08-16 19:09:42 +00:00
Joerg Mueller 9bb21deec6 Audaspace: Further fixes. 2010-08-16 18:50:59 +00:00
Joerg Mueller 01d61095cd Audaspace: Scons fix for missing python include paths. 2010-08-16 18:29:19 +00:00
Joerg Mueller 8d7204ac04 Audaspace: Buildsystem update after Ton destroyed building with scons and cmake, also including a patch by freakabcd fixing some missing python include paths. 2010-08-16 18:22:51 +00:00
Campbell Barton 5ab7047f65 merged rna names with newly created dump from rna_info.py 2010-08-16 17:57:39 +00:00
Campbell Barton 0861f59ecf - finished RNA renaming for review
- fix warning
2010-08-16 17:17:33 +00:00
Ton Roosendaal dc3ca6dcda More makefiles for new audaspace commit.
Jorg: you have added an include Python.h in the AUD api.h. I'm not
sure if it's smart to have this, it makes all AUD code depend on
resolving the Python path.
2010-08-16 17:07:59 +00:00
Kent Mein dc4946f03c Added missing include for audio stuff.
Still not linking with Makefiles, will try and fix later.

Kent
2010-08-16 15:54:58 +00:00
Joerg Mueller a3837b617b Audaspace: Fixing quaternion and relativeness of 3D sounds error. 2010-08-16 14:55:45 +00:00
Joerg Mueller 78d96324ae Py API Docs (GSoC): Third merging commit
* Added the alternative docs system with templating functionality
* Added aud to sdg.py
2010-08-16 12:22:19 +00:00
Joerg Mueller 0be08725ad Py API (GSoC): Second merging commit
Rough summary of fixes/changes:
- Blender Py API: GameLogic -> bge.logic
- Blender Py API: Implemented missing KX_PYATTRIBUTE_TODOs and -DUMMYs.
- Fix for [#22924] KX_PolygonMaterial.diffuse does not return expected list[r,g,b]
- Py API: Renaming _owner attribute of mathutils classes to owner.
- Fix some minor errors in mathutils and blf.
- Enabling game engine autoplay again based on a patch by Dalai:
  * The biggest 3D view in the open scene is used, if there is none, blender opens the file normally and raises an error.
  * The 3D view are is made fullscreen.
  * Quad view, header, properties and toolbox panel are all hidden to get the maximum view.
  * If the game engine full screen setting is set, the game starts in fullscreen.
- Fix for ipo conversion on file transition in the game engine.
2010-08-16 12:14:09 +00:00