10 years agoMove CMake on Windows to use Python 3.2
Nathan Letwory [Fri, 4 Mar 2011 14:15:46 +0000 (14:15 +0000)]
Move CMake on Windows to use Python 3.2

10 years agoTwo additional fixes for node-tree + texture paint:
Ton Roosendaal [Fri, 4 Mar 2011 12:59:09 +0000 (12:59 +0000)]
Two additional fixes for node-tree + texture paint:

- "need exec" flag was cleared in wrong tree for preview renders
  (it should clear it in the copy, i did in original).
  This fixes projection paint on images with previews open
- Previews for nodes were copied always, now only for previews
  invoked by node editor itself.

10 years agoPy_hash_t is new typedef in Python 3.2, typedeffing Py_ssize_t. Changing to that...
Nathan Letwory [Fri, 4 Mar 2011 11:08:22 +0000 (11:08 +0000)]
Py_hash_t is new typedef in Python 3.2, typedeffing Py_ssize_t. Changing to that to keep "slow adaptors" happy ;)

10 years agolong hash caused stack corruption in _PySet_NextEntry. This wanted a Py_hash_t, so...
Nathan Letwory [Fri, 4 Mar 2011 10:37:49 +0000 (10:37 +0000)]
long hash caused stack corruption in _PySet_NextEntry. This wanted a Py_hash_t, so made hash into such.

10 years agochange mingw-scons to use python 3.2
Ervin Weber [Fri, 4 Mar 2011 10:19:02 +0000 (10:19 +0000)]
change mingw-scons to use python 3.2

10 years agoBump OSX SCons to use Python 3.2. Remember to update your lib/darwin* directory.
Nathan Letwory [Fri, 4 Mar 2011 09:08:47 +0000 (09:08 +0000)]
Bump OSX SCons to use Python 3.2. Remember to update your lib/darwin* directory.

10 years agoBugfix [#26312] Wrong text in a button in the Stretch to constraint
Joshua Leung [Fri, 4 Mar 2011 06:34:41 +0000 (06:34 +0000)]
Bugfix [#26312] Wrong text in a button in the Stretch to constraint

This looks like a simple Copy+Paste typo

10 years agoMove Windows SCons system to build Blender against the new Python 3.2 libs committed...
Nathan Letwory [Fri, 4 Mar 2011 00:59:45 +0000 (00:59 +0000)]
Move Windows SCons system to build Blender against the new Python 3.2 libs committed in r35340 and r35341.

Platform maintainers and release builders, please update your systems also to Python 3.2.

10 years agoFix for [#26254] Rendering problem with group-instances of particle-instances
Janne Karhu [Thu, 3 Mar 2011 19:07:27 +0000 (19:07 +0000)]
Fix for [#26254] Rendering problem with group-instances of particle-instances
* Render level derived mesh (needed for proper hair rendering) was only calculated before duplication code if the particle object was a level 0 duplicator, so particles creating objects inside a dupligroup didn't work.
* I really don't see the need for the level == 0 check, so I just removed it and after some quick tests can't see any negative effects. If the check is needed for some case though then a more complicated test is needed to handle all cases.

10 years agobugfix #26267
Ton Roosendaal [Thu, 3 Mar 2011 18:53:07 +0000 (18:53 +0000)]
bugfix #26267

ImageWindow + 3D view texture paint + texture preview render + texture nodes.
Threading hell! But it works now :)

10 years agouse NULL instead of 0 for pointers, (editors)
Campbell Barton [Thu, 3 Mar 2011 17:59:04 +0000 (17:59 +0000)]
use NULL instead of 0 for pointers, (editors)

10 years agoreplace 0 with NULL when used as a pointer
Campbell Barton [Thu, 3 Mar 2011 17:58:06 +0000 (17:58 +0000)]
replace 0 with NULL when used as a pointer

10 years agofix for invalid empty string check in uniquename callback.
Campbell Barton [Thu, 3 Mar 2011 17:23:59 +0000 (17:23 +0000)]
fix for invalid empty string check in uniquename callback.

10 years agopatch [#26235] debian/watch: Update for change of versioning
Campbell Barton [Thu, 3 Mar 2011 16:12:32 +0000 (16:12 +0000)]
patch [#26235] debian/watch: Update for change of versioning

10 years agoadded support for windows/mingw
Campbell Barton [Thu, 3 Mar 2011 15:38:29 +0000 (15:38 +0000)]
added support for windows/mingw

10 years agoBugfix #26307
Ton Roosendaal [Thu, 3 Mar 2011 15:18:35 +0000 (15:18 +0000)]
Bugfix #26307

Blender crashed on repeatedly pressing "reload image" or "unpack" and
other image options, with a material/texture preview running.

Solved with a signal to stop preview render before doing the action.

10 years agoFix #26273: mirror mod. + armature mod. + rotated armature == wrong reference axis...
Sergey Sharybin [Thu, 3 Mar 2011 15:17:57 +0000 (15:17 +0000)]
Fix #26273: mirror mod. + armature mod. + rotated armature == wrong reference axis for moving verts (when mirror comes first)

Do not overwrite coord of vertices in mapped vertex array used for crazyspace
corrections. This should make stuff use position of mesh vertex after
deformation, not possible generated images of this vertices.

10 years agofix crash from own recent changes [#26271] Crash when accessing
Campbell Barton [Thu, 3 Mar 2011 13:55:15 +0000 (13:55 +0000)]
fix crash from own recent changes [#26271] Crash when accessing

10 years agoFix #26261: blend from shape operator "add" option was not working correct.
Brecht Van Lommel [Thu, 3 Mar 2011 13:26:55 +0000 (13:26 +0000)]
Fix #26261: blend from shape operator "add" option was not working correct.

10 years agofix for own error [#26310] "Randomize Transform" operator has widgets jumbled
Campbell Barton [Thu, 3 Mar 2011 13:23:40 +0000 (13:23 +0000)]
fix for own error [#26310] "Randomize Transform" operator has widgets jumbled
the correct order was being overwritten.

Campbell Barton [Thu, 3 Mar 2011 12:00:35 +0000 (12:00 +0000)]
compile time option which enables extra safety checks.
since this is noticeably slower I rather not enable by default yet.

10 years agofix error in qtcreator project file arg checking and check for cmake files.
Campbell Barton [Thu, 3 Mar 2011 11:22:54 +0000 (11:22 +0000)]
fix error in qtcreator project file arg checking and check for cmake files.

10 years agoPy/RNA api:
Campbell Barton [Thu, 3 Mar 2011 09:16:06 +0000 (09:16 +0000)]
Py/RNA api:
fix for crash when iterating over a collection which allocates the collection and frees on when finished.

The ability for BPy_StructRNA to hold a reference to other PyObject's was added to support this.

10 years agofix for own error made r35267.
Campbell Barton [Thu, 3 Mar 2011 08:01:11 +0000 (08:01 +0000)]
fix for own error made r35267.

10 years agoPy/RNA api - real collection iterator
Campbell Barton [Thu, 3 Mar 2011 07:41:09 +0000 (07:41 +0000)]
Py/RNA api - real collection iterator
Previously the api just converted the collection to a list and got the iterator from the list to return.

This has the advantage that it uses minimal memory on large collections where before it would make an array.

Though the main reason for this change is to support a bugfix for collections which free memory when they are done, this currently crashes the python api since once the list is built, the data is freed which is used by the list items in some cases (dynamic enums for eg).

10 years agofurther reading, need to untrack tracked PyObjects before clearing their trackable...
Campbell Barton [Thu, 3 Mar 2011 06:14:55 +0000 (06:14 +0000)]
further reading, need to untrack tracked PyObjects before clearing their trackable vars.

10 years agosupport for mathutils GC wasn't complete since PyObject_GC_Track is supposed to be...
Campbell Barton [Thu, 3 Mar 2011 06:01:31 +0000 (06:01 +0000)]
support for mathutils GC wasn't complete since PyObject_GC_Track is supposed to be called once the fields are filled in.

10 years agoformatting edits. (no functional changes)
Campbell Barton [Thu, 3 Mar 2011 05:42:16 +0000 (05:42 +0000)]
formatting edits. (no functional changes)

10 years agosolidify material offsets for 2nd surface and rim faces.
Campbell Barton [Thu, 3 Mar 2011 05:09:07 +0000 (05:09 +0000)]
solidify material offsets for 2nd surface and rim faces.
run do_versions() on use_rim_material option so Sintel's jacket loads ok.
(request from Bassam)

10 years agominor correction for r35312, check the operator returns finished.
Campbell Barton [Thu, 3 Mar 2011 04:25:14 +0000 (04:25 +0000)]
minor correction for r35312, check the operator returns finished.
use lambda for (no functional change).

10 years agoBGE: Material Force Field renaming + reorganization
Dalai Felinto [Thu, 3 Mar 2011 01:47:17 +0000 (01:47 +0000)]
BGE: Material Force Field renaming + reorganization
the old FH setting was blended with the other physics settings (friction and elastic)
Also in the Physics panel it was saying "Use Material Physics" but the button is only for Force Field.

Since I was here I decided to change the Constraint FH ui name from Fh to Force. I don't think users really understand what FH is (I for once don't).
Thanks to Carsten Wartmann for pointing that out.

10 years agoShrinking the marker mouse-y tolerance again. It was a bit too high,
Joshua Leung [Wed, 2 Mar 2011 23:40:32 +0000 (23:40 +0000)]
Shrinking the marker mouse-y tolerance again. It was a bit too high,
making normal transforms get caught too often. I've got a few more
methods that I'll be trialling in the near future

10 years agoBugfix [#26269] Initiating a duplication with shift D and cancelling
Joshua Leung [Wed, 2 Mar 2011 23:39:08 +0000 (23:39 +0000)]
Bugfix [#26269] Initiating a duplication with shift D and cancelling
in dope sheet/ graph editor leads to duplicated keys

The old hack using the transform "undostring" didn't work anymore, as
this wasn't set. Instead, I've added a special mode transform mode for
this that the duplicate operators can set to get this functionality.

10 years agoLogic Editor: link a Sensor with an Actuator and automatically creates an And Control...
Dalai Felinto [Wed, 2 Mar 2011 22:32:13 +0000 (22:32 +0000)]
Logic Editor: link a Sensor with an Actuator and automatically creates an And Controller linked to them
Given the code perspective this is a hacky solution. However it's self-contained and documented one.
Ended having a talk with Ton and he agreed that this can acceptable in this case.
Zero chances of crashes (I've been using this myself for more than 6 months now).

Give it a shot. Although the code is +- for the user it's a really nice addition.
At the moment it makes more sense to put energy into the future Nodal Logic.
Yet, it's nice to give the current Logic Editor the love it deserves.

10 years agoLogic UI: reverting back the PROP_ANGLE props
Dalai Felinto [Wed, 2 Mar 2011 19:08:48 +0000 (19:08 +0000)]
Logic UI: reverting back the PROP_ANGLE props
The Logic Bricks that use angles (Radar Sensor and Constraint Actuator) do so in degree.
Reverting for the time being. Ideally we want to make them to use radians internally (that requires at least a doversion and a convert from radians to degree in BGE Converter routine).

If someone feels like helping on that, please go ahead.

10 years agotag unused var
Campbell Barton [Wed, 2 Mar 2011 19:06:09 +0000 (19:06 +0000)]
tag unused var

10 years agoChange RNA weakref code to use a ghash rather then a PyList, removing items from...
Campbell Barton [Wed, 2 Mar 2011 18:59:43 +0000 (18:59 +0000)]
Change RNA weakref code to use a ghash rather then a PyList, removing items from the list was far too slow.

10 years agoTsk! glGetFloatv() gives alpha too for GL_CURRENT_COLOR, so a four long vector is...
Janne Karhu [Wed, 2 Mar 2011 17:49:02 +0000 (17:49 +0000)]
Tsk! glGetFloatv() gives alpha too for GL_CURRENT_COLOR, so a four long vector is needed!

10 years agoFix for [#25326] FCurve rotate gives strange results.
Janne Karhu [Wed, 2 Mar 2011 17:32:01 +0000 (17:32 +0000)]
Fix for [#25326] FCurve rotate gives strange results.
* The fcurve points changed their order when rotating, but the transform data wasn't updated properly for this change so some curve handle pointers got lost.
* Also found a second bug while fixing this: The fcurve handle type pointers weren't updated at all when the order changed, so some auto handles could turn into aligned handles even if the transform was canceled (no undo possible in this case!).

10 years agosimplify rna internal weakref use.
Campbell Barton [Wed, 2 Mar 2011 16:56:13 +0000 (16:56 +0000)]
simplify rna internal weakref use.

10 years agoBugfix #26226
Ton Roosendaal [Wed, 2 Mar 2011 16:52:09 +0000 (16:52 +0000)]
Bugfix #26226

ImageWindow: hotkey "P" for Scopes was in conflict with Pinning.
Remapped it to "T" for time being, although it's not a toolbar...

10 years agoalign weakref list for rna (properties were using wrong pointer)
Campbell Barton [Wed, 2 Mar 2011 16:22:04 +0000 (16:22 +0000)]
align weakref list for rna (properties were using wrong pointer)

10 years agoRemoved tests for existing node pointers in RNA function for new links. Group node...
Lukas Toenne [Wed, 2 Mar 2011 14:13:05 +0000 (14:13 +0000)]
Removed tests for existing node pointers in RNA function for new links. Group node sockets don't have any specific node they belong to, so no node pointers are found.

10 years agoFrom the OFTL (old fart todo list)
Ton Roosendaal [Wed, 2 Mar 2011 14:09:54 +0000 (14:09 +0000)]
From the OFTL (old fart todo list)

Right Mouse on area edges has menu to Split or Join. Works like 2.4.

Code needed cleanup and upgrade; operators were hardcoded tied to using
the area corner widgets only. In theory this is getting py ready even,
but that might need some additional testing. :)

10 years agominor fixes to weakref validation before making bigger changes
Campbell Barton [Wed, 2 Mar 2011 06:56:21 +0000 (06:56 +0000)]
minor fixes to weakref validation before making bigger changes

10 years agofixed compile problem intruduced in r35295
M.G. Kishalmi [Wed, 2 Mar 2011 06:47:08 +0000 (06:47 +0000)]
fixed compile problem intruduced in r35295

one import was missing, another one used twice.

10 years agoSVN maintenance.
Guillermo S. Romero [Wed, 2 Mar 2011 05:06:43 +0000 (05:06 +0000)]
SVN maintenance.

10 years agoreplace references to old arithb library
Campbell Barton [Wed, 2 Mar 2011 05:05:12 +0000 (05:05 +0000)]
replace references to old arithb library

10 years agomove anim functions out of bpy_rna.c, its getting too big.
Campbell Barton [Wed, 2 Mar 2011 04:51:43 +0000 (04:51 +0000)]
move anim functions out of bpy_rna.c, its getting too big.

10 years agoupdate for changed exception type
Campbell Barton [Wed, 2 Mar 2011 04:16:57 +0000 (04:16 +0000)]
update for changed exception type

10 years agoLogic Editor: "Python Controller" NOT "Python Script Controller"
Dalai Felinto [Wed, 2 Mar 2011 01:42:14 +0000 (01:42 +0000)]
Logic Editor: "Python Controller" NOT "Python Script Controller"
The "Script" was added in the original rna commit but for no apparent reason the controller was renamed from the original 2.49 name.
Spotted/reverted in time.

10 years agoRemove superfluous ()
Nathan Letwory [Tue, 1 Mar 2011 21:55:51 +0000 (21:55 +0000)]
Remove superfluous ()

10 years agoFix #26218: texture paint
Sergey Sharybin [Tue, 1 Mar 2011 17:58:12 +0000 (17:58 +0000)]
Fix #26218: texture paint
- Added option "Fixed Texture" to the UI. Because of strange reason,
  this feature was implemented but hidden from users.
  Would be cool, if somebody familiar with 2d texture paiting check.
- Fixed some issues in existing code of fixed texture paiting.
  It now handles brush radius and curve correct.
- Also fixed issue with paiting with texture from node tree - it used
  to be painted with regular brush color instead of texture.

10 years agoUV layout export: EPS format
Campbell Barton [Tue, 1 Mar 2011 17:32:17 +0000 (17:32 +0000)]
UV layout export: EPS format
Pass an iterator function rather then the iterator its self, allows to loop over the faces twice without making a list.

10 years agofix [#26257] Colored UV-Map on export
Campbell Barton [Tue, 1 Mar 2011 17:22:27 +0000 (17:22 +0000)]
fix [#26257] Colored UV-Map on export
- EPS now exports material colors and face fill doesn't overwrite edges (draw in 2 passes).
- added opacity option for EPS/SVG/PNG

10 years agoBugfix #26243
Ton Roosendaal [Tue, 1 Mar 2011 17:00:01 +0000 (17:00 +0000)]
Bugfix #26243

Not sure if it fixes the bug, but an RNA boolean was read as int...
Related to default for "Blend from Shape" tool.

10 years agoBugfix #26249
Ton Roosendaal [Tue, 1 Mar 2011 16:26:37 +0000 (16:26 +0000)]
Bugfix #26249

Paint strokes now can be mapped to any key. The operators now store the
event it was started with, so it ends with a release. Even hotkeys work
(while hold).

10 years agoBugfix #26251
Ton Roosendaal [Tue, 1 Mar 2011 15:54:49 +0000 (15:54 +0000)]
Bugfix #26251

Logic editor: click in active text input buttons didnt work.

10 years agoFix [#25476] Pan view not always works with shift+alt+LMB in Blender 2.56
Nathan Letwory [Tue, 1 Mar 2011 15:14:59 +0000 (15:14 +0000)]
Fix [#25476] Pan view not always works with shift+alt+LMB in Blender 2.56
Reported by Mihail Konoh

Applied patch submitted by Alexander Kuznetsov (to [#26208]). Thanks for long-standing head-ache :)

10 years agoPy/RNA Stability: don't allow python to reference freed ID's and crash.
Campbell Barton [Tue, 1 Mar 2011 14:53:26 +0000 (14:53 +0000)]
Py/RNA Stability: don't allow python to reference freed ID's and crash.
Second method for not having python crash blender on invalid access (ifdef'd out ATM, so no functional change).

This uses a weakref list per ID, and invalidates all members of that list when the ID is freed.
the list is not stores in the ID pointer but using a hash table since storing python in DNA data is not acceptable.

This is more correct then the previous method but shows down execution of scripts significantly since its always adding and removing from lists when data is created and freed.

10 years agoTypo in last commit, changing variable name for more readable code...
Ton Roosendaal [Tue, 1 Mar 2011 13:56:33 +0000 (13:56 +0000)]
Typo in last commit, changing variable name for more readable code...

10 years agoFix [#26207] Render.exe mangles paths in mysterious and awesome ways
Nathan Letwory [Tue, 1 Mar 2011 12:52:00 +0000 (12:52 +0000)]
Fix [#26207] Render.exe mangles paths in mysterious and awesome ways
Reported by Edwin Amsler

The function for extrapolating the template name with the frame number didn't properly NULL-terminate the
resulting string, this causing broken names and weird paths (if you were lucky - totally unusuable names
detected while stepping through the code).

10 years agoBug fixes #26236 #26237
Ton Roosendaal [Tue, 1 Mar 2011 12:25:55 +0000 (12:25 +0000)]
Bug fixes #26236 #26237

- Linking logic buttons had draw glitch, caused by reading
  data from free'd buttons
- Doing an undo with mouse-over Curve Widget caused crash or

Both related to code that tries to keep the "active" button in
memory. On each redraw of UI, buttons are re-created, which makes
it all tricky... hope we're safer now.

Also: added back undo pushes on adding links in logic editor.

10 years agoSmall fix for node drawing: nodes with no sockets now have a minimum height to avoid...
Lukas Toenne [Tue, 1 Mar 2011 10:08:09 +0000 (10:08 +0000)]
Small fix for node drawing: nodes with no sockets now have a minimum height to avoid opengl drawing artifacts.

10 years agoPy/RNA API test code to prevent crashing blender when python references freed ID's.
Campbell Barton [Tue, 1 Mar 2011 09:02:54 +0000 (09:02 +0000)]
Py/RNA API test code to prevent crashing blender when python references freed ID's.

This uses pythons GC so its no overhead during runtime but makes removing ID's slower.

Commented definition 'USE_PYRNA_INVALIDATE_GC' for now, so no functional change.

10 years agofix [#26252] Py error when installing addon through UI
Campbell Barton [Tue, 1 Mar 2011 08:28:37 +0000 (08:28 +0000)]
fix [#26252] Py error when installing addon through UI
Py3.1 for windows doesn't have os.path.samefile(), has been added in 3.2.

10 years agoselect PoseBone attribute was made only available on bone.
Campbell Barton [Tue, 1 Mar 2011 07:52:13 +0000 (07:52 +0000)]
select PoseBone attribute was made only available on bone.

10 years agofix for error in recent cmake edits
Campbell Barton [Tue, 1 Mar 2011 07:21:52 +0000 (07:21 +0000)]
fix for error in recent cmake edits

10 years agobpy/rna support for invalidating objects.
Campbell Barton [Mon, 28 Feb 2011 22:56:29 +0000 (22:56 +0000)]
bpy/rna support for invalidating objects.
access will raise an error.

10 years agomissed these last commit.
Campbell Barton [Mon, 28 Feb 2011 21:06:09 +0000 (21:06 +0000)]
missed these last commit.

10 years agoBGE fix: complement to recent patch for Rigid Body Constraint. patch by Juha Mäki...
Dalai Felinto [Mon, 28 Feb 2011 20:22:28 +0000 (20:22 +0000)]
BGE fix: complement to recent patch for Rigid Body Constraint. patch by Juha Mäki-Kanto (kanttori)

10 years agogit users complain this breaks for them
Campbell Barton [Mon, 28 Feb 2011 19:48:56 +0000 (19:48 +0000)]
git users complain this breaks for them

10 years agochange return values from mathutils callbacks to match pythons (-1 is error), so...
Campbell Barton [Mon, 28 Feb 2011 18:42:41 +0000 (18:42 +0000)]
change return values from mathutils callbacks to match pythons (-1 is error), so error macro's can be used in both.

10 years agoBug fix: Render and 3d view conflict over ob->imat
Janne Karhu [Mon, 28 Feb 2011 15:42:15 +0000 (15:42 +0000)]
Bug fix: Render and 3d view conflict over ob->imat

* For rendering every object's inverse matrix "ob->imat" needs to
  be in render view coordinates, but for drawing in 3d view it needs
  to be in global coordinates. Originally (way back in historical
  times) ob->imat was only used for rendering, but over the years
  other uses came up too. Before 2.5 this wasn't a problem as
  rendering was a totally blocking operation, but with the new
  "interactive ui while rendering" the problems started. Basically
  any update that redrew the 3d view while rendering (like rotating
  the scene with mouse) updated the inverse matrix into global
  coordinates thus invalidating it for the render, leading to all
  kinds of strange discontinuities with textures and volumetrics.

* Problems were very easy to achieve using orco/object coordinates
  for pretty much any textures (bump, point density, volume, sky),
  for examples see bug reports 24906 and 25229. Render baking normals
  in object coordinates was wrong most of the time too.

* Now there is a separate inverse matrix ob->imat_ren that's
  calculated at the beginning of rendering and is used in all places
  inside render code where it's needed. This way the original ob->imat
  can change at will during rendering without causing problems.

10 years ago2.5 Netrender UI File:
Thomas Dinges [Mon, 28 Feb 2011 14:34:13 +0000 (14:34 +0000)]
2.5 Netrender UI File:
* Code cleanup.

10 years ago2.5 UI scripts:
Thomas Dinges [Mon, 28 Feb 2011 14:25:40 +0000 (14:25 +0000)]
2.5 UI scripts:
* Removed some unused code.

10 years agoFix [#26213] Collada exporter id's not unique
Nathan Letwory [Mon, 28 Feb 2011 14:24:52 +0000 (14:24 +0000)]
Fix [#26213] Collada exporter id's not unique
Reported by Kevin Yoon

<material> could get same id as <node>, prevent that by suffixing -material.

10 years agoMake sure is extracted only once. This prevents erroring build on the...
Nathan Letwory [Mon, 28 Feb 2011 13:18:00 +0000 (13:18 +0000)]
Make sure is extracted only once. This prevents erroring build on the unzip stage.

10 years agofix for inconsistency reported as bug [#26245] collides with the built...
Campbell Barton [Mon, 28 Feb 2011 12:05:43 +0000 (12:05 +0000)]
fix for inconsistency reported as bug [#26245] collides with the built-in func keys()

10 years agoCleanup paths after move to dir.
Nathan Letwory [Mon, 28 Feb 2011 09:58:53 +0000 (09:58 +0000)]
Cleanup paths after move to dir.

10 years agobuild system now exclude config-*, turtledemo when copying system python.
Campbell Barton [Mon, 28 Feb 2011 05:59:44 +0000 (05:59 +0000)]
build system now exclude config-*, turtledemo when copying system python.
also remove __pycache__ dirs when cleaning (new in python 3.2)

10 years agocomplete lazy loading of py modules to use to a reduced set of pythons modules, gives...
Campbell Barton [Mon, 28 Feb 2011 04:37:24 +0000 (04:37 +0000)]
complete lazy loading of py modules to use to a reduced set of pythons modules, gives ~40% speedup on cold & warm start (without netrender).
- use own OrderedDictMini class, pythons collections.OrderedDict is overkill, 179 sloc. replaced with own, 11 lines.
- remove code which stored the class file & line per RNA subclass, this was useful but would raise its own exception every time to generate a stack trace to get the class info so we could use of the class failed to register. the class stores its module & name which can be enough to find where it was defined.

10 years agoremove unused vars.
Campbell Barton [Mon, 28 Feb 2011 03:17:53 +0000 (03:17 +0000)]
remove unused vars.

10 years agominor change for image invert operator
Campbell Barton [Mon, 28 Feb 2011 03:17:20 +0000 (03:17 +0000)]
minor change for image invert operator
- dirty var wasn't being used.
- only call IMB_rect_from_float if there was previously a rect buffer.

10 years agomove doxygen files into own subdir.
Nathan Letwory [Sun, 27 Feb 2011 20:46:25 +0000 (20:46 +0000)]
move doxygen files into own subdir.

10 years agodoxygen: update for tagged modules.
Nathan Letwory [Sun, 27 Feb 2011 20:44:37 +0000 (20:44 +0000)]
doxygen: update for tagged modules.

10 years agodoxygen: blender/avi tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:43:42 +0000 (20:43 +0000)]
doxygen: blender/avi tagged.

10 years agodoxygen: blender/blenfont tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:42:42 +0000 (20:42 +0000)]
doxygen: blender/blenfont tagged.

10 years agodoxygen: blender/blenkernel tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:40:57 +0000 (20:40 +0000)]
doxygen: blender/blenkernel tagged.

10 years agodoxygen: blender/blenlib tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:37:56 +0000 (20:37 +0000)]
doxygen: blender/blenlib tagged.

10 years agodoxygen: blender/blenloader tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:35:41 +0000 (20:35 +0000)]
doxygen: blender/blenloader tagged.

10 years agodoxygen: blender/blenpluginapi tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:32:12 +0000 (20:32 +0000)]
doxygen: blender/blenpluginapi tagged.

10 years agodoxygen: blender/collada tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:30:35 +0000 (20:30 +0000)]
doxygen: blender/collada tagged.

10 years agodoxygen: blender/editors tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:29:51 +0000 (20:29 +0000)]
doxygen: blender/editors tagged.

10 years agodoxygen: blender/gpu tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:25:53 +0000 (20:25 +0000)]
doxygen: blender/gpu tagged.

10 years agodoxygen: blender/ikplugin tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:24:49 +0000 (20:24 +0000)]
doxygen: blender/ikplugin tagged.

10 years agodoxygen: blender/imbuf tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:23:21 +0000 (20:23 +0000)]
doxygen: blender/imbuf tagged.

10 years agodoxygen: blender/makesrna tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:20:01 +0000 (20:20 +0000)]
doxygen: blender/makesrna tagged.

10 years agodoxygen: blender/nodes tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:13:22 +0000 (20:13 +0000)]
doxygen: blender/nodes tagged.

10 years agodoxygen: blender/python tagged.
Nathan Letwory [Sun, 27 Feb 2011 20:10:08 +0000 (20:10 +0000)]
doxygen: blender/python tagged.