modify error when python is not found so as not to confuse users who don't build blender.
+ minor edits.
This commit is contained in:
@@ -258,7 +258,7 @@ class VIEW3D_MT_uv_map(bpy.types.Menu):
|
|||||||
layout.separator()
|
layout.separator()
|
||||||
|
|
||||||
layout.operator("uv.reset")
|
layout.operator("uv.reset")
|
||||||
|
|
||||||
|
|
||||||
# ********** View menus **********
|
# ********** View menus **********
|
||||||
|
|
||||||
|
@@ -173,7 +173,7 @@ static void bpy_python_start_path(void)
|
|||||||
if(py_path_bundle==NULL) {
|
if(py_path_bundle==NULL) {
|
||||||
/* Common enough to have bundled *nix python but complain on OSX/Win */
|
/* Common enough to have bundled *nix python but complain on OSX/Win */
|
||||||
#if defined(__APPLE__) || defined(_WIN32)
|
#if defined(__APPLE__) || defined(_WIN32)
|
||||||
fprintf(stderr, "Bundled python is expected on this platform, if blender fails to load build the 'install' target\n");
|
fprintf(stderr, "Warning! bundled python not found and is expected on this platform. (if you built with CMake: 'install' target may have not been built)\n");
|
||||||
#endif
|
#endif
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -1721,7 +1721,7 @@ void wm_event_do_handlers(bContext *C)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(playing == 0) {
|
if(playing == 0) {
|
||||||
int ncfra = sound_sync_scene(scene) * FPS + 0.5;
|
int ncfra = sound_sync_scene(scene) * (float)FPS + 0.5f;
|
||||||
if(ncfra != scene->r.cfra) {
|
if(ncfra != scene->r.cfra) {
|
||||||
scene->r.cfra = ncfra;
|
scene->r.cfra = ncfra;
|
||||||
ED_update_for_newframe(CTX_data_main(C), scene, win->screen, 1);
|
ED_update_for_newframe(CTX_data_main(C), scene, win->screen, 1);
|
||||||
|
Reference in New Issue
Block a user