10 years agodoxygen: some more license block fixes.
Nathan Letwory [Wed, 23 Feb 2011 23:22:25 +0000 (23:22 +0000)]
doxygen: some more license block fixes.

10 years agoadjustments to recent commit:
M.G. Kishalmi [Wed, 23 Feb 2011 19:40:24 +0000 (19:40 +0000)]
adjustments to recent commit:

* inv_ -> inverted_
* flagged image dirty after invert.
* restored properties accidently cut out of unpack operator.

 thanks for paying attention! :)

10 years agoFix for [#26133] Explode modifier doesn't care about UVs (Option "split edges")
Janne Karhu [Wed, 23 Feb 2011 19:29:59 +0000 (19:29 +0000)]
Fix for [#26133] Explode modifier doesn't care about UVs (Option "split edges")
* This is basically a total rewrite of the edge split algorithm. The old one didn't handle tris at all and quads were cut wrong in some cases too with the addition of not handling uv coordinates at all.
* This new algorithm uses a flag system to categorize different splits and the identical but rotated cases in a similar way to how marching cubes indexes different cases.
* It cuts quads and tris and creates proper uv's for the new faces too.
* I also renamed the option to "edge cut" to differentiate if from the edge split modifier and added an option to override a uv-channel in the exploded mesh with particle age as x-coordinate so that the shrapnel can be faded out nicely etc.

10 years agoClean up headers a bit more.
Guillermo S. Romero [Wed, 23 Feb 2011 18:03:40 +0000 (18:03 +0000)]
Clean up headers a bit more.

10 years agoBugfix #26188
Ton Roosendaal [Wed, 23 Feb 2011 15:52:05 +0000 (15:52 +0000)]
Bugfix #26188

Having 2 or more windows open, a render in another window made the
other (active) window fail badly on F11 key (show render).

Now things should go smoothly. If a render is being shown in
inactive windows, they get popped to the front nicely.

10 years agoThe material "Dynamic" node (disabled anyway) had incomplete base type initialization...
Lukas Toenne [Wed, 23 Feb 2011 13:50:41 +0000 (13:50 +0000)]
The material "Dynamic" node (disabled anyway) had incomplete base type initialization, which made it appear as an empty item in the input node category.

10 years agopy/rna api:
Campbell Barton [Wed, 23 Feb 2011 13:43:45 +0000 (13:43 +0000)]
py/rna api:
 ifdef'd out weakref for blender/py api, worth testing to see if it adds much overhead.

10 years agoadded image-editor operators:
M.G. Kishalmi [Wed, 23 Feb 2011 12:02:43 +0000 (12:02 +0000)]
added image-editor operators:

Invert Image Colors (RGB)
Invert Red Channel
Invert Green Channel
Invert Blue Channel
Invert Alpha Channel

mostly because of the recent changes in normalmap channels,
so users can adopt old bakes quickly.
though they might aswell prove useful in other situations.

10 years agosince the introduction of 'newbump' blender
M.G. Kishalmi [Wed, 23 Feb 2011 11:58:36 +0000 (11:58 +0000)]
since the introduction of 'newbump' blender
was exporting normal maps with red and green channel inverted
relative to the geometry it actually exports.

This change makes blender export normal maps
which are very similar to most tools out there.

patch by Morten S. Mikkelsen

10 years agodoxygen: prevent GPL license block from being parsed as doxygen comment.
Nathan Letwory [Wed, 23 Feb 2011 10:52:22 +0000 (10:52 +0000)]
doxygen: prevent GPL license block from being parsed as doxygen comment.

10 years agoPossible fix for [#26190] Changing particle amount crashes
Janne Karhu [Wed, 23 Feb 2011 10:42:27 +0000 (10:42 +0000)]
Possible fix for [#26190] Changing particle amount crashes
* In some cases fluid particles could be born at the exact same locations. Now these cases are just ignored and such particles don't effect each other.

10 years agoremove unused functions,
Campbell Barton [Wed, 23 Feb 2011 09:12:55 +0000 (09:12 +0000)]
remove unused functions,
note: BPY_class_validate() could come in handy later if we need to check classes for properties/functions but for now there is no point in keeping it in.

10 years agoadd back view 1:1 operator from 2.4x (Shift+PadEnter)
Campbell Barton [Wed, 23 Feb 2011 06:48:47 +0000 (06:48 +0000)]
add back view 1:1 operator from 2.4x (Shift+PadEnter)

10 years agoadd back 2.4x mesh vertex sort/randomize operators, were called xsort and hash in...
Campbell Barton [Wed, 23 Feb 2011 05:17:29 +0000 (05:17 +0000)]
add back 2.4x mesh vertex sort/randomize operators, were called xsort and hash in 2.4x.
available from vertex menu.

10 years agoadd 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.
Campbell Barton [Wed, 23 Feb 2011 04:58:08 +0000 (04:58 +0000)]
add 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.

10 years agofix [#26164] bpy.ops.transform.translate ignores AutoIK mode
Campbell Barton [Wed, 23 Feb 2011 04:03:58 +0000 (04:03 +0000)]
fix [#26164] bpy.ops.transform.translate ignores AutoIK mode

auto-ik updates are done by notifiers at the moment which are ignored when running bpy.ops.transform.translate(), so add an special_aftertrans_update() check for this case.

10 years ago- fix python error for poselib UI when none is active.
Campbell Barton [Wed, 23 Feb 2011 03:08:14 +0000 (03:08 +0000)]
- fix python error for poselib UI when none is active.
- add info to create_dupli_objects rna function docstring.
- transform snap had bad define, disabling BVH accelerated snap (own fault).

10 years agopython console namespace fix, merging namespace dicts was no good, since it pulled...
Campbell Barton [Wed, 23 Feb 2011 01:20:40 +0000 (01:20 +0000)]
python console namespace fix, merging namespace dicts was no good, since it pulled in private vars. use normal import command.

10 years agodoxygen: make sure license blocks don't interfere.
Nathan Letwory [Tue, 22 Feb 2011 23:40:06 +0000 (23:40 +0000)]
doxygen: make sure license blocks don't interfere.

10 years agoAdding "frame" to print in background rendering for
Daniel Salazar [Tue, 22 Feb 2011 23:32:29 +0000 (23:32 +0000)]
Adding "frame" to print in background rendering for
"Calculating previous (frame) vectors"
now it fits better with
"Calculating next frame vectors"

@jesterking: yes you are

@jesterking: yes you are!!

10 years ago"I must be an idiot"
Nathan Letwory [Tue, 22 Feb 2011 23:14:27 +0000 (23:14 +0000)]
"I must be an idiot"

10 years agodoxygen fix, otherwise file doesn't show up in module section.
Nathan Letwory [Tue, 22 Feb 2011 23:10:51 +0000 (23:10 +0000)]
doxygen fix, otherwise file doesn't show up in module section.

10 years agoerror in own recent moving addons functions into its own module. addon_utils.reset_al...
Campbell Barton [Tue, 22 Feb 2011 22:24:50 +0000 (22:24 +0000)]
error in own recent moving addons functions into its own module. addon_utils.reset_all failed.

10 years agodoxygen: add Audaspace C API entry
Nathan Letwory [Tue, 22 Feb 2011 21:58:43 +0000 (21:58 +0000)]
doxygen: add Audaspace C API entry

10 years agoEmpty groups are now displayed with some basic spacing in edit mode. Long socket...
Lukas Toenne [Tue, 22 Feb 2011 21:22:27 +0000 (21:22 +0000)]
Empty groups are now displayed with some basic spacing in edit mode. Long socket lists don't outgrow the group box any more; the box height is adjusted to fit the length of the socket list instead.

10 years agoConvenience fix: Exposing internal sockets now copies the default input value to...
Lukas Toenne [Tue, 22 Feb 2011 20:49:34 +0000 (20:49 +0000)]
Convenience fix: Exposing internal sockets now copies the default input value to the group sockets. The "expose" function on group inputs/outputs has an optional parameter "add_link", which can be used to prevent the automatic linking.

10 years agoSVN maintenance.
Guillermo S. Romero [Tue, 22 Feb 2011 20:47:17 +0000 (20:47 +0000)]
SVN maintenance.

10 years agoAdded RNA functions to group tree inputs/outputs for exposing internal sockets or...
Lukas Toenne [Tue, 22 Feb 2011 20:24:06 +0000 (20:24 +0000)]
Added RNA functions to group tree inputs/outputs for exposing internal sockets or adding custom sockets by name and type (fixes #26171). Changed a few function names for groups for consistency.

10 years agodoxygen: bge scenegraph and videotexture
Nathan Letwory [Tue, 22 Feb 2011 19:30:37 +0000 (19:30 +0000)]
doxygen: bge scenegraph and videotexture

10 years agoMaterial UI, patch by Ervin Weber (lusque). Thanks!
Thomas Dinges [Tue, 22 Feb 2011 19:22:27 +0000 (19:22 +0000)]
Material UI, patch by Ervin Weber (lusque). Thanks!
Now we have the old UI again, as suggested by several developers on the Mailing List.
At least for simple materials. For Node Materials we keep the new Pipeline panel.

This should make both sides happy. :)

10 years agoBugfix #25967
Ton Roosendaal [Tue, 22 Feb 2011 17:19:02 +0000 (17:19 +0000)]
Bugfix #25967

Node Materials: option "Front/Back" in geometry node failed for
"full osa" case in ZTransp.

10 years agoFix for [#26160] Blender Crashes when undoing
Joerg Mueller [Tue, 22 Feb 2011 16:32:05 +0000 (16:32 +0000)]
Fix for [#26160] Blender Crashes when undoing

Was trying to free audio data from sequencer strips that don't even have audio. Corrected the error in several ways so this will definitely not happen again :-)

10 years agodoxygen: add bullet to extern libs, some small changes in page names, and fixes aroun...
Nathan Letwory [Tue, 22 Feb 2011 16:12:12 +0000 (16:12 +0000)]
doxygen: add bullet to extern libs, some small changes in page names, and fixes around license blocks

10 years agodisable some conflicting options WITH_PYTHON_MODULE
Campbell Barton [Tue, 22 Feb 2011 14:27:46 +0000 (14:27 +0000)]
disable some conflicting options WITH_PYTHON_MODULE

10 years agoblender as module - workaround for not knowing __file__ when the module is initialized.
Campbell Barton [Tue, 22 Feb 2011 14:19:09 +0000 (14:19 +0000)]
blender as module - workaround for not knowing __file__ when the module is initialized.

10 years agodoxygen: BGE Network, Physics, Rasterizer
Nathan Letwory [Tue, 22 Feb 2011 12:42:55 +0000 (12:42 +0000)]
doxygen: BGE Network, Physics, Rasterizer

10 years agomissing deps for pacman
Campbell Barton [Tue, 22 Feb 2011 12:36:36 +0000 (12:36 +0000)]
missing deps for pacman

10 years agoType in snapshort ;)
Ton Roosendaal [Tue, 22 Feb 2011 12:25:31 +0000 (12:25 +0000)]
Type in snapshort ;)

10 years agofix for uninitialized stack variable in displaying the modifier template.
Campbell Barton [Tue, 22 Feb 2011 12:19:27 +0000 (12:19 +0000)]
fix for uninitialized stack variable in displaying the modifier template.

10 years agoToo many ifdefs made me miss the fact variables were declared inside
Ton Roosendaal [Tue, 22 Feb 2011 12:17:45 +0000 (12:17 +0000)]
Too many ifdefs made me miss the fact variables were declared inside

10 years agoNo idea why this goes wrong, but I can't get preprocessor output with
Ton Roosendaal [Tue, 22 Feb 2011 12:01:57 +0000 (12:01 +0000)]
No idea why this goes wrong, but I can't get preprocessor output with
cmake here.

Somehow in OSX a function call doesn't return but enters a next function.
Will find around if someone else can make an OSX preprocessed version
of this C file. With this commit things go fine, and it's a sane check

10 years agoremove unused code.
Nathan Letwory [Tue, 22 Feb 2011 11:43:50 +0000 (11:43 +0000)]
remove unused code.

10 years agofeature back from 2.4x where a python error moves the cursor to the error line, added...
Campbell Barton [Tue, 22 Feb 2011 11:32:29 +0000 (11:32 +0000)]
feature back from 2.4x where a python error moves the cursor to the error line, added moving to exact column for syntax errors too.

10 years agoFixed crash when sculpting on deformed mesh with smooth brush:
Sergey Sharybin [Tue, 22 Feb 2011 10:56:49 +0000 (10:56 +0000)]
Fixed crash when sculpting on deformed mesh with smooth brush:
vertex iter should be declared inside omp block or it'll be
thread-unsafe otherwise.

10 years agodoxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer...
Nathan Letwory [Tue, 22 Feb 2011 10:33:14 +0000 (10:33 +0000)]
doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji

10 years agoFix for [#26163] New Texture selectors don't update Texture preview
Janne Karhu [Tue, 22 Feb 2011 10:27:32 +0000 (10:27 +0000)]
Fix for [#26163] New Texture selectors don't update Texture preview
* Send texture notifier instead of generic property space notifier when texture context is changed.

10 years agoBug fix: Fluidsim paths were not handled properly
Janne Karhu [Tue, 22 Feb 2011 09:34:43 +0000 (09:34 +0000)]
Bug fix: Fluidsim paths were not handled properly
* Tsk! Using sizeof(string) to determine string length works if the string is a char array, but not if it's a pointer to a char array!
* Now the fluid code uses the actual size of the string directly.

10 years agomissed updating this when modifying addons module.
Campbell Barton [Tue, 22 Feb 2011 09:14:29 +0000 (09:14 +0000)]
missed updating this when modifying addons module.

10 years agolast commit used py3.2 function, inline for py3.1
Campbell Barton [Tue, 22 Feb 2011 08:29:25 +0000 (08:29 +0000)]
last commit used py3.2 function, inline for py3.1

10 years agoSmall fix: reset the NTREE_DO_VERSIONS flag, so new node trees don't get updated...
Lukas Toenne [Tue, 22 Feb 2011 08:22:06 +0000 (08:22 +0000)]
Small fix: reset the NTREE_DO_VERSIONS flag, so new node trees don't get updated in future.

10 years agoFixed missing initialization of node stack entries.
Lukas Toenne [Tue, 22 Feb 2011 07:58:49 +0000 (07:58 +0000)]
Fixed missing initialization of node stack entries.

10 years agopyapi, use direct access to the frame rather then python attributes.
Campbell Barton [Tue, 22 Feb 2011 07:57:18 +0000 (07:57 +0000)]
pyapi, use direct access to the frame rather then python attributes.

10 years agoFixed sloppyness bug, used wrong pointer names when calling lib_nodetree_do_versions_...
Lukas Toenne [Tue, 22 Feb 2011 06:45:47 +0000 (06:45 +0000)]
Fixed sloppyness bug, used wrong pointer names when calling lib_nodetree_do_versions_group.

10 years agocmake was using dna source list with the variable out of scope, possibly causing...
Campbell Barton [Tue, 22 Feb 2011 06:23:07 +0000 (06:23 +0000)]
cmake was using dna source list with the variable out of scope, possibly causing dependency problems.

10 years agopatch from sambler on irc, writes version info for OSX.
Campbell Barton [Tue, 22 Feb 2011 06:05:08 +0000 (06:05 +0000)]
patch from sambler on irc, writes version info for OSX.

10 years agopart of a patch from Dan Eicher with some edits.
Campbell Barton [Tue, 22 Feb 2011 05:49:21 +0000 (05:49 +0000)]
part of a patch from Dan Eicher with some edits.
- clean svn string: 35042:35051M -> 35051
- debian and pacman build with threads by default.

10 years agomake doc generation close files (py3.2 complains about this),
Campbell Barton [Tue, 22 Feb 2011 05:23:20 +0000 (05:23 +0000)]
make doc generation close files (py3.2 complains about this),
minor formatting changes for C docstrings.

10 years agobugfix [#26126] Transparency panel label issue
Campbell Barton [Tue, 22 Feb 2011 05:16:04 +0000 (05:16 +0000)]
bugfix [#26126] Transparency panel label issue

10 years agocorrect example
Campbell Barton [Tue, 22 Feb 2011 04:42:21 +0000 (04:42 +0000)]
correct example

10 years agofix [#26172] Lattice vertice selection by border selection ( shortcut B ) doesn't...
Campbell Barton [Tue, 22 Feb 2011 03:19:58 +0000 (03:19 +0000)]
fix [#26172] Lattice vertice selection by border selection ( shortcut B ) doesn't update vertice number ( in info header )
missing notifier.

10 years agobugfix/workaround [#25629] Add torus with autmatic edit mode duplicates mesh after...
Campbell Barton [Tue, 22 Feb 2011 02:47:59 +0000 (02:47 +0000)]
bugfix/workaround [#25629] Add torus with autmatic edit mode duplicates mesh after >Aling to View.

adding meshes in C does:
 Add Empty Mesh -> Enter Editmode -> Create Mesh

while python does:
 Add Generated Mesh -> Enter Editmode

problem with this is there is no empty undo state for undo-redo to use so it always gave a duplicate mesh on redo-ing.
workaround by adding an empty mesh, do an undo push, and join the generated mesh into the empty one.

this would be fixed if undo stack spanned modes.

10 years agooperator ED_OT_undo_push, needed for editmode undo/redo glitch fix, (coming next).
Campbell Barton [Tue, 22 Feb 2011 02:42:19 +0000 (02:42 +0000)]
operator ED_OT_undo_push, needed for editmode undo/redo glitch fix, (coming next).

10 years agoBugfix #25803 (LibLoad'ed scene objects don't have timer property updated)
Mitchell Stokes [Mon, 21 Feb 2011 23:44:11 +0000 (23:44 +0000)]
Bugfix #25803 (LibLoad'ed scene objects don't have timer property updated)

The KX_Scenes' SCA_TimeEventManagers were not being merged. These handle the timer prop

10 years agoFix for bug #25804 (LibLoad'ed scene objects material CRASH when doing mat.getShader())
Mitchell Stokes [Mon, 21 Feb 2011 23:41:47 +0000 (23:41 +0000)]
Fix for bug #25804 (LibLoad'ed scene objects material CRASH when doing mat.getShader())

X_Material's mScene member variable wasn't properly set on merge if it didn't have an mBlenderShader defined. This patch always makes sure it gets set on merge.

10 years agoEditbone length was still using "normalize()" instead of "normalized()"
Nathan Vegdahl [Mon, 21 Feb 2011 20:26:37 +0000 (20:26 +0000)]
Editbone length was still using "normalize()" instead of "normalized()"
for setting length, which was thus failing and erroring out.

10 years agoAccidentally left in a print for commit 34912
Ton Roosendaal [Mon, 21 Feb 2011 18:18:55 +0000 (18:18 +0000)]
Accidentally left in a print for commit 34912

10 years agoFixed do_versions for node groups which contain nodes that have changed sockets....
Lukas Toenne [Mon, 21 Feb 2011 18:18:37 +0000 (18:18 +0000)]
Fixed do_versions for node groups which contain nodes that have changed sockets. do_versions is running before the lib_verify_nodetree function updates socket lists of nodes. This means that when adding unlinked sockets in do_versions to restore older node groups, the new sockets are not taken into account. To fix this a temporary node tree flag has been introduced, which delays actual group socket do_version until the group tree internal nodes have been updated. After that the unlinked group sockets are exposed (like old node groups did), then the external sockets look up the new index, so that external links to group instances are preserved.

10 years agoBugfix #26116
Ton Roosendaal [Mon, 21 Feb 2011 18:06:52 +0000 (18:06 +0000)]
Bugfix #26116

Node materials with 'ray transparency' set now work again.
Fix provided by Ervin Weber, thanks a lot!

10 years agoFinally got around to fixing priorities, so cleanup in stubs.c can be done. blenderpl...
Nathan Letwory [Mon, 21 Feb 2011 16:41:36 +0000 (16:41 +0000)]
Finally got around to fixing priorities, so cleanup in stubs.c can be done. blenderplayer builds again with cmake.

10 years agopatch [#26146] debian/rules: Avoid unnecessary downloading
Campbell Barton [Mon, 21 Feb 2011 13:59:42 +0000 (13:59 +0000)]
patch [#26146] debian/rules: Avoid unnecessary downloading
--- from the tracker
It's annoying that downloads the source tree to create tarball every time we build a deb package.

fix_debian_rules_avoid_downloading.patch modifies debian/rules so that the tarball will be created from local repository if possible.

10 years agoBig node groups improvement patch. Node group trees now have their own lists of input...
Lukas Toenne [Mon, 21 Feb 2011 13:47:49 +0000 (13:47 +0000)]
Big node groups improvement patch. Node group trees now have their own lists of input/output sockets. Those can be linked to internal nodes just like links between regular nodes. In addition group sockets can be renamed and have a defined order, which can be modified, and they can be removed again.
More details can be found in the patch tracker description (#24883) and on the development blog.

10 years agobuild python module without binreloc, add dummy argv[0] to initialize bprogname.
Campbell Barton [Mon, 21 Feb 2011 13:13:08 +0000 (13:13 +0000)]
build python module without binreloc, add dummy argv[0] to initialize bprogname.

10 years agoAnd the last one. hopefully.
Nathan Letwory [Mon, 21 Feb 2011 13:00:38 +0000 (13:00 +0000)]
And the last one. hopefully.

10 years agoAnd another one.
Nathan Letwory [Mon, 21 Feb 2011 12:58:16 +0000 (12:58 +0000)]
And another one.

10 years agoMissed this in battle against BLO vs MEM storm.
Nathan Letwory [Mon, 21 Feb 2011 12:54:40 +0000 (12:54 +0000)]
Missed this in battle against BLO vs MEM storm.

10 years agoI swear, it was just an innocence change in guardedalloc!
Nathan Letwory [Mon, 21 Feb 2011 12:35:04 +0000 (12:35 +0000)]
I swear, it was just an innocence change in guardedalloc!

The butterfly wing flap, causing a nice storm in the rest of blender.

Now all dependencies should point ok again. CMakers, do double-test.

10 years agoadd includes to cmake files
Campbell Barton [Mon, 21 Feb 2011 12:18:34 +0000 (12:18 +0000)]
add includes to cmake files

10 years agodoxygen: some code shuffle to prevent clashing file names, ensure MEM_guardedalloc...
Nathan Letwory [Mon, 21 Feb 2011 11:38:55 +0000 (11:38 +0000)]
doxygen: some code shuffle to prevent clashing file names, ensure MEM_guardedalloc.h also shows in docs

10 years agoremove BGE's PyObjectPlus.isA method docs, was removed in favor of built-in isinstanc...
Campbell Barton [Mon, 21 Feb 2011 10:15:19 +0000 (10:15 +0000)]
remove BGE's PyObjectPlus.isA method docs, was removed in favor of built-in isinstance(), report [#26080].

10 years agoFix for [#26105] Key mapped Rotate equals crash (Windows/MSVC only)
Janne Karhu [Mon, 21 Feb 2011 09:28:11 +0000 (09:28 +0000)]
Fix for [#26105] Key mapped Rotate equals crash (Windows/MSVC only)
* Transform info text array was too short for all cases, so some characters got written to invalid addresses.

10 years agodoxygen: add guardedalloc and AVI
Nathan Letwory [Mon, 21 Feb 2011 09:23:34 +0000 (09:23 +0000)]
doxygen: add guardedalloc and AVI

10 years agodoxygen: footer template
Nathan Letwory [Mon, 21 Feb 2011 09:09:27 +0000 (09:09 +0000)]
doxygen: footer template

10 years agodoxygen: COLLADA entry
Nathan Letwory [Mon, 21 Feb 2011 08:38:53 +0000 (08:38 +0000)]
doxygen: COLLADA entry

10 years agobetter macro for getting the blender version from BKE_blender.h, also re-run CMake...
Campbell Barton [Mon, 21 Feb 2011 08:31:00 +0000 (08:31 +0000)]
better macro for getting the blender version from BKE_blender.h, also re-run CMake if BKE_blender.h changes.

10 years agofix [#26093] Install Add-On Fails and deletes script
Campbell Barton [Mon, 21 Feb 2011 07:33:59 +0000 (07:33 +0000)]
fix [#26093] Install Add-On Fails and deletes script
problem was on installing a file which was already installed, when the source and target paths match python deleted the file.

now check if the selected file is inside any of the addon search paths and abort with an error.

10 years agodoxygen: editor entry
Nathan Letwory [Mon, 21 Feb 2011 07:25:24 +0000 (07:25 +0000)]
doxygen: editor entry

10 years agomove addon utilities into their own module, these were getting mixed between bpy...
Campbell Barton [Mon, 21 Feb 2011 07:07:44 +0000 (07:07 +0000)]
move addon utilities into their own module, these were getting mixed between bpy.utils and space_userpref.

10 years agodoxygen: entry for gpu, modifiers, nodes, python and render
Nathan Letwory [Mon, 21 Feb 2011 06:58:46 +0000 (06:58 +0000)]
doxygen: entry for gpu, modifiers, nodes, python and render

10 years agofix for cmake with last commit.
Campbell Barton [Mon, 21 Feb 2011 05:28:22 +0000 (05:28 +0000)]
fix for cmake with last commit.

10 years agoMove blender version info into BKE_blender.h so we only have the info in one place...
Campbell Barton [Mon, 21 Feb 2011 04:45:47 +0000 (04:45 +0000)]
Move blender version info into BKE_blender.h so we only have the info in one place and so package building scripts can extract it in a more usable way.
this also means we can have a version string like '2.56a-beta' without using buildinfo.

release/VERSION was only used by scons, NSIS installer.

Possibly helps to fix bug [#26062] too.

10 years agomissed updating this when editing registration,
Campbell Barton [Mon, 21 Feb 2011 02:45:13 +0000 (02:45 +0000)]
missed updating this when editing registration,
netrender wasn't registering its RenderEngine subclass.

10 years agobugfix [#26156] Opening .blend files through OS ignores "Load UI" flag
Campbell Barton [Mon, 21 Feb 2011 02:40:48 +0000 (02:40 +0000)]
bugfix [#26156] Opening .blend files through OS ignores "Load UI" flag

10 years agobugfix [#26118] Getting 'Error Totblock' when using sub-properties from a PointerProperty
Campbell Barton [Mon, 21 Feb 2011 02:07:26 +0000 (02:07 +0000)]
bugfix [#26118] Getting 'Error Totblock' when using sub-properties from a PointerProperty
blender wasnt freeing ID-Properties when freeing the material copy.
Checked that this isnt a problem for other preview types - texture/world/lamp.

10 years agobug [#26089] editbone.transfrom() seems to mess up bone roll (by more than float...
Campbell Barton [Mon, 21 Feb 2011 01:29:35 +0000 (01:29 +0000)]
bug [#26089] editbone.transfrom() seems to mess up bone roll (by more than float precision error)
This is intentional behavior but add options not to transform the bones scale & roll.

10 years agofix [#26152] Blender File for Image too Small
Campbell Barton [Mon, 21 Feb 2011 01:02:30 +0000 (01:02 +0000)]
fix [#26152] Blender File for Image too Small
disallow 0% rendersize.

also mark new cmake vars as advanced: RPMBUILD, X11_XF86keysym_INCLUDE_PATH

10 years agoMake sure we can build without the optional new WITH_PYTHON_MODULE option. Looks...
Nathan Letwory [Mon, 21 Feb 2011 00:45:54 +0000 (00:45 +0000)]
Make sure we can build without the optional new WITH_PYTHON_MODULE option. Looks like a #ifndef was meant around the blender_esc implementation.

10 years agoExperimental option to build blender as a python module, rather then blender embeddin...
Campbell Barton [Sun, 20 Feb 2011 23:39:29 +0000 (23:39 +0000)]
Experimental option to build blender as a python module, rather then blender embedding python.
CMake build option WITH_PYTHON_MODULE, will build ./bin/

This allows 'bpy' to be imported from python or other applications/IDE's which embed python, eg:
   python -c "import bpy ; bpy.ops.render.render(write_still=True)"

This runs in background mode and has similar restrictions to running a script:
   blender --background --python

 - install to site-packages with blender scripts
 - add support for imp.reload()

10 years agoRevert r35003. It was just an extra semicolon
Joshua Leung [Sun, 20 Feb 2011 23:21:15 +0000 (23:21 +0000)]
Revert r35003. It was just an extra semicolon

10 years agoFixed compilation bug in r35002: C90 forbids mixed declarations and code. I've change...
Konrad Kleine [Sun, 20 Feb 2011 22:03:49 +0000 (22:03 +0000)]
Fixed compilation bug in r35002: C90 forbids mixed declarations and code. I've changed the order of variable declarations.

10 years agoBugfixes:
Joshua Leung [Sun, 20 Feb 2011 21:32:21 +0000 (21:32 +0000)]
- Fix for crash with Keying Sets when a Keying Set path has no ID-
block to target
- Info window now indicates the types of the reports shown by
colouring their entries if the entries are not selected.