blender.git
7 years ago- Added options to link staticly against oiio/boost
Sergey Sharybin [Wed, 9 Nov 2011 19:02:42 +0000 (19:02 +0000)]
- Added options to link staticly against oiio/boost
- Also changed buildbot settings so now linking should happe staticly

7 years agoFixes for MinGW cmake debug build:
Antony Riakiotakis [Wed, 9 Nov 2011 18:50:48 +0000 (18:50 +0000)]
Fixes for MinGW cmake debug build:

* OpenEXR doesn't need debug suffix
* Fix libmv template issue when linking by removing duplicate libmv inclusion. I wonder how this never turned up in release builds as well.

Important: Since OpenImageIO went into trunk, OpenEXR, possibly along with other image libraries will need to be turned on too because OIIO depends on them.

7 years agoFix ${} var usage. Was missing BF_OIIO and BF_BOOST init.
Nathan Letwory [Wed, 9 Nov 2011 17:22:55 +0000 (17:22 +0000)]
Fix ${} var usage. Was missing BF_OIIO and BF_BOOST init.

Noticed still missing: OSX file copying (cycles .py files, kernel files, licenses).

7 years agoEnable Cycles for buildbot
Sergey Sharybin [Wed, 9 Nov 2011 17:18:37 +0000 (17:18 +0000)]
Enable Cycles for buildbot

7 years agoFixed/restored translation of node classes (in foreach_nodeclass funcs)
Bastien Montagne [Wed, 9 Nov 2011 15:00:11 +0000 (15:00 +0000)]
Fixed/restored translation of node classes (in foreach_nodeclass funcs)

7 years agoMoving i18n code to BLF_translation.h
Bastien Montagne [Wed, 9 Nov 2011 14:13:17 +0000 (14:13 +0000)]
Moving i18n code to BLF_translation.h

This way, we will be able to use it in non-UI parts of the code too.

7 years agoNo tabs in scons! Sorry for that..
Antony Riakiotakis [Wed, 9 Nov 2011 14:00:24 +0000 (14:00 +0000)]
No tabs in scons! Sorry for that..

7 years agoCycles: mac + scons build should not work.
Brecht Van Lommel [Wed, 9 Nov 2011 11:49:39 +0000 (11:49 +0000)]
Cycles: mac + scons build should not work.

7 years agocorrect comment, no longer needed.
Antony Riakiotakis [Wed, 9 Nov 2011 11:38:04 +0000 (11:38 +0000)]
correct comment, no longer needed.

7 years agoMake scons work MinGW. This commit resolves several issues such as enable OpenEXR...
Antony Riakiotakis [Wed, 9 Nov 2011 11:33:10 +0000 (11:33 +0000)]
Make scons work MinGW. This commit resolves several issues such as enable OpenEXR, Game Engine and Player, enable latest features, and solve link order for gcc. So MinGW is right now fully supported as a build system for release type builds. Debug builds not tested.

7 years agominor: Moved italian and russian translations to "nearly done" menu part.
Bastien Montagne [Wed, 9 Nov 2011 10:04:36 +0000 (10:04 +0000)]
minor: Moved italian and russian translations to "nearly done" menu part.

7 years agoMoving version-patches for theme/userpref setting changes as result of
Joshua Leung [Wed, 9 Nov 2011 03:38:36 +0000 (03:38 +0000)]
Moving version-patches for theme/userpref setting changes as result of
GSoC11-Pepper changes forward to the version patch in place for Cycles +
Tracking.

It turns out that the original version patches introduced for these settings
were being done for the wrong version, and hence did not show in trunk as they
should have (2.59 came out before the branch was merged, so this kindof slipped
under the radar). The affected settings were:
- default handle-type (which was supposed to be "auto-clamped" but was "auto" in
trunk)
- theme settings for these handle colours

7 years agominor: some fixes and tweaks in new messages, found while translating them in french...
Bastien Montagne [Tue, 8 Nov 2011 23:27:31 +0000 (23:27 +0000)]
minor: some fixes and tweaks in new messages, found while translating them in french...

7 years agoCycles: fix light strength mistmatch when clicking "use nodes".
Brecht Van Lommel [Tue, 8 Nov 2011 22:38:10 +0000 (22:38 +0000)]
Cycles: fix light strength mistmatch when clicking "use nodes".

Regarding merge status, there should be no build failures, but cycles may not
be enabled in your build, we are still solving:

* Windows: CUDA kernel compile at runtime is failing, probably will have to
  do precompiled kernel again.
* Mac: scons is not building cycles yet.
* Linux doesn't have boost + openimageio libs available in lib/ yet, so it
  requires manual install of those libs still.

7 years agoCycles:
Thomas Dinges [Tue, 8 Nov 2011 21:46:31 +0000 (21:46 +0000)]
Cycles:
* Scons: Disable Cycles per default on Linux/Mac for now until compile issues have been sorted out.

7 years agoCycles: cmake tweaks for linux build, instructions on the wiki no longer worked.
Brecht Van Lommel [Tue, 8 Nov 2011 21:40:08 +0000 (21:40 +0000)]
Cycles: cmake tweaks for linux build, instructions on the wiki no longer worked.

7 years agoScons:
Thomas Dinges [Tue, 8 Nov 2011 21:17:42 +0000 (21:17 +0000)]
Scons:
* Fixing x64 compile with Cycles.

7 years agoBuild system fixes:
Thomas Dinges [Tue, 8 Nov 2011 20:56:55 +0000 (20:56 +0000)]
Build system fixes:
* Fixed Boost libs names after upgrade to 1.47
* Remove old reference to space_sound from cmake.

7 years agoAdd compiles support for Cycles.
Nathan Letwory [Tue, 8 Nov 2011 20:40:02 +0000 (20:40 +0000)]
Add compiles support for Cycles.

No CUDA compiling yet, will be added later.

7 years agoedits to cycles cmake files so cmake_consistency_check.py can parse them.
Campbell Barton [Tue, 8 Nov 2011 20:27:37 +0000 (20:27 +0000)]
edits to cycles cmake files so cmake_consistency_check.py can parse them.

7 years agodon't overwrite existing CMAKE_CXX_FLAGS for cycles (they may be important)
Campbell Barton [Tue, 8 Nov 2011 19:08:56 +0000 (19:08 +0000)]
don't overwrite existing CMAKE_CXX_FLAGS for cycles (they may be important)

7 years agoRemove redundant .remove()
Nathan Letwory [Tue, 8 Nov 2011 19:04:19 +0000 (19:04 +0000)]
Remove redundant .remove()

7 years agoFix GLEW linking error on MinGW.
Antony Riakiotakis [Tue, 8 Nov 2011 18:58:29 +0000 (18:58 +0000)]
Fix GLEW linking error on MinGW.
The __imp__ prefix on glew lib linking errors should have been a good indication: the code was looking for the glew dll.
Bypassed by adding GLEW_STATIC to the definitions.

7 years agoCycles: fix crash loading existing files, forgot to merge over this line.
Brecht Van Lommel [Tue, 8 Nov 2011 18:49:12 +0000 (18:49 +0000)]
Cycles: fix crash loading existing files, forgot to merge over this line.

7 years agoquiet warning
Campbell Barton [Tue, 8 Nov 2011 18:23:23 +0000 (18:23 +0000)]
quiet warning

7 years agostop cmake from overwriting BOOST_ROOT and OPENIMAGEIO_ROOT_DIR which the builder...
Campbell Barton [Tue, 8 Nov 2011 18:15:53 +0000 (18:15 +0000)]
stop cmake from overwriting BOOST_ROOT and OPENIMAGEIO_ROOT_DIR which the builder is supposed to be able to set.

7 years agoCycles Merge:
Brecht Van Lommel [Tue, 8 Nov 2011 17:53:49 +0000 (17:53 +0000)]
Cycles Merge:
* It seems we have a problem compiling the CUDA kernel at runtime on Windows,
  will need to investigate more how to solve this best, CPU render should go
  fine though.
* Change OPENIMAGEIO to OPENIMAGEIO_ROOT_DIR on linux for consistency.

7 years agoUpdate MinGW to use correct lib location for boost
Antony Riakiotakis [Tue, 8 Nov 2011 17:19:14 +0000 (17:19 +0000)]
Update MinGW to use correct lib location for boost

7 years agoCycles Merge
Brecht Van Lommel [Tue, 8 Nov 2011 17:00:40 +0000 (17:00 +0000)]
Cycles Merge

Documentation:
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles

Cycles is available is an extra render engine from the top header. It's not
feature complete, consider this as a first preview release. Known bugs:
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/KnownIssues

Building currently only works with CMake, SCons support is being worked on
and should be available soon.

Also missing still is precompiled OpenImageIO and Boost for Linux, these will
be added later in lib/linux*, if you do not have these installed on your
system, Cycles will simply not be available.

7 years ago- operator presets now work in the 3D view as well as the file selector.
Campbell Barton [Tue, 8 Nov 2011 16:59:06 +0000 (16:59 +0000)]
- operator presets now work in the 3D view as well as the file selector.

to enable from python:
  bl_options = {'REGISTER', 'UNDO', 'PRESET'}

from C:
  ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO|OPTYPE_PRESET;

- added context member 'active_operator'
- enable this for 'Add Torus' for testing.

7 years agoFix compile after audaspace file source.remove..
Jens Verwiebe [Tue, 8 Nov 2011 16:53:59 +0000 (16:53 +0000)]
Fix compile after audaspace file source.remove..

7 years agoDon't compile AUD_JOSResampleReaderCoeff.cpp twice (it's included in AUD_JOSResampleR...
Sergey Sharybin [Tue, 8 Nov 2011 16:24:31 +0000 (16:24 +0000)]
Don't compile AUD_JOSResampleReaderCoeff.cpp twice (it's included in AUD_JOSResampleReader.cpp)

Patch from nico_ga, thanks!

7 years agoFix #29201: movie clip editor - right click crashes blender
Sergey Sharybin [Tue, 8 Nov 2011 16:09:20 +0000 (16:09 +0000)]
Fix #29201: movie clip editor - right click crashes blender

Just another not very smart check for "boundary" case of usecase.

7 years ago*Correct syntax for static, since we invoke g++ as linker and we have to pass it...
Antony Riakiotakis [Tue, 8 Nov 2011 16:03:28 +0000 (16:03 +0000)]
*Correct syntax for static, since we invoke g++ as linker and we have to pass it to ld.
*CMakefile: Update boost and OpenImageIO libraries for MinGW like in the cycles branch

7 years agoCorrect syntax for static, since we invoke g++ as linker and we have to pass it to ld cycles
Antony Riakiotakis [Tue, 8 Nov 2011 16:02:34 +0000 (16:02 +0000)]
Correct syntax for static, since we invoke g++ as linker and we have to pass it to ld

7 years agoFix #29198: Problem with text interface when you enable the International fonts
Sergey Sharybin [Tue, 8 Nov 2011 15:12:41 +0000 (15:12 +0000)]
Fix #29198: Problem with text interface when you enable the International fonts

Not sure why, but doing the same things as in script from FontForge UI, there's
no issues described in report. Probably matter of some default settings.
Hope it works now fine for everyone.

7 years ago- disable undo for user preferences (every click would do push an undo), was noticeab...
Campbell Barton [Tue, 8 Nov 2011 15:11:27 +0000 (15:11 +0000)]
- disable undo for user preferences (every click would do push an undo), was noticeable on large files.
- also netbeans project file generator now uses branch name for project.

7 years agoCycles now uses correct libs on MinGW
Antony Riakiotakis [Tue, 8 Nov 2011 14:47:03 +0000 (14:47 +0000)]
Cycles now uses correct libs on MinGW

7 years agoCycles:
Brecht Van Lommel [Tue, 8 Nov 2011 14:10:33 +0000 (14:10 +0000)]
Cycles:
* Disable precompiled cuda binaries, always do at run time
* Change preview samples default to 10
* Hide volume panels since they don't do anything yet

7 years agoAttempt to fix #29200: Camera Tracking Solver
Sergey Sharybin [Tue, 8 Nov 2011 14:03:16 +0000 (14:03 +0000)]
Attempt to fix #29200: Camera Tracking Solver

It was an mistake in join tracks operator which lead to reading unitialized memory.

7 years agoTexturing: texture and 3d view draw type changes, these should only have any
Brecht Van Lommel [Tue, 8 Nov 2011 13:07:16 +0000 (13:07 +0000)]
Texturing: texture and 3d view draw type changes, these should only have any
effect for a render engine using new shading nodes. In short:

* No longer uses images assigned to faces in the uv layer, rather the active
  image texture node is what is edited/painted/drawn.
* Textured draw type now shows the active image texture node, with solid
  lighting.
* Material draw mode shows GLSL shader of a simplified material node tree,
  using solid lighting.
* Textures for modifiers, brushes, etc, are now available from a dropdown in
  the texture tab in the properties editor. These do not use new shading nodes
  yet.

http://wiki.blender.org/index.php/Dev:2.6/Source/Render/TextureWorkflow

7 years agoFix for last fix, guess this compiled ok because it's interpreted as a goto label.
Brecht Van Lommel [Tue, 8 Nov 2011 12:58:03 +0000 (12:58 +0000)]
Fix for last fix, guess this compiled ok because it's interpreted as a goto label.

7 years agoFix an issue with uninitialized memory
Jens Verwiebe [Tue, 8 Nov 2011 12:44:57 +0000 (12:44 +0000)]
Fix an issue with uninitialized memory

7 years agoCycles: svn merge -r41627:41650 ^/trunk/blender
Brecht Van Lommel [Tue, 8 Nov 2011 12:33:17 +0000 (12:33 +0000)]
Cycles: svn merge -r41627:41650 ^/trunk/blender

7 years agoNodes: add cycles shader nodes, these will only be available to render engines
Brecht Van Lommel [Tue, 8 Nov 2011 11:38:16 +0000 (11:38 +0000)]
Nodes: add cycles shader nodes, these will only be available to render engines
that use the new shading nodes system. Documentation:

http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes

7 years agoCode cleanup: fix compile warning.
Brecht Van Lommel [Tue, 8 Nov 2011 11:15:40 +0000 (11:15 +0000)]
Code cleanup: fix compile warning.

7 years agoFix: incorrect use of IFACE_ macro, and correct a typo.
Brecht Van Lommel [Tue, 8 Nov 2011 11:02:57 +0000 (11:02 +0000)]
Fix: incorrect use of IFACE_ macro, and correct a typo.

7 years ago- Fixed typo in KLT description tooltip
Sergey Sharybin [Tue, 8 Nov 2011 10:17:50 +0000 (10:17 +0000)]
- Fixed typo in KLT description tooltip
- Fixed inconsistent data type used for pts number in ffmpeg_fetchibuf
  and stored in timecode structure. Not really issue for "correct" movie files,
  but probably can help for "broken" one

7 years agoFix a typo in building undistorted proxies for movie clips.
Sergey Sharybin [Tue, 8 Nov 2011 09:34:43 +0000 (09:34 +0000)]
Fix a typo in building undistorted proxies for movie clips.

Thanks Campbell to point on this issue.

7 years agouse some more logical BLI math functions & tracking used INT_MAX on a short.
Campbell Barton [Tue, 8 Nov 2011 09:02:47 +0000 (09:02 +0000)]
use some more logical BLI math functions & tracking used INT_MAX on a short.

7 years agoCode cleanup and small fixes:
Sergey Sharybin [Tue, 8 Nov 2011 06:11:23 +0000 (06:11 +0000)]
Code cleanup and small fixes:

- Assume all areas are using valid MovieClipUser when using functions from movieclip.c
- Set active scene clip to movie-related nodes in compositor rather than checking
  if there's only one clip in datablocks
- Fixed users count issue when solving camera motion

7 years agoTracker:
Thomas Dinges [Tue, 8 Nov 2011 06:10:04 +0000 (06:10 +0000)]
Tracker:
* Typo fixes for space_clip.py, patch by Mike S on the mailing list.

7 years agoCode cleanup - reshuffling some stuff to avoid buildup of long functions in transform...
Joshua Leung [Tue, 8 Nov 2011 06:09:16 +0000 (06:09 +0000)]
Code cleanup - reshuffling some stuff to avoid buildup of long functions in transform code again

7 years agocmake & pep8 tidy up, also some style edits.
Campbell Barton [Tue, 8 Nov 2011 01:32:34 +0000 (01:32 +0000)]
cmake & pep8 tidy up, also some style edits.

remove unneeded collection length function.

7 years agoSVN maintenance.
Guillermo S. Romero [Mon, 7 Nov 2011 23:50:12 +0000 (23:50 +0000)]
SVN maintenance.

7 years agoUI/Nodes: templates to edit nodes from the properties editor using a tree view,
Brecht Van Lommel [Mon, 7 Nov 2011 22:28:49 +0000 (22:28 +0000)]
UI/Nodes: templates to edit nodes from the properties editor using a tree view,
to be used by cycles. For testing there's a panel in the node editor if you set
debug to 777, didn't enable it because I'm not sure it's very useful there.

7 years agoNodes: add foreach_nodeclass iterator over node classes, use for node add menu.
Brecht Van Lommel [Mon, 7 Nov 2011 22:14:48 +0000 (22:14 +0000)]
Nodes: add foreach_nodeclass iterator over node classes, use for node add menu.

7 years agoFix [#29194] Spelling error
Bastien Montagne [Mon, 7 Nov 2011 19:25:13 +0000 (19:25 +0000)]
Fix [#29194] Spelling error
(yes sir, it is a bugfix :P ).

7 years agoHopefully compilation with MinGW will work again.
Sergey Sharybin [Mon, 7 Nov 2011 18:14:50 +0000 (18:14 +0000)]
Hopefully compilation with MinGW will work again.
Tested with official MinGW and SCons, not sure how ti check it when using CMake.

7 years agoTextures/Shaders: extend TexMapping to include projection options, and add a
Brecht Van Lommel [Mon, 7 Nov 2011 17:35:20 +0000 (17:35 +0000)]
Textures/Shaders: extend TexMapping to include projection options, and add a
ColorMapping struct for color manipulation of textures. These will be the
standard built-in texture node options for manipulating the incoming texture
coordinate and outgoing color.

7 years agoNodes: add socket option to hide the default value in the UI, to be used for
Brecht Van Lommel [Mon, 7 Nov 2011 17:30:52 +0000 (17:30 +0000)]
Nodes: add socket option to hide the default value in the UI, to be used for
sockets that get their default value if no node is connected from elsewhere,
e.g. a texture coordinate.

7 years agoCycles: svn merge -r41613:41627 ^/trunk/blender
Brecht Van Lommel [Mon, 7 Nov 2011 17:13:32 +0000 (17:13 +0000)]
Cycles: svn merge -r41613:41627 ^/trunk/blender

7 years agoRevert fix for #29146, needs deeper changes to solve this fully.
Brecht Van Lommel [Mon, 7 Nov 2011 17:07:54 +0000 (17:07 +0000)]
Revert fix for #29146, needs deeper changes to solve this fully.

7 years agoRNA:
Brecht Van Lommel [Mon, 7 Nov 2011 16:26:53 +0000 (16:26 +0000)]
RNA:
* Expose 3D view camera zoom and offset, needed if you want to precisely
  reconstruct camera parameters.
* Rename SpaceFileBrowser.operator to active_operator, to avoid conflict
  with c++ keyword.

7 years agoquiet warnings when building without libmv
Campbell Barton [Mon, 7 Nov 2011 16:26:23 +0000 (16:26 +0000)]
quiet warnings when building without libmv

7 years agofix for error in own recent commit.
Campbell Barton [Mon, 7 Nov 2011 15:57:52 +0000 (15:57 +0000)]
fix for error in own recent commit.

7 years agouse macro for access to library filepath
Campbell Barton [Mon, 7 Nov 2011 15:55:03 +0000 (15:55 +0000)]
use macro for access to library filepath

7 years agoCMake: add delayed_install macro to specify files to be installed from modules
Brecht Van Lommel [Mon, 7 Nov 2011 15:53:40 +0000 (15:53 +0000)]
CMake: add delayed_install macro to specify files to be installed from modules
other than source/creator.

7 years agoCMake: Boost and OpenImageIO building support (unused still).
Brecht Van Lommel [Mon, 7 Nov 2011 15:44:09 +0000 (15:44 +0000)]
CMake: Boost and OpenImageIO building support (unused still).

7 years agofix for error using freed memory
Campbell Barton [Mon, 7 Nov 2011 15:41:20 +0000 (15:41 +0000)]
fix for error using freed memory

7 years agoSome small fixed for camera tracking:
Sergey Sharybin [Mon, 7 Nov 2011 15:32:32 +0000 (15:32 +0000)]
Some small fixed for camera tracking:

- Lock to selection and center to selection will now work fine with undistorted rendering
- Do not display pyramid for disabled tracks
- Corrected fix for wrong correlation_min property name

7 years agoCycles: svn merge -r41531:41613 ^/trunk/blender
Brecht Van Lommel [Mon, 7 Nov 2011 15:23:08 +0000 (15:23 +0000)]
Cycles: svn merge -r41531:41613 ^/trunk/blender

7 years agominor warning nicer api use
Campbell Barton [Mon, 7 Nov 2011 15:19:26 +0000 (15:19 +0000)]
minor warning nicer api use

7 years agoTracker/Movie Clip Editor:
Thomas Dinges [Mon, 7 Nov 2011 15:19:13 +0000 (15:19 +0000)]
Tracker/Movie Clip Editor:
* Fix property not showing up: correlation_min, was actually called minimum_correlation in RNA.

7 years ago2.6 UI:
Thomas Dinges [Mon, 7 Nov 2011 14:34:56 +0000 (14:34 +0000)]
2.6 UI:
* Minor tweaks after tomato merge, rest of Tomato UI code is excellent. :)

7 years agoBugfix [#29064] armature with curve contraint - crash
Joshua Leung [Mon, 7 Nov 2011 13:25:17 +0000 (13:25 +0000)]
Bugfix [#29064] armature with curve contraint - crash

Spline IK and Auto-IK working together on the same bone chain could
crash due to the somewhat hacky way that they were sharing the same
list for the "iktree" forest. Resolved by doing what I should have
done from the beginning, and made Spline-IK save its ik chains off
into a separate list.

While this fixes the crash, it might be worth investigating outright
disabling this from working in this case, since it can be a bit
confusing to have it appear to not work.

7 years agoCamera tracking integration
Sergey Sharybin [Mon, 7 Nov 2011 12:56:05 +0000 (12:56 +0000)]
Camera tracking integration
===========================

Rest of changes from camera tracking gsoc project.

This commit includes:

- New compositor nodes:
  * Movie Clip input node
  * Movie Undistortion node
  * Transformation node
  * 2D stabilization node

- Slight changes in existing node to prevent code duplication

7 years agoCamera tracking integration
Sergey Sharybin [Mon, 7 Nov 2011 12:55:18 +0000 (12:55 +0000)]
Camera tracking integration
===========================

Commiting camera tracking integration gsoc project into trunk.

This commit includes:

- Bundled version of libmv library (with some changes against official repo,
  re-sync with libmv repo a bit later)
- New datatype ID called MovieClip which is optimized to work with movie
  clips (both of movie files and image sequences) and doing camera/motion
  tracking operations.
- New editor called Clip Editor which is currently used for motion/tracking
  stuff only, but which can be easily extended to work with masks too.

  This editor supports:
  * Loading movie files/image sequences
  * Build proxies with different size for loaded movie clip, also supports
    building undistorted proxies to increase speed of playback in
    undistorted mode.
  * Manual lens distortion mode calibration using grid and grease pencil
  * Supervised 2D tracking using two different algorithms KLT and SAD.
  * Basic algorithm for feature detection
  * Camera motion solving. scene orientation

- New constraints to "link" scene objects with solved motions from clip:

  * Follow Track (make object follow 2D motion of track with given name
    or parent object to reconstructed 3D position of track)
  * Camera Solver to make camera moving in the same way as reconstructed camera

This commit NOT includes changes from tomato branch:

- New nodes (they'll be commited as separated patch)
- Automatic image offset guessing for image input node and image editor
  (need to do more tests and gather more feedback)
- Code cleanup in libmv-capi. It's not so critical cleanup, just increasing
  readability and understanadability of code. Better to make this chaneg when
  Keir will finish his current patch.

More details about this project can be found on this page:
    http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2011

Further development of small features would be done in trunk, bigger/experimental
features would first be implemented in tomato branch.

7 years agoRemoving a wrong node_type_storage (checked and confirmed by lukas_t).
Bastien Montagne [Mon, 7 Nov 2011 09:33:49 +0000 (09:33 +0000)]
Removing a wrong node_type_storage (checked and confirmed by lukas_t).

7 years agoFix #29174: Vertex normals temporarily incorrect after deleting a face
Sergey Sharybin [Mon, 7 Nov 2011 07:16:30 +0000 (07:16 +0000)]
Fix #29174: Vertex normals temporarily incorrect after deleting a face

Looks like it was just missed recalc_editnoormals call in Delete Mesh operator.

7 years agofix [#29183] Make duplicates real: parent informations of the group is not copied
Campbell Barton [Mon, 7 Nov 2011 05:28:26 +0000 (05:28 +0000)]
fix [#29183] Make duplicates real: parent informations of the group is not copied

infact this is a feature request but we had reports about it before and its useful to have.

2 new options for OBJECT_OT_duplicates_make_real
- parent to original duplicator
- keep internal hierarchy

7 years agominor edits
Campbell Barton [Mon, 7 Nov 2011 04:36:37 +0000 (04:36 +0000)]
minor edits
- remove unneeded type check from convert grease pencil operator.
- correct some error prints & use __func__.
- make copy_libblock take an ID* argument rather than void*.

7 years agoreplace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy functions...
Campbell Barton [Mon, 7 Nov 2011 01:38:32 +0000 (01:38 +0000)]
replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy functions for int & char.

7 years agoCycles: procedural texture nodes reorganization. This will break existing files
Brecht Van Lommel [Sun, 6 Nov 2011 21:05:58 +0000 (21:05 +0000)]
Cycles: procedural texture nodes reorganization. This will break existing files
using them, but rather do it now that I have the chance still. Highlights:

* Wood and Marble merged into a single Wave texture
* Clouds + Distorted Noise merged into new Noise node
* Blend renamed to Gradient
* Stucci removed, was mostly useful for old bump
* Noise removed, will come back later, didn't actually work yet
* Depth setting is now Detail socket, which accepts float values
* Scale socket instead of Size socket

http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Textures

7 years agomore macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.
Campbell Barton [Sun, 6 Nov 2011 16:38:21 +0000 (16:38 +0000)]
more macro --> BLI math lib, mainly replace VECCOPY in render and blenkernel.

7 years agoreplace macros for bli math functions in editors
Campbell Barton [Sun, 6 Nov 2011 16:34:44 +0000 (16:34 +0000)]
replace macros for bli math functions in editors

7 years agoreplace macros with bli math functions for nodes
Campbell Barton [Sun, 6 Nov 2011 16:23:28 +0000 (16:23 +0000)]
replace macros with bli math functions for nodes

7 years agoFix for bug #29046, the factor buffer input was not used correctly in curve nodes.
Lukas Toenne [Sun, 6 Nov 2011 15:40:00 +0000 (15:40 +0000)]
Fix for bug #29046, the factor buffer input was not used correctly in curve nodes.

Curve Map exec function (for RGB curves) used a broken test condition for constant factor=1.0f eval. This must take the factor buffer into account, checking the factor vec for default value is not sufficient. These kinds of test should use a function interface, there are probably a lot more bugs like this hidden in the code.

7 years agomore macro --> bli math lib replacements.
Campbell Barton [Sun, 6 Nov 2011 15:39:20 +0000 (15:39 +0000)]
more macro --> bli math lib replacements.

7 years agomisc macro --> bli math lib functions
Campbell Barton [Sun, 6 Nov 2011 15:17:43 +0000 (15:17 +0000)]
misc macro --> bli math lib functions

7 years agoreplace macros with math functions for render code
Campbell Barton [Sun, 6 Nov 2011 14:36:37 +0000 (14:36 +0000)]
replace macros with math functions for render code

7 years agoCycles:
Thomas Dinges [Sun, 6 Nov 2011 14:09:08 +0000 (14:09 +0000)]
Cycles:
Use new libs on win32/64. Make sure you update lib/windows or lib/win64.

7 years agoreplace macros with bli math functions for particles code
Campbell Barton [Sun, 6 Nov 2011 14:00:55 +0000 (14:00 +0000)]
replace macros with bli math functions for particles code

7 years agoSecond attempt at getting rid of bsystem_time()
Joshua Leung [Sun, 6 Nov 2011 12:12:14 +0000 (12:12 +0000)]
Second attempt at getting rid of bsystem_time()

Hopefully this fixes Collada. Can't really compile that to check
here...

7 years agouse BLI math functions for kdopbvh (no functional change)
Campbell Barton [Sun, 6 Nov 2011 12:11:50 +0000 (12:11 +0000)]
use BLI math functions for kdopbvh (no functional change)

7 years agoSplit off 3D Cursor settings from "View" panel in 3D View
Joshua Leung [Sun, 6 Nov 2011 06:19:00 +0000 (06:19 +0000)]
Split off 3D Cursor settings from "View" panel in 3D View

This means that you don't need to have the view panel open all the
time, reducing the amount of scrolling required just to be able to
precisely position the 3D cursor at specific coordinates while
changing some other settings. While most of the settings in the View
panel are less likely to be frequently changed, the 3D cursor can in
some workflows end up needing to be accessed quite frequently.

7 years agoRemoved old "bsystem_time()" function, which by now is just a
Joshua Leung [Sun, 6 Nov 2011 06:08:18 +0000 (06:08 +0000)]
Removed old "bsystem_time()" function, which by now is just a
duplicate of BKE_curframe() which just takes two extra args.

For the few calls in the physics engine where CFRA+1 instead of CFRA
was being used, I've added a new BKE_nextframe() call, which will
calculate for CFRA+1 instead of CFRA in much the same way that
bsystem_time() would end up doing things (which means including
subframe steps).

7 years agoAs discussed on the mailing list, removing the non-functional,
Joshua Leung [Sun, 6 Nov 2011 05:46:45 +0000 (05:46 +0000)]
As discussed on the mailing list, removing the non-functional,
incompatible, and unmaintainable Time Offset cruft.

- Slow Parenting lives another day (just), although it now carries
appropriate cautionary disclaimers. It's only really for the Game
Engine nowadays, as that's the only place where it can possibly work
with any reliability.
- "Animation Hacks" panel is now "Relations Extras". I could've merged
the two panels, though I figured these options weren't that frequently
used to justify taking up screen-space by default along with the panel

7 years agoPyUnicode_From_STR_String utility function which passes STR_String to PyUnicode_FromS...
Campbell Barton [Sun, 6 Nov 2011 01:39:36 +0000 (01:39 +0000)]
PyUnicode_From_STR_String utility function which passes STR_String to PyUnicode_FromStringAndSize (saves a call to strlen).

Also made CValue::ConvertKeysToPython use faster list creation and improved some of the macro formatting.

7 years agoremove po/ since the workflow for translations uses branches which isnt that useful...
Campbell Barton [Sat, 5 Nov 2011 14:26:18 +0000 (14:26 +0000)]
remove po/ since the workflow for translations uses branches which isnt that useful to have within blenders source dir.

For now treat translations as binary files - just access from 'release/datafiles/locale'